Skip to content

Commit

Permalink
Adapt groups beta feature tests for mobile
Browse files Browse the repository at this point in the history
Co-authored-by: David Kang <dkang@suse.com>
  • Loading branch information
eduardoj and David Kang committed May 20, 2020
1 parent d3974a2 commit 29a9502
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/spec/features/beta/webui/groups_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def group_in_datatable(page, group)
scenario 'visit group show page' do
visit group_show_path(group_1)

# TODO: Remove this line if the dropdown is changed to a scrollable tab, and responsive_ux is out of beta.
find('.nav-link.dropdown-toggle').click if mobile?
expect(page).to have_content('Incoming Reviews')
expect(page).to have_content('Incoming Requests')
expect(page).to have_content('All Requests')
Expand Down

0 comments on commit 29a9502

Please sign in to comment.