Fixed New Project Top Menu Test
This commit is contained in:
parent
6b7b7f9f19
commit
ebd0767fc7
|
@ -1,5 +1,5 @@
|
|||
@dashboard
|
||||
Feature: New Project through top menu
|
||||
Feature: New Project top menu
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
class Spinach::Features::NewProjectTopMenu < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedProject
|
||||
|
||||
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')
|
||||
end
|
||||
|
||||
end
|
Loading…
Reference in New Issue