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
07fc5725
Commit
07fc5725
authored
Jul 14, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure end-to-end test uses unique filename in metrics test
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
4a47e0b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
qa/qa/page/project/operations/metrics/show.rb
qa/qa/page/project/operations/metrics/show.rb
+3
-1
No files found.
qa/qa/page/project/operations/metrics/show.rb
View file @
07fc5725
# frozen_string_literal: true
require
'securerandom'
module
QA
module
Page
module
Project
...
...
@@ -60,7 +62,7 @@ module QA
def
duplicate_dashboard
(
save_as
=
'test_duplication.yml'
,
commit_option
=
'Commit to master branch'
)
click_element
:dashboards_filter_dropdown
click_on
'Duplicate dashboard'
fill_element
:duplicate_dashboard_filename_field
,
save_as
fill_element
:duplicate_dashboard_filename_field
,
"
#{
SecureRandom
.
hex
(
8
)
}
-
#{
save_as
}
"
choose
commit_option
within
(
'.modal-content'
)
{
click_button
(
class:
'btn-success'
)
}
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