File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import com.microsoft.playwright.assertions.PlaywrightAssertions.assertThat
1010
1111import cats .effect .IO
1212import cats .effect .unsafe .implicits .global
13- import com .microsoft .playwright .Locator .WaitForOptions
1413import com .microsoft .playwright .assertions .LocatorAssertions .ContainsTextOptions
1514
1615/*
@@ -78,7 +77,7 @@ class PlaywrightTest extends munit.FunSuite:
7877 )
7978 .unsafeToFuture()
8079
81- Thread .sleep(500 )
80+ Thread .sleep(1500 )
8281 val increaseTimeout = ContainsTextOptions ()
8382 increaseTimeout.setTimeout(30000 )
8483
@@ -114,7 +113,7 @@ class PlaywrightTest extends munit.FunSuite:
114113 )
115114 .unsafeToFuture()
116115
117- Thread .sleep(4000 ) // give the thing time to start.
116+ Thread .sleep(1000 ) // give the thing time to start.
118117
119118 val out = requests.get(s " http://localhost: $thisTestPort/api/hello " , check = false )
120119 assertEquals(out.statusCode, 404 )
@@ -161,7 +160,7 @@ class PlaywrightTest extends munit.FunSuite:
161160 )
162161 .unsafeToFuture()
163162
164- Thread .sleep(4000 ) // give the thing time to start.
163+ Thread .sleep(1000 ) // give the thing time to start.
165164
166165 val out = requests.get(s " http://localhost: $thisTestPort/api/hello " , check = false )
167166 assertEquals(out.statusCode, 200 )
You can’t perform that action at this time.
0 commit comments