summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2016-12-23 15:45:34 -0600
committerJose Ivan Vargas <jvargas@gitlab.com>2017-01-03 10:52:14 -0600
commitdef6c43da15a38e1211cf733442efe01824e5150 (patch)
treebb88bae220c8b16812f430f64367756da614ed4e /features
parent68c730bb99a12b0ea8ac3d08f074dc66e7ac2dae (diff)
downloadgitlab-ce-def6c43da15a38e1211cf733442efe01824e5150.tar.gz
Fixed more rspec tests as well as spinach features
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/team_management.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/features/steps/project/team_management.rb b/features/steps/project/team_management.rb
index 22d971fadfb..c89f587f14d 100644
--- a/features/steps/project/team_management.rb
+++ b/features/steps/project/team_management.rb
@@ -113,8 +113,10 @@ class Spinach::Features::ProjectTeamManagement < Spinach::FeatureSteps
project.team << [user, :reporter]
end
- step 'I click link "Import team from another project"' do
- click_link "Import"
+ step 'I click link "Import team from another project"' do
+ page.within '.users-project-form' do
+ click_link "Import"
+ end
end
When 'I submit "Website" project for import team' do