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
04ad40ab
Commit
04ad40ab
authored
Feb 25, 2022
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab master
parents
0bba6103
084dce0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
ee/app/assets/javascripts/operations/components/dashboard/project_header.vue
...cripts/operations/components/dashboard/project_header.vue
+1
-0
qa/qa/ee/page/operations_dashboard.rb
qa/qa/ee/page/operations_dashboard.rb
+10
-2
No files found.
ee/app/assets/javascripts/operations/components/dashboard/project_header.vue
View file @
04ad40ab
...
@@ -77,6 +77,7 @@ export default {
...
@@ -77,6 +77,7 @@ export default {
:title=
"title"
:title=
"title"
:aria-label=
"title"
:aria-label=
"title"
icon=
"remove"
icon=
"remove"
data-qa-selector=
"remove_project_button"
data-testid=
"remove-project-button"
data-testid=
"remove-project-button"
@
click=
"onRemove"
@
click=
"onRemove"
/>
/>
...
...
qa/qa/ee/page/operations_dashboard.rb
View file @
04ad40ab
...
@@ -16,6 +16,10 @@ module QA
...
@@ -16,6 +16,10 @@ module QA
element
:dashboard_project_card
element
:dashboard_project_card
end
end
view
'ee/app/assets/javascripts/operations/components/dashboard/project_header.vue'
do
element
:remove_project_button
end
def
add_project
(
project_name
)
def
add_project
(
project_name
)
open_add_project_modal
open_add_project_modal
...
@@ -27,8 +31,8 @@ module QA
...
@@ -27,8 +31,8 @@ module QA
end
end
def
remove_all_projects
def
remove_all_projects
project_cards
.
each
do
|
card
|
remove_project_buttons
.
each
do
|
button
|
card
.
find
(
'button.btn.js-remove-button'
)
.
click
button
.
click
end
end
end
end
...
@@ -53,6 +57,10 @@ module QA
...
@@ -53,6 +57,10 @@ module QA
all_elements
(
:dashboard_project_card
,
minimum:
1
)
all_elements
(
:dashboard_project_card
,
minimum:
1
)
end
end
def
remove_project_buttons
all_elements
(
:remove_project_button
,
minimum:
1
)
end
def
within_add_projects_modal
def
within_add_projects_modal
within_element
(
:add_projects_modal
)
do
within_element
(
:add_projects_modal
)
do
yield
yield
...
...
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