Skip to content

Commit

Permalink
Use a static test website to test navigation (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
arut-ji authored Mar 2, 2024
1 parent ab7cd9e commit 6c331e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/scala/zio/selenium/NavigateSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ object NavigateSpec extends SharedWebDriverSpec {
test("Navigate can go back") {
for {
_ <- WebDriver.get(trueWebsite)
_ <- WebDriver.get("https://duckduckgo.com/")
_ <- WebDriver.get(testWebsite)
_ <- WebDriver.Navigate.back
url <- WebDriver.getCurrentUrl
} yield assertTrue(url == trueWebsite)
Expand Down

0 comments on commit 6c331e9

Please sign in to comment.