Merge branch 'fix-flakey-groups-filter-list-specs' into 'master'
Fix flakey time-senstive group filter specs See merge request gitlab-org/gitlab-ce!19880
This commit is contained in:
commit
abdbe370a0
2 changed files with 8 additions and 0 deletions
|
@ -65,7 +65,11 @@ feature 'Dashboard Groups page', :js do
|
|||
fill_in 'filter', with: group.name
|
||||
wait_for_requests
|
||||
|
||||
expect(page).to have_content(group.name)
|
||||
expect(page).not_to have_content(nested_group.parent.name)
|
||||
|
||||
fill_in 'filter', with: ''
|
||||
page.find('[name="filter"]').send_keys(:enter)
|
||||
wait_for_requests
|
||||
|
||||
expect(page).to have_content(group.name)
|
||||
|
|
|
@ -35,7 +35,11 @@ describe 'Explore Groups page', :js do
|
|||
fill_in 'filter', with: group.name
|
||||
wait_for_requests
|
||||
|
||||
expect(page).to have_content(group.full_name)
|
||||
expect(page).not_to have_content(public_group.full_name)
|
||||
|
||||
fill_in 'filter', with: ""
|
||||
page.find('[name="filter"]').send_keys(:enter)
|
||||
wait_for_requests
|
||||
|
||||
expect(page).to have_content(group.full_name)
|
||||
|
|
Loading…
Reference in a new issue