Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansing committed Aug 20, 2020
1 parent 5d78677 commit 72eb27d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/browse_concepts_and_labels_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ class BrowseConceptsAndLabelsTest < ActionDispatch::IntegrationTest
end

visit hierarchical_concepts_path(lang: 'en')
click_link_or_button('Expired')
within('#sidebar') do
click_link_or_button('Expired')
end
click_link_or_button('M')
assert page.has_content?(concepts.first.pref_label.to_s), 'should have one expired concept'
end
Expand Down

0 comments on commit 72eb27d

Please sign in to comment.