diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-06-06 17:46:30 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-06-07 12:15:02 +0300 |
commit | 288b2e71c28ddff1ae6372bc8256d9f972aa6c27 (patch) | |
tree | 0c4b862767286cdae48f695fcb2811a0b90a8b1c /features/steps | |
parent | e05e530fe6f77b207adc9d4541955c952a291aa6 (diff) |
Added First Test for top right menu
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/dashboard/new_project.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/features/steps/dashboard/new_project.rb b/features/steps/dashboard/new_project.rb index 766aa9b0468..530fd6f7bdb 100644 --- a/features/steps/dashboard/new_project.rb +++ b/features/steps/dashboard/new_project.rb @@ -9,6 +9,12 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps end end + step 'I click "New project" in top right menu' do + page.within '.header-content' do + click_link "New project" + end + end + step 'I see "New Project" page' do expect(page).to have_content('Project path') expect(page).to have_content('Project name') |