From c8b0baf0f0d9e4df502a6481559f162497cf3e2d Mon Sep 17 00:00:00 2001 From: Mihail Stoykov Date: Mon, 16 Dec 2024 12:37:10 +0200 Subject: [PATCH] fixup! browser: disable even more tests --- js/modules/k6/browser/tests/locator_test.go | 4 ++++ js/modules/k6/browser/tests/page_test.go | 3 +++ 2 files changed, 7 insertions(+) diff --git a/js/modules/k6/browser/tests/locator_test.go b/js/modules/k6/browser/tests/locator_test.go index 168976a204b1..4ee0c04c800a 100644 --- a/js/modules/k6/browser/tests/locator_test.go +++ b/js/modules/k6/browser/tests/locator_test.go @@ -1,6 +1,7 @@ package tests import ( + "runtime" "testing" "time" @@ -26,6 +27,9 @@ type jsFrameWaitForSelectorOpts struct { func TestLocator(t *testing.T) { t.Parallel() + if runtime.GOOS == "windows" { + t.Skip() + } tests := []struct { name string diff --git a/js/modules/k6/browser/tests/page_test.go b/js/modules/k6/browser/tests/page_test.go index 8b2b5d877961..6d1df286d5c8 100644 --- a/js/modules/k6/browser/tests/page_test.go +++ b/js/modules/k6/browser/tests/page_test.go @@ -1424,6 +1424,9 @@ func TestPageWaitForSelector(t *testing.T) { func TestPageThrottleNetwork(t *testing.T) { t.Parallel() + if runtime.GOOS == "windows" { + t.Skip() // windows timeouts + } testCases := []struct { name string