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
0e37f5ef
Commit
0e37f5ef
authored
Nov 18, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor plan qa tests to use login flow
And by doing so reduces the code base in 31 lines.
parent
caab23bc
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
30 additions
and
61 deletions
+30
-61
qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
...es/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
+2
-5
qa/qa/specs/features/browser_ui/2_plan/issue/close_issue_spec.rb
...pecs/features/browser_ui/2_plan/issue/close_issue_spec.rb
+1
-2
qa/qa/specs/features/browser_ui/2_plan/issue/collapse_comments_in_discussions_spec.rb
..._ui/2_plan/issue/collapse_comments_in_discussions_spec.rb
+1
-2
qa/qa/specs/features/browser_ui/2_plan/issue/comment_issue_spec.rb
...cs/features/browser_ui/2_plan/issue/comment_issue_spec.rb
+1
-2
qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
...ecs/features/browser_ui/2_plan/issue/create_issue_spec.rb
+1
-2
qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
...res/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
+1
-2
qa/qa/specs/features/browser_ui/2_plan/issue/issue_suggestions_spec.rb
...eatures/browser_ui/2_plan/issue/issue_suggestions_spec.rb
+1
-2
qa/qa/specs/features/browser_ui/2_plan/issue/mentions_spec.rb
...a/specs/features/browser_ui/2_plan/issue/mentions_spec.rb
+1
-2
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
+1
-2
qa/qa/specs/features/ee/browser_ui/2_plan/custom_email/custom_email_spec.rb
...es/ee/browser_ui/2_plan/custom_email/custom_email_spec.rb
+1
-2
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
+1
-2
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
-2
qa/qa/specs/features/ee/browser_ui/2_plan/epic/roadmap_spec.rb
.../specs/features/ee/browser_ui/2_plan/epic/roadmap_spec.rb
+1
-2
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/configurable_issue_board_spec.rb
...r_ui/2_plan/issue_boards/configurable_issue_board_spec.rb
+1
-2
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/configure_issue_board_by_label_spec.rb
..._plan/issue_boards/configure_issue_board_by_label_spec.rb
+1
-2
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/create_group_issue_board_spec.rb
...r_ui/2_plan/issue_boards/create_group_issue_board_spec.rb
+1
-2
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/delete_group_board_spec.rb
...browser_ui/2_plan/issue_boards/delete_group_board_spec.rb
+1
-2
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/focus_mode_spec.rb
...ures/ee/browser_ui/2_plan/issue_boards/focus_mode_spec.rb
+1
-2
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/group_issue_boards_spec.rb
...browser_ui/2_plan/issue_boards/group_issue_boards_spec.rb
+1
-2
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/project_issue_boards_spec.rb
...owser_ui/2_plan/issue_boards/project_issue_boards_spec.rb
+1
-2
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/read_only_board_configuration_spec.rb
...2_plan/issue_boards/read_only_board_configuration_spec.rb
+1
-2
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
+1
-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
-2
qa/qa/specs/features/ee/browser_ui/2_plan/issues_weight/issue_weight_visualization_spec.rb
...i/2_plan/issues_weight/issue_weight_visualization_spec.rb
+1
-2
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
+1
-2
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
+1
-2
qa/qa/specs/features/ee/browser_ui/2_plan/multiple_assignees_for_issues/two_assignees_spec.rb
..._plan/multiple_assignees_for_issues/two_assignees_spec.rb
+1
-2
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
+1
-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
+1
-2
No files found.
qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
View file @
0e37f5ef
...
@@ -7,8 +7,7 @@ module QA
...
@@ -7,8 +7,7 @@ module QA
QA
::
Runtime
::
Env
.
personal_access_token
=
QA
::
Runtime
::
Env
.
admin_personal_access_token
QA
::
Runtime
::
Env
.
personal_access_token
=
QA
::
Runtime
::
Env
.
admin_personal_access_token
unless
QA
::
Runtime
::
Env
.
personal_access_token
unless
QA
::
Runtime
::
Env
.
personal_access_token
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in_as_admin
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_admin_credentials
)
end
end
user
=
Resource
::
User
.
fabricate_via_api!
do
|
user
|
user
=
Resource
::
User
.
fabricate_via_api!
do
|
user
|
...
@@ -20,9 +19,7 @@ module QA
...
@@ -20,9 +19,7 @@ module QA
Page
::
Main
::
Menu
.
perform
(
&
:sign_out
)
if
Page
::
Main
::
Menu
.
perform
{
|
p
|
p
.
has_personal_area?
(
wait:
0
)
}
Page
::
Main
::
Menu
.
perform
(
&
:sign_out
)
if
Page
::
Main
::
Menu
.
perform
{
|
p
|
p
.
has_personal_area?
(
wait:
0
)
}
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
project
=
Resource
::
Project
.
fabricate_via_api!
do
|
resource
|
project
=
Resource
::
Project
.
fabricate_via_api!
do
|
resource
|
resource
.
name
=
'xss-test-for-mentions-project'
resource
.
name
=
'xss-test-for-mentions-project'
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/close_issue_spec.rb
View file @
0e37f5ef
...
@@ -7,8 +7,7 @@ module QA
...
@@ -7,8 +7,7 @@ module QA
let
(
:commit_message
)
{
'Closes'
}
let
(
:commit_message
)
{
'Closes'
}
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
issue_title
issue
.
title
=
issue_title
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/collapse_comments_in_discussions_spec.rb
View file @
0e37f5ef
...
@@ -6,8 +6,7 @@ module QA
...
@@ -6,8 +6,7 @@ module QA
let
(
:my_first_reply
)
{
'My first reply'
}
let
(
:my_first_reply
)
{
'My first reply'
}
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
'issue title'
issue
.
title
=
'issue title'
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/comment_issue_spec.rb
View file @
0e37f5ef
...
@@ -4,8 +4,7 @@ module QA
...
@@ -4,8 +4,7 @@ module QA
context
'Plan'
do
context
'Plan'
do
describe
'Issue comments'
do
describe
'Issue comments'
do
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
'issue title'
issue
.
title
=
'issue title'
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
View file @
0e37f5ef
...
@@ -6,8 +6,7 @@ module QA
...
@@ -6,8 +6,7 @@ module QA
let
(
:issue_title
)
{
'issue title'
}
let
(
:issue_title
)
{
'issue title'
}
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
end
it
'user creates an issue'
do
it
'user creates an issue'
do
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
View file @
0e37f5ef
...
@@ -6,8 +6,7 @@ module QA
...
@@ -6,8 +6,7 @@ module QA
let
(
:issue_title
)
{
'issue title'
}
let
(
:issue_title
)
{
'issue title'
}
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
issue_title
issue
.
title
=
issue_title
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/issue_suggestions_spec.rb
View file @
0e37f5ef
...
@@ -6,8 +6,7 @@ module QA
...
@@ -6,8 +6,7 @@ module QA
let
(
:issue_title
)
{
'Issue Lists are awesome'
}
let
(
:issue_title
)
{
'Issue Lists are awesome'
}
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
project
=
Resource
::
Project
.
fabricate_via_api!
do
|
resource
|
project
=
Resource
::
Project
.
fabricate_via_api!
do
|
resource
|
resource
.
name
=
'project-for-issue-suggestions'
resource
.
name
=
'project-for-issue-suggestions'
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/mentions_spec.rb
View file @
0e37f5ef
...
@@ -4,8 +4,7 @@ module QA
...
@@ -4,8 +4,7 @@ module QA
context
'Plan'
,
:smoke
do
context
'Plan'
,
:smoke
do
describe
'mention'
do
describe
'mention'
do
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
@user
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
@user
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/burndown_chart/burndown_chart_spec.rb
View file @
0e37f5ef
...
@@ -21,8 +21,7 @@ module QA
...
@@ -21,8 +21,7 @@ module QA
end
end
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
weight_of_two
=
2
weight_of_two
=
2
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/custom_email/custom_email_spec.rb
View file @
0e37f5ef
...
@@ -6,8 +6,7 @@ module QA
...
@@ -6,8 +6,7 @@ module QA
context
'Plan'
do
context
'Plan'
do
describe
'Custom email'
,
:requires_admin
do
describe
'Custom email'
,
:requires_admin
do
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in_as_admin
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_admin_credentials
)
Page
::
Main
::
Menu
.
perform
(
&
:click_admin_area
)
Page
::
Main
::
Menu
.
perform
(
&
:click_admin_area
)
Page
::
Admin
::
Menu
.
perform
(
&
:go_to_preferences_settings
)
Page
::
Admin
::
Menu
.
perform
(
&
:go_to_preferences_settings
)
end
end
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/epic/epics_management_spec.rb
View file @
0e37f5ef
...
@@ -4,8 +4,7 @@ module QA
...
@@ -4,8 +4,7 @@ module QA
context
'Plan'
do
context
'Plan'
do
describe
'Epics Management'
do
describe
'Epics Management'
do
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
end
it
'creates, edits, and deletes an epic'
do
it
'creates, edits, and deletes an epic'
do
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/epic/promote_issue_to_epic_spec.rb
View file @
0e37f5ef
...
@@ -6,8 +6,7 @@ module QA
...
@@ -6,8 +6,7 @@ module QA
let
(
:issue_title
)
{
"My Awesome Issue
#{
SecureRandom
.
hex
(
8
)
}
"
}
let
(
:issue_title
)
{
"My Awesome Issue
#{
SecureRandom
.
hex
(
8
)
}
"
}
it
'user promotes issue to an epic'
do
it
'user promotes issue to an epic'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
group
=
Resource
::
Group
.
fabricate_via_api!
group
=
Resource
::
Group
.
fabricate_via_api!
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/epic/roadmap_spec.rb
View file @
0e37f5ef
...
@@ -16,8 +16,7 @@ module QA
...
@@ -16,8 +16,7 @@ module QA
end
end
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
end
it
'presents epic on roadmap'
do
it
'presents epic on roadmap'
do
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/configurable_issue_board_spec.rb
View file @
0e37f5ef
...
@@ -8,8 +8,7 @@ module QA
...
@@ -8,8 +8,7 @@ module QA
end
end
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
label_board_list
.
project
.
visit!
label_board_list
.
project
.
visit!
Page
::
Project
::
Menu
.
perform
(
&
:go_to_boards
)
Page
::
Project
::
Menu
.
perform
(
&
:go_to_boards
)
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/configure_issue_board_by_label_spec.rb
View file @
0e37f5ef
...
@@ -14,8 +14,7 @@ module QA
...
@@ -14,8 +14,7 @@ module QA
let
(
:issue_2
)
{
'Issue 2'
}
let
(
:issue_2
)
{
'Issue 2'
}
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
fabricate_issue_with_label
(
label_board_list
.
project
,
issue_1
,
doing
)
fabricate_issue_with_label
(
label_board_list
.
project
,
issue_1
,
doing
)
fabricate_issue_with_label
(
label_board_list
.
project
,
issue_2
,
ready_for_dev
)
fabricate_issue_with_label
(
label_board_list
.
project
,
issue_2
,
ready_for_dev
)
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/create_group_issue_board_spec.rb
View file @
0e37f5ef
...
@@ -6,8 +6,7 @@ module QA
...
@@ -6,8 +6,7 @@ module QA
context
'Plan'
do
context
'Plan'
do
describe
'Group issue boards'
do
describe
'Group issue boards'
do
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
group
=
QA
::
Resource
::
Group
.
fabricate_via_api!
group
=
QA
::
Resource
::
Group
.
fabricate_via_api!
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/delete_group_board_spec.rb
View file @
0e37f5ef
...
@@ -14,8 +14,7 @@ module QA
...
@@ -14,8 +14,7 @@ module QA
end
end
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
create_group_board
(
board_1
)
create_group_board
(
board_1
)
create_group_board
(
board_2
)
create_group_board
(
board_2
)
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/focus_mode_spec.rb
View file @
0e37f5ef
...
@@ -10,8 +10,7 @@ module QA
...
@@ -10,8 +10,7 @@ module QA
end
end
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
end
it
'focuses on issue board'
do
it
'focuses on issue board'
do
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/group_issue_boards_spec.rb
View file @
0e37f5ef
...
@@ -14,8 +14,7 @@ module QA
...
@@ -14,8 +14,7 @@ module QA
end
end
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
create_group_board
(
board_1
)
create_group_board
(
board_1
)
create_group_board
(
board_2
)
create_group_board
(
board_2
)
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/project_issue_boards_spec.rb
View file @
0e37f5ef
...
@@ -4,8 +4,7 @@ module QA
...
@@ -4,8 +4,7 @@ module QA
context
'Plan'
do
context
'Plan'
do
describe
'Project issue boards'
do
describe
'Project issue boards'
do
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
end
let
(
:issue_title
)
{
'Issue to test board list'
}
let
(
:issue_title
)
{
'Issue to test board list'
}
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/read_only_board_configuration_spec.rb
View file @
0e37f5ef
...
@@ -12,8 +12,7 @@ module QA
...
@@ -12,8 +12,7 @@ module QA
end
end
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
label_board_list
.
project
.
add_member
(
qa_user
,
Resource
::
Members
::
AccessLevel
::
GUEST
)
label_board_list
.
project
.
add_member
(
qa_user
,
Resource
::
Members
::
AccessLevel
::
GUEST
)
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issue_boards/sum_of_issues_weights_spec.rb
View file @
0e37f5ef
...
@@ -12,8 +12,7 @@ module QA
...
@@ -12,8 +12,7 @@ module QA
let
(
:weight_for_issue_2
)
{
3
}
let
(
:weight_for_issue_2
)
{
3
}
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
project
=
label_board_list
.
project
issue
.
project
=
label_board_list
.
project
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issues_analytics/issues_analytics_spec.rb
View file @
0e37f5ef
...
@@ -10,8 +10,7 @@ module QA
...
@@ -10,8 +10,7 @@ module QA
end
end
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
end
it
'displays a graph'
do
it
'displays a graph'
do
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issues_weight/issue_weight_visualization_spec.rb
View file @
0e37f5ef
...
@@ -4,8 +4,7 @@ module QA
...
@@ -4,8 +4,7 @@ module QA
context
'Plan'
do
context
'Plan'
do
describe
'Issues weight visualization'
do
describe
'Issues weight visualization'
do
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
end
let
(
:project
)
do
let
(
:project
)
do
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/multiple_assignees_for_issues/four_assignees_spec.rb
View file @
0e37f5ef
...
@@ -4,8 +4,7 @@ module QA
...
@@ -4,8 +4,7 @@ module QA
context
'Plan'
do
context
'Plan'
do
describe
'Multiple assignees per issue'
do
describe
'Multiple assignees per issue'
do
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
user_1
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
user_1
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
user_2
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_2
,
Runtime
::
Env
.
gitlab_qa_password_2
)
user_2
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_2
,
Runtime
::
Env
.
gitlab_qa_password_2
)
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/multiple_assignees_for_issues/more_than_four_assignees_spec.rb
View file @
0e37f5ef
...
@@ -4,8 +4,7 @@ module QA
...
@@ -4,8 +4,7 @@ module QA
context
'Plan'
do
context
'Plan'
do
describe
'Multiple assignees per issue'
do
describe
'Multiple assignees per issue'
do
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
user_1
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
user_1
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
user_2
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_2
,
Runtime
::
Env
.
gitlab_qa_password_2
)
user_2
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_2
,
Runtime
::
Env
.
gitlab_qa_password_2
)
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/multiple_assignees_for_issues/two_assignees_spec.rb
View file @
0e37f5ef
...
@@ -4,8 +4,7 @@ module QA
...
@@ -4,8 +4,7 @@ module QA
context
'Plan'
do
context
'Plan'
do
describe
'Multiple assignees per issue'
do
describe
'Multiple assignees per issue'
do
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
user_1
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
user_1
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
@user_2
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_2
,
Runtime
::
Env
.
gitlab_qa_password_2
)
@user_2
=
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_2
,
Runtime
::
Env
.
gitlab_qa_password_2
)
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/related_issues/related_issues_spec.rb
View file @
0e37f5ef
...
@@ -24,8 +24,7 @@ module QA
...
@@ -24,8 +24,7 @@ module QA
end
end
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
end
it
'relates and unrelates one issue to/from another'
do
it
'relates and unrelates one issue to/from another'
do
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/scoped_labels/editing_scoped_labels_spec.rb
View file @
0e37f5ef
...
@@ -12,8 +12,7 @@ module QA
...
@@ -12,8 +12,7 @@ module QA
let
(
:new_label_different_scope_multi_colon
)
{
'group::truck::mercedes-bens'
}
let
(
:new_label_different_scope_multi_colon
)
{
'group::truck::mercedes-bens'
}
before
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Flow
::
Login
.
sign_in
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
=
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
'Issue to test scoped labels'
issue
.
title
=
'Issue to test scoped labels'
...
...
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