Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
features/dashboard/new_project_menu.feature
features/dashboard/new_project_menu.feature
+11
-0
features/steps/dashboard/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
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'
)
...
...
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