summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-07-07 18:25:05 -0400
committerRobert Speicher <rspeicher@gmail.com>2016-07-07 18:25:05 -0400
commitbf2a86b73cce332ff8f4392ffc8df501193f32ec (patch)
treec8284a396e4dc87137f333c647dc641ad887ee29 /features/steps
parent39fbec941939f76ec08a25f537cc3f4a308e21f5 (diff)
downloadgitlab-ce-bf2a86b73cce332ff8f4392ffc8df501193f32ec.tar.gz
Revert "Merge branch 'issue_3946' into 'master' "
This reverts commit 68155ee73b549a4f79744bb325542c29d45c71ea, reversing changes made to 7ebd011ed1de7aee706f07a53c63c90f1c8aa5d4.
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/admin/projects.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/features/steps/admin/projects.rb b/features/steps/admin/projects.rb
index d77945a6b9c..a7a28755a6c 100644
--- a/features/steps/admin/projects.rb
+++ b/features/steps/admin/projects.rb
@@ -18,9 +18,9 @@ class Spinach::Features::AdminProjects < Spinach::FeatureSteps
end
end
- step 'I select "Show archived projects"' do
- find(:css, '#sort-projects-dropdown').click
- click_link 'Show archived projects'
+ step 'I check "Show archived projects"' do
+ page.check 'Show archived projects'
+ click_button "Search"
end
step 'I should see "archived" label' do
@@ -45,8 +45,7 @@ class Spinach::Features::AdminProjects < Spinach::FeatureSteps
step 'I transfer project to group \'Web\'' do
allow_any_instance_of(Projects::TransferService).
to receive(:move_uploads_to_new_namespace).and_return(true)
- click_button 'Search for Namespace'
- click_link 'group: web'
+ find(:xpath, "//input[@id='new_namespace_id']").set group.id
click_button 'Transfer'
end