Skip to content

Commit 90c3380

Browse files
committed
Update search system spec
1 parent 7e3acd6 commit 90c3380

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

spec/system/searches_spec.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010

1111
fill_in :query, with: "Progressive Web Apps"
1212

13-
expect(page).to have_content("Progressive Web Apps on Rails Showcase")
13+
within "dialog" do
14+
expect(page).to have_content("Progressive Web Apps on Rails Showcase")
15+
end
16+
17+
click_link "Progressive Web Apps on Rails Showcase"
18+
19+
within "main header" do
20+
expect(page).to have_content("Progressive Web Apps on Rails Showcase")
21+
end
1422
end
1523
end

0 commit comments

Comments
 (0)