Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
dbwinger committed Jun 5, 2023
1 parent 314d74e commit a79e926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/features/admin/link_overlay_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
end

within "#overlay_tab_internal_link" do
expect(page).to have_selector("#s2id_page_urlname")
expect(page).to have_selector("#s2id_internal_link")
expect { select2(page_in_other_language.name, from: "Page") }.to raise_error(Capybara::ElementNotFound)
expect(find("#page_urlname").value).not_to eq page_in_other_language.urlname
expect(find("#internal_link").value).not_to eq page_in_other_language.urlname
end
end

Expand Down

0 comments on commit a79e926

Please sign in to comment.