Skip to content

Commit

Permalink
Use Wikipedia page instead of Google in feature tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bartblast committed Nov 1, 2024
1 parent 43d08dd commit 3d4eaf0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/features/test/navigation_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ defmodule HologramFeatureTests.NavigationTest do
|> visit(Page1)
|> click(button("Put page 1 result A"))
|> assert_text("Page 1 result A")
|> visit("https://www.google.com/")
|> assert_text("Google")
|> visit("https://www.wikipedia.org/")
|> assert_text("Wikipedia")
|> go_back()
|> assert_page(Page1)
|> assert_text("Page 1 title")
Expand Down Expand Up @@ -107,13 +107,13 @@ defmodule HologramFeatureTests.NavigationTest do

feature "go forward to Hologram page (from non-Hologram page)", %{session: session} do
session
|> visit("https://www.google.com/")
|> assert_text("Google")
|> visit("https://www.wikipedia.org/")
|> assert_text("Wikipedia")
|> visit(Page1)
|> click(button("Put page 1 result A"))
|> assert_text("Page 1 result A")
|> go_back()
|> assert_text("Google")
|> assert_text("Wikipedia")
|> go_forward()
|> assert_page(Page1)
|> assert_text("Page 1 title")
Expand Down

0 comments on commit 3d4eaf0

Please sign in to comment.