diff --git a/js/modules/k6/browser/tests/page_test.go b/js/modules/k6/browser/tests/page_test.go
index aa6ebc342f40..8b2b5d877961 100644
--- a/js/modules/k6/browser/tests/page_test.go
+++ b/js/modules/k6/browser/tests/page_test.go
@@ -10,6 +10,7 @@ import (
"net/http"
"net/http/httptest"
"os"
+ "runtime"
"strconv"
"sync/atomic"
"testing"
@@ -39,6 +40,9 @@ const sampleHTML = `
`
func TestNestedFrames(t *testing.T) {
t.Parallel()
+ if runtime.GOOS == "windows" {
+ t.Skip("windows take forever to do this test")
+ }
tb := newTestBrowser(t,
withFileServer(),
@@ -335,6 +339,9 @@ func TestPageGotoDataURI(t *testing.T) {
func TestPageGotoWaitUntilLoad(t *testing.T) {
t.Parallel()
+ if runtime.GOOS == "windows" {
+ t.Skip() // no idea but it doesn't work
+ }
b := newTestBrowser(t, withFileServer())
p := b.NewPage(nil)
@@ -1526,6 +1533,9 @@ func TestPageThrottleNetwork(t *testing.T) {
func TestPageThrottleCPU(t *testing.T) {
t.Parallel()
+ if runtime.GOOS == "windows" {
+ t.Skip() // windows timeouts
+ }
tb := newTestBrowser(t, withFileServer())
tb.withHandler("/ping", func(w http.ResponseWriter, req *http.Request) {
@@ -2135,7 +2145,7 @@ func TestPageOnMetric(t *testing.T) {
const page = await browser.newPage()
%s
-
+
await page.goto('%s', {waitUntil: 'networkidle'});
await page.close()
diff --git a/js/modules/k6/browser/tests/webvital_test.go b/js/modules/k6/browser/tests/webvital_test.go
index 08bb63e03a1d..319751642e37 100644
--- a/js/modules/k6/browser/tests/webvital_test.go
+++ b/js/modules/k6/browser/tests/webvital_test.go
@@ -2,6 +2,7 @@ package tests
import (
"context"
+ "runtime"
"testing"
"time"
@@ -18,7 +19,9 @@ import (
// a web page.
func TestWebVitalMetric(t *testing.T) {
t.Parallel()
-
+ if runtime.GOOS == "windows" {
+ t.Skip("timeouts on windows")
+ }
var (
samples = make(chan k6metrics.SampleContainer)
browser = newTestBrowser(t, withFileServer(), withSamples(samples))