Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Jun 24, 2024
1 parent eed341a commit eb1144b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions project/test/src/liveServer.test.scala
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ trait PlaywrightTest extends CatsEffectSuite:
IO.sleep(3.seconds) >>
IO(page.navigate(s"http://localhost:$port")) >>
IO(assertThat(page.locator("h1")).containsText("HelloWorld", increaseTimeout)) >>
// IO.blocking(os.write.over(testDir / "hello.scala", helloWorldCode("Bye"))) >>
// IO(assertThat(page.locator("h1")).containsText("ByeWorld", increaseTimeout)) >>
// IO.blocking(os.write.append(styleDir(testDir) / "index.less", "h1 { color: red; }")) >>
// IO(assertThat(page.locator("h1")).hasCSS("color", "rgb(255, 0, 0)"))
// IO.blocking(os.write.over(testDir / "hello.scala", helloWorldCode("Bye"))) >>
// IO(assertThat(page.locator("h1")).containsText("ByeWorld", increaseTimeout)) >>
// IO.blocking(os.write.append(styleDir(testDir) / "index.less", "h1 { color: red; }")) >>
// IO(assertThat(page.locator("h1")).hasCSS("color", "rgb(255, 0, 0)"))
}

ResourceFunFixture {
Expand Down

0 comments on commit eb1144b

Please sign in to comment.