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
31618284
Commit
31618284
authored
Jan 16, 2020
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify a bunch of ee tests
In places where we are not using the issue title, let's use the default one.
parent
5b9bdbb0
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
5 additions
and
20 deletions
+5
-20
qa/qa/specs/features/ee/browser_ui/2_plan/burndown_chart/burndown_chart_spec.rb
...e/browser_ui/2_plan/burndown_chart/burndown_chart_spec.rb
+3
-4
qa/qa/specs/features/ee/browser_ui/2_plan/epic/epics_management_spec.rb
...atures/ee/browser_ui/2_plan/epic/epics_management_spec.rb
+0
-1
qa/qa/specs/features/ee/browser_ui/2_plan/epic/promote_issue_to_epic_spec.rb
...s/ee/browser_ui/2_plan/epic/promote_issue_to_epic_spec.rb
+1
-4
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/sum_of_issues_weights_spec.rb
...wser_ui/2_plan/issue_boards/sum_of_issues_weights_spec.rb
+0
-2
qa/qa/specs/features/ee/browser_ui/2_plan/issues_analytics/issues_analytics_spec.rb
...owser_ui/2_plan/issues_analytics/issues_analytics_spec.rb
+1
-3
qa/qa/specs/features/ee/browser_ui/2_plan/issues_list/export_as_csv_spec.rb
...es/ee/browser_ui/2_plan/issues_list/export_as_csv_spec.rb
+0
-1
qa/qa/specs/features/ee/browser_ui/2_plan/multiple_assignees_for_issues/four_assignees_spec.rb
...plan/multiple_assignees_for_issues/four_assignees_spec.rb
+0
-1
qa/qa/specs/features/ee/browser_ui/2_plan/multiple_assignees_for_issues/more_than_four_assignees_spec.rb
...ple_assignees_for_issues/more_than_four_assignees_spec.rb
+0
-1
qa/qa/specs/features/ee/browser_ui/2_plan/related_issues/related_issues_spec.rb
...e/browser_ui/2_plan/related_issues/related_issues_spec.rb
+0
-2
qa/qa/specs/features/ee/browser_ui/2_plan/scoped_labels/editing_scoped_labels_spec.rb
...ser_ui/2_plan/scoped_labels/editing_scoped_labels_spec.rb
+0
-1
No files found.
qa/qa/specs/features/ee/browser_ui/2_plan/burndown_chart/burndown_chart_spec.rb
View file @
31618284
...
...
@@ -18,8 +18,8 @@ module QA
weight_of_two
=
2
create_issue
(
'Issue 1'
,
milestone
.
project
,
milestone
,
weight_of_two
)
create_issue
(
'Issue 2'
,
milestone
.
project
,
milestone
,
weight_of_two
)
create_issue
(
milestone
.
project
,
milestone
,
weight_of_two
)
create_issue
(
milestone
.
project
,
milestone
,
weight_of_two
)
end
it
'shows burndown chart on milestone page'
do
...
...
@@ -35,10 +35,9 @@ module QA
end
end
def
create_issue
(
title
,
project
,
milestone
,
weight
)
def
create_issue
(
project
,
milestone
,
weight
)
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
project
=
project
issue
.
title
=
title
issue
.
milestone
=
milestone
issue
.
weight
=
weight
end
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/epic/epics_management_spec.rb
View file @
31618284
...
...
@@ -81,7 +81,6 @@ module QA
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
project
=
project
issue
.
title
=
'Issue created via API'
end
end
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/epic/promote_issue_to_epic_spec.rb
View file @
31618284
...
...
@@ -3,8 +3,6 @@
module
QA
context
'Plan'
do
describe
'promote issue to epic'
do
let
(
:issue_title
)
{
"My Awesome Issue
#{
SecureRandom
.
hex
(
8
)
}
"
}
it
'user promotes issue to an epic'
do
Flow
::
Login
.
sign_in
...
...
@@ -14,7 +12,6 @@ module QA
end
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
issue_title
issue
.
project
=
project
end
...
...
@@ -35,7 +32,7 @@ module QA
project
.
group
.
visit!
Page
::
Group
::
Menu
.
perform
(
&
:click_group_epics_link
)
QA
::
EE
::
Page
::
Group
::
Epic
::
Index
.
perform
do
|
index
|
expect
(
index
).
to
have_epic_title
(
issue
_
title
)
expect
(
index
).
to
have_epic_title
(
issue
.
title
)
end
end
end
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/sum_of_issues_weights_spec.rb
View file @
31618284
...
...
@@ -16,14 +16,12 @@ module QA
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
project
=
label_board_list
.
project
issue
.
title
=
'Issue 1'
issue
.
labels
=
[
label
]
issue
.
weight
=
weight_for_issue_1
end
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
project
=
label_board_list
.
project
issue
.
title
=
'Issue 2'
issue
.
labels
=
[
label
]
issue
.
weight
=
weight_for_issue_2
end
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issues_analytics/issues_analytics_spec.rb
View file @
31618284
...
...
@@ -4,9 +4,7 @@ module QA
context
'Plan'
do
describe
'Issues analytics'
do
let
(
:issue
)
do
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
'Issue to test Issues Analytics'
end
Resource
::
Issue
.
fabricate_via_api!
end
before
do
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issues_list/export_as_csv_spec.rb
View file @
31618284
...
...
@@ -17,7 +17,6 @@ module QA
2
.
times
do
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
project
=
project
issue
.
title
=
"Issue-
#{
SecureRandom
.
hex
(
4
)
}
"
end
end
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/multiple_assignees_for_issues/four_assignees_spec.rb
View file @
31618284
...
...
@@ -21,7 +21,6 @@ module QA
project
.
add_member
(
user_4
)
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
issue
.
title
=
'issue-to-test-multiple-assignees'
issue
.
project
=
project
issue
.
assignee_ids
=
[
user_1
.
id
,
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/multiple_assignees_for_issues/more_than_four_assignees_spec.rb
View file @
31618284
...
...
@@ -27,7 +27,6 @@ module QA
project
.
add_member
(
user_6
)
@issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
issue
.
title
=
'issue-to-test-multiple-assignees'
issue
.
project
=
project
issue
.
assignee_ids
=
[
user_1
.
id
,
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/related_issues/related_issues_spec.rb
View file @
31618284
...
...
@@ -12,14 +12,12 @@ module QA
let
(
:issue_1
)
do
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
project
=
project
issue
.
title
=
'Issue 1'
end
end
let
(
:issue_2
)
do
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
project
=
project
issue
.
title
=
'Issue 2'
end
end
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/scoped_labels/editing_scoped_labels_spec.rb
View file @
31618284
...
...
@@ -15,7 +15,6 @@ module QA
Flow
::
Login
.
sign_in
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
'Issue to test scoped labels'
issue
.
labels
=
[
initial_label
,
initial_label_multi_colon
]
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