BigW Consortium Gitlab

Commit fd01aeda by Tim Zallmann

Added First Test for top right menu

parent 2d87b79a
@dashboard
Feature: New Project through top menu
Background:
Given I sign in as a user
And I own project "Shop"
And I visit dashboard page
And I click "New project" in top right menu
@javascript
Scenario: I should see New Projects page
Then I see "New Project" page
...@@ -9,6 +9,12 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps ...@@ -9,6 +9,12 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps
end end
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 step 'I see "New Project" page' do
expect(page).to have_content('Project path') expect(page).to have_content('Project path')
expect(page).to have_content('Project name') expect(page).to have_content('Project name')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment