BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
fd01aeda
Commit
fd01aeda
authored
Jun 06, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added First Test for top right menu
parent
2d87b79a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
new_project_menu.feature
features/dashboard/new_project_menu.feature
+11
-0
new_project.rb
features/steps/dashboard/new_project.rb
+6
-0
No files found.
features/dashboard/new_project_menu.feature
0 → 100644
View file @
fd01aeda
@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
features/steps/dashboard/new_project.rb
View file @
fd01aeda
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment