diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2017-03-04 15:18:08 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2017-03-04 15:18:08 +0000 |
commit | 2d006b463850599377334cb3b76aa08eebfd8fa0 (patch) | |
tree | 9adf6744920701b9f409671581a88af80c22ed9e /features | |
parent | d6733662da689378463f9abf62532e9d09a59739 (diff) | |
parent | c13c1e1b166edd5520057814dc4698450b578c9a (diff) | |
download | gitlab-ce-2d006b463850599377334cb3b76aa08eebfd8fa0.tar.gz |
Merge branch 'dashboard-filter-search-keep-params' into 'master'
Fixes filtering by name reseting archive filter
Closes #28007
See merge request !9625
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/fork.rb | 2 | ||||
-rw-r--r-- | features/steps/shared/project.rb | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/features/steps/project/fork.rb b/features/steps/project/fork.rb index 9a6c04fba7a..79db9728227 100644 --- a/features/steps/project/fork.rb +++ b/features/steps/project/fork.rb @@ -56,7 +56,7 @@ class Spinach::Features::ProjectFork < Spinach::FeatureSteps end step 'I should see my fork on the list' do - page.within('.projects-list-holder') do + page.within('.js-projects-list-holder') do project = @user.fork_of(@project) expect(page).to have_content("#{project.namespace.human_name} / #{project.name}") end diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb index dae248b8b7e..345a28f27dc 100644 --- a/features/steps/shared/project.rb +++ b/features/steps/shared/project.rb @@ -166,11 +166,15 @@ module SharedProject end step 'I should see project "Internal"' do - expect(page).to have_content "Internal" + page.within '.js-projects-list-holder' do + expect(page).to have_content "Internal" + end end step 'I should not see project "Internal"' do - expect(page).not_to have_content "Internal" + page.within '.js-projects-list-holder' do + expect(page).not_to have_content "Internal" + end end step 'public project "Community"' do |