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
Léo-Paul Géneau
gitlab-ce
Commits
5fcf475b
Commit
5fcf475b
authored
Jun 24, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated tests
parent
d10d32a3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
8 deletions
+11
-8
features/dashboard/dashboard.feature
features/dashboard/dashboard.feature
+1
-0
features/project/merge_requests.feature
features/project/merge_requests.feature
+0
-7
features/steps/shared/project.rb
features/steps/shared/project.rb
+5
-0
spec/features/issues/filter_issues_spec.rb
spec/features/issues/filter_issues_spec.rb
+3
-1
spec/features/search_spec.rb
spec/features/search_spec.rb
+2
-0
No files found.
features/dashboard/dashboard.feature
View file @
5fcf475b
...
...
@@ -7,6 +7,7 @@ Feature: Dashboard
And
project
"Shop"
has CI enabled
And
project
"Shop"
has CI build
And project "Shop" has labels
:
"bug",
"feature",
"enhancement"
And project "Shop" has issue
:
"bug
report"
And
I visit dashboard page
Scenario
:
I
should see projects list
...
...
features/project/merge_requests.feature
View file @
5fcf475b
...
...
@@ -88,13 +88,6 @@ Feature: Project Merge Requests
And
I visit project
"Shop"
merge requests page
Then
The list should be sorted by
"Oldest updated"
@javascript
Scenario
:
Visiting Issues after being sorted the list
Given
I visit project
"Shop"
merge requests page
And
I sort the list by
"Oldest updated"
And
I visit project
"Shop"
issues page
Then
The list should be sorted by
"Oldest updated"
@javascript
Scenario
:
Visiting Merge Requests from a differente Project after sorting
Given
I visit project
"Shop"
merge requests page
...
...
features/steps/shared/project.rb
View file @
5fcf475b
...
...
@@ -223,6 +223,11 @@ module SharedProject
create
(
:label
,
project:
project
,
title:
'enhancement'
)
end
step
'project "Shop" has issue: "bug report"'
do
project
=
Project
.
find_by
(
name:
"Shop"
)
create
(
:issue
,
project:
project
,
title:
"bug report"
)
end
step
'project "Shop" has CI enabled'
do
project
=
Project
.
find_by
(
name:
"Shop"
)
project
.
enable_ci
...
...
spec/features/issues/filter_issues_spec.rb
View file @
5fcf475b
...
...
@@ -7,6 +7,7 @@ describe 'Filter issues', feature: true do
let!
(
:user
)
{
create
(
:user
)}
let!
(
:milestone
)
{
create
(
:milestone
,
project:
project
)
}
let!
(
:label
)
{
create
(
:label
,
project:
project
)
}
let!
(
:issue1
)
{
create
(
:issue
,
project:
project
)
}
before
do
project
.
team
<<
[
user
,
:master
]
...
...
@@ -196,6 +197,7 @@ describe 'Filter issues', feature: true do
page
.
within
'.labels-filter'
do
click_link
'bug'
end
find
(
'.dropdown-menu-close-icon'
).
click
page
.
within
'.issues-list'
do
expect
(
page
).
to
have_selector
(
'.issue'
,
count:
1
)
...
...
@@ -287,7 +289,7 @@ describe 'Filter issues', feature: true do
wait_for_ajax
page
.
within
'.issues-list'
do
expect
(
first
(
'.issue'
)
).
to
have_content
(
'Frontend'
)
expect
(
page
).
to
have_content
(
'Frontend'
)
end
end
end
...
...
spec/features/search_spec.rb
View file @
5fcf475b
...
...
@@ -3,6 +3,8 @@ require 'spec_helper'
describe
"Search"
,
feature:
true
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
namespace:
user
.
namespace
)
}
let!
(
:issue
)
{
create
(
:issue
,
project:
project
,
assignee:
user
)
}
let!
(
:issue2
)
{
create
(
:issue
,
project:
project
,
author:
user
)
}
before
do
login_with
(
user
)
...
...
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