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
1ada6874
Commit
1ada6874
authored
Aug 03, 2020
by
svistas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix duplicate button issue in spec
parent
b8f5c54d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/assets/javascripts/monitoring/components/dashboard_header.vue
...ts/javascripts/monitoring/components/dashboard_header.vue
+1
-0
qa/qa/page/project/operations/metrics/show.rb
qa/qa/page/project/operations/metrics/show.rb
+3
-2
No files found.
app/assets/javascripts/monitoring/components/dashboard_header.vue
View file @
1ada6874
...
...
@@ -410,6 +410,7 @@ export default {
right
class=
"gl-flex-grow-1"
data-testid=
"actions-menu"
data-qa-selector=
"actions_menu_dropdown"
:title=
"s__('Metrics|Create dashboard')"
:icon=
"'plus-square'"
>
...
...
qa/qa/page/project/operations/metrics/show.rb
View file @
1ada6874
...
...
@@ -20,6 +20,7 @@ module QA
element
:environments_dropdown
element
:edit_dashboard_button
element
:range_picker_dropdown
element
:actions_menu_dropdown
end
view
'app/assets/javascripts/monitoring/components/duplicate_dashboard_form.vue'
do
...
...
@@ -60,8 +61,8 @@ module QA
end
def
duplicate_dashboard
(
save_as
=
'test_duplication.yml'
,
commit_option
=
'Commit to master branch'
)
click_element
:
dashboards_filter
_dropdown
click_on
'Duplicate dashboard'
click_element
:
actions_menu
_dropdown
click_on
'Duplicate
current
dashboard'
fill_element
:duplicate_dashboard_filename_field
,
"
#{
SecureRandom
.
hex
(
8
)
}
-
#{
save_as
}
"
choose
commit_option
within
(
'.modal-content'
)
{
click_button
(
class:
'btn-success'
)
}
...
...
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