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
82b6be65
Commit
82b6be65
authored
Mar 22, 2021
by
Eulyeon Ko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply reviewer suggestion
Fix indentation for let
parent
44b0efb1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
45 additions
and
45 deletions
+45
-45
spec/features/boards/sidebar_assignee_spec.rb
spec/features/boards/sidebar_assignee_spec.rb
+7
-7
spec/features/boards/sidebar_due_date_spec.rb
spec/features/boards/sidebar_due_date_spec.rb
+6
-6
spec/features/boards/sidebar_labels_spec.rb
spec/features/boards/sidebar_labels_spec.rb
+5
-5
spec/features/boards/sidebar_milestones_spec.rb
spec/features/boards/sidebar_milestones_spec.rb
+9
-9
spec/features/boards/sidebar_spec.rb
spec/features/boards/sidebar_spec.rb
+6
-6
spec/features/boards/sidebar_subscription_spec.rb
spec/features/boards/sidebar_subscription_spec.rb
+6
-6
spec/features/boards/sidebar_time_tracking_spec.rb
spec/features/boards/sidebar_time_tracking_spec.rb
+6
-6
No files found.
spec/features/boards/sidebar_assignee_spec.rb
View file @
82b6be65
...
...
@@ -5,16 +5,16 @@ require 'spec_helper'
RSpec
.
describe
'Project issue boards sidebar assignee'
,
:js
do
include
BoardHelpers
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:development
)
{
create
(
:label
,
project:
project
,
name:
'Development'
)
}
let_it_be
(
:regression
)
{
create
(
:label
,
project:
project
,
name:
'Regression'
)
}
let_it_be
(
:stretch
)
{
create
(
:label
,
project:
project
,
name:
'Stretch'
)
}
let!
(
:issue1
)
{
create
(
:labeled_issue
,
project:
project
,
assignees:
[
user
],
labels:
[
development
],
relative_position:
2
)
}
let!
(
:issue2
)
{
create
(
:labeled_issue
,
project:
project
,
labels:
[
development
,
stretch
],
relative_position:
1
)
}
let
(
:board
)
{
create
(
:board
,
project:
project
)
}
let!
(
:list
)
{
create
(
:list
,
board:
board
,
label:
development
,
position:
0
)
}
let
(
:card
)
{
find
(
'.board:nth-child(2)'
).
first
(
'.board-card'
)
}
let!
(
:issue1
)
{
create
(
:labeled_issue
,
project:
project
,
assignees:
[
user
],
labels:
[
development
],
relative_position:
2
)
}
let!
(
:issue2
)
{
create
(
:labeled_issue
,
project:
project
,
labels:
[
development
,
stretch
],
relative_position:
1
)
}
let
(
:board
)
{
create
(
:board
,
project:
project
)
}
let!
(
:list
)
{
create
(
:list
,
board:
board
,
label:
development
,
position:
0
)
}
let
(
:card
)
{
find
(
'.board:nth-child(2)'
).
first
(
'.board-card'
)
}
before
do
project
.
add_maintainer
(
user
)
...
...
spec/features/boards/sidebar_due_date_spec.rb
View file @
82b6be65
...
...
@@ -5,12 +5,12 @@ require 'spec_helper'
RSpec
.
describe
'Project issue boards sidebar due date'
,
:js
do
include
BoardHelpers
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:issue
)
{
create
(
:issue
,
project:
project
,
relative_position:
1
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
position:
0
)
}
let
(
:card
)
{
find
(
'.board:nth-child(1)'
).
first
(
'.board-card'
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:issue
)
{
create
(
:issue
,
project:
project
,
relative_position:
1
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
position:
0
)
}
let
(
:card
)
{
find
(
'.board:nth-child(1)'
).
first
(
'.board-card'
)
}
around
do
|
example
|
freeze_time
{
example
.
run
}
...
...
spec/features/boards/sidebar_labels_spec.rb
View file @
82b6be65
...
...
@@ -5,17 +5,17 @@ require 'spec_helper'
RSpec
.
describe
'Project issue boards sidebar labels'
,
:js
do
include
BoardHelpers
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:development
)
{
create
(
:label
,
project:
project
,
name:
'Development'
)
}
let_it_be
(
:bug
)
{
create
(
:label
,
project:
project
,
name:
'Bug'
)
}
let_it_be
(
:regression
)
{
create
(
:label
,
project:
project
,
name:
'Regression'
)
}
let_it_be
(
:stretch
)
{
create
(
:label
,
project:
project
,
name:
'Stretch'
)
}
let_it_be
(
:issue1
)
{
create
(
:labeled_issue
,
project:
project
,
labels:
[
development
],
relative_position:
2
)
}
let_it_be
(
:issue2
)
{
create
(
:labeled_issue
,
project:
project
,
labels:
[
development
,
stretch
],
relative_position:
1
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
label:
development
,
position:
0
)
}
let
(
:card
)
{
find
(
'.board:nth-child(2)'
).
first
(
'.board-card'
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
label:
development
,
position:
0
)
}
let
(
:card
)
{
find
(
'.board:nth-child(2)'
).
first
(
'.board-card'
)
}
before
do
project
.
add_maintainer
(
user
)
...
...
spec/features/boards/sidebar_milestones_spec.rb
View file @
82b6be65
...
...
@@ -5,15 +5,15 @@ require 'spec_helper'
RSpec
.
describe
'Project issue boards sidebar milestones'
,
:js
do
include
BoardHelpers
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:milestone
)
{
create
(
:milestone
,
project:
project
)
}
let_it_be
(
:issue1
)
{
create
(
:issue
,
project:
project
,
relative_position:
1
)
}
let_it_be
(
:issue2
)
{
create
(
:issue
,
project:
project
,
milestone:
milestone
,
relative_position:
2
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
position:
0
)
}
let
(
:card1
)
{
find
(
'.board:nth-child(1) .board-card:nth-of-type(1)'
)
}
let
(
:card2
)
{
find
(
'.board:nth-child(1) .board-card:nth-of-type(2)'
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:milestone
)
{
create
(
:milestone
,
project:
project
)
}
let_it_be
(
:issue1
)
{
create
(
:issue
,
project:
project
,
relative_position:
1
)
}
let_it_be
(
:issue2
)
{
create
(
:issue
,
project:
project
,
milestone:
milestone
,
relative_position:
2
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
position:
0
)
}
let
(
:card1
)
{
find
(
'.board:nth-child(1) .board-card:nth-of-type(1)'
)
}
let
(
:card2
)
{
find
(
'.board:nth-child(1) .board-card:nth-of-type(2)'
)
}
before
do
project
.
add_maintainer
(
user
)
...
...
spec/features/boards/sidebar_spec.rb
View file @
82b6be65
...
...
@@ -5,12 +5,12 @@ require 'spec_helper'
RSpec
.
describe
'Project issue boards sidebar'
,
:js
do
include
BoardHelpers
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:issue
)
{
create
(
:issue
,
project:
project
,
relative_position:
1
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
position:
0
)
}
let
(
:card
)
{
find
(
'.board:nth-child(1)'
).
first
(
'.board-card'
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:issue
)
{
create
(
:issue
,
project:
project
,
relative_position:
1
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
position:
0
)
}
let
(
:card
)
{
find
(
'.board:nth-child(1)'
).
first
(
'.board-card'
)
}
before
do
project
.
add_maintainer
(
user
)
...
...
spec/features/boards/sidebar_subscription_spec.rb
View file @
82b6be65
...
...
@@ -7,13 +7,13 @@ RSpec.describe 'Project issue boards sidebar subscription', :js do
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:issue1
)
{
create
(
:issue
,
project:
project
,
relative_position:
1
)
}
let_it_be
(
:issue2
)
{
create
(
:issue
,
project:
project
,
relative_position:
2
)
}
let_it_be
(
:issue1
)
{
create
(
:issue
,
project:
project
,
relative_position:
1
)
}
let_it_be
(
:issue2
)
{
create
(
:issue
,
project:
project
,
relative_position:
2
)
}
let_it_be
(
:subscription
)
{
create
(
:subscription
,
user:
user
,
project:
project
,
subscribable:
issue2
,
subscribed:
true
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
position:
0
)
}
let
(
:card1
)
{
find
(
'.board:nth-child(1) .board-card:nth-of-type(1)'
)
}
let
(
:card2
)
{
find
(
'.board:nth-child(1) .board-card:nth-of-type(2)'
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
position:
0
)
}
let
(
:card1
)
{
find
(
'.board:nth-child(1) .board-card:nth-of-type(1)'
)
}
let
(
:card2
)
{
find
(
'.board:nth-child(1) .board-card:nth-of-type(2)'
)
}
before
do
project
.
add_maintainer
(
user
)
...
...
spec/features/boards/sidebar_time_tracking_spec.rb
View file @
82b6be65
...
...
@@ -5,12 +5,12 @@ require 'spec_helper'
RSpec
.
describe
'Project issue boards sidebar time tracking'
,
:js
do
include
BoardHelpers
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
position:
0
)
}
let!
(
:issue
)
{
create
(
:issue
,
project:
project
,
relative_position:
1
)
}
let
(
:card
)
{
find
(
'.board:nth-child(1)'
).
first
(
'.board-card'
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
position:
0
)
}
let!
(
:issue
)
{
create
(
:issue
,
project:
project
,
relative_position:
1
)
}
let
(
:card
)
{
find
(
'.board:nth-child(1)'
).
first
(
'.board-card'
)
}
let
(
:application_settings
)
{
{}
}
...
...
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