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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
a0b9fe12
Commit
a0b9fe12
authored
Jul 08, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
e05fbf04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
13 deletions
+9
-13
features/project/project.feature
features/project/project.feature
+5
-13
features/steps/shared/paths.rb
features/steps/shared/paths.rb
+4
-0
No files found.
features/project/project.feature
View file @
a0b9fe12
...
@@ -18,9 +18,13 @@ Feature: Project
...
@@ -18,9 +18,13 @@ Feature: Project
Then
I should see the default project avatar
Then
I should see the default project avatar
And
I should not see the
"Remove avatar"
button
And
I should not see the
"Remove avatar"
button
Scenario
:
I
should have readme on page
And
I visit project
"Shop"
page
Then
I should see project
"Shop"
README
@javascript
@javascript
Scenario
:
I
should see project activity
Scenario
:
I
should see project activity
When
I visit project
"Shop"
page
When
I visit project
"Shop"
activity
page
Then
I should see project
"Shop"
activity feed
Then
I should see project
"Shop"
activity feed
Scenario
:
I
visit edit project
Scenario
:
I
visit edit project
...
@@ -38,24 +42,12 @@ Feature: Project
...
@@ -38,24 +42,12 @@ Feature: Project
And
change project path settings
And
change project path settings
Then
I should see project with new path settings
Then
I should see project with new path settings
Scenario
:
I
should see project readme and version
When
I visit project
"Shop"
page
And
I should see project
"Shop"
version
Scenario
:
I
should change project default branch
Scenario
:
I
should change project default branch
When
I visit edit project
"Shop"
page
When
I visit edit project
"Shop"
page
And
change project default branch
And
change project default branch
And
I save project
And
I save project
Then
I should see project default branch changed
Then
I should see project default branch changed
@javascript
Scenario
:
I
should have default tab per my preference
And
I own project
"Forum"
When
I select project
"Forum"
README tab
Then
I should see project
"Forum"
README
And
I visit project
"Shop"
page
Then
I should see project
"Shop"
README
Scenario
:
I
tag a project
Scenario
:
I
tag a project
When
I visit edit project
"Shop"
page
When
I visit edit project
"Shop"
page
Then
I should see project settings
Then
I should see project settings
...
...
features/steps/shared/paths.rb
View file @
a0b9fe12
...
@@ -251,6 +251,10 @@ module SharedPaths
...
@@ -251,6 +251,10 @@ module SharedPaths
visit
namespace_project_path
(
project
.
namespace
,
project
)
visit
namespace_project_path
(
project
.
namespace
,
project
)
end
end
step
'I visit project "Shop" activity page'
do
visit
activity_namespace_project_path
(
project
.
namespace
,
project
)
end
step
'I visit project "Forked Shop" merge requests page'
do
step
'I visit project "Forked Shop" merge requests page'
do
visit
namespace_project_merge_requests_path
(
@forked_project
.
namespace
,
@forked_project
)
visit
namespace_project_merge_requests_path
(
@forked_project
.
namespace
,
@forked_project
)
end
end
...
...
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