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
bf10fa8d
Commit
bf10fa8d
authored
Sep 07, 2021
by
Axel García
Committed by
Axel Garcia
Sep 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use track-action in snapshots
parent
9078236d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ee/spec/frontend/environments_dashboard/components/__snapshots__/environment_header_spec.js.snap
.../components/__snapshots__/environment_header_spec.js.snap
+1
-1
spec/frontend/design_management/components/design_notes/__snapshots__/design_reply_form_spec.js.snap
...design_notes/__snapshots__/design_reply_form_spec.js.snap
+2
-2
No files found.
ee/spec/frontend/environments_dashboard/components/__snapshots__/environment_header_spec.js.snap
View file @
bf10fa8d
...
...
@@ -86,7 +86,7 @@ exports[`Environment Header renders name and link to app matches the snapshot 1`
<a
class="btn btn-default btn-md gl-button btn btn-default btn-sm"
data-track-
event
="open_review_app"
data-track-
action
="open_review_app"
data-track-label="review_app"
href="http://example.com"
rel="noopener noreferrer nofollow"
...
...
spec/frontend/design_management/components/design_notes/__snapshots__/design_reply_form_spec.js.snap
View file @
bf10fa8d
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Design reply form component renders button text as "Comment" when creating a comment 1`] = `
"<button data-track-
event
=\\"click_button\\" data-qa-selector=\\"save_comment_button\\" type=\\"submit\\" disabled=\\"disabled\\" class=\\"btn gl-mr-3 gl-w-auto! btn-confirm btn-md disabled gl-button\\">
"<button data-track-
action
=\\"click_button\\" data-qa-selector=\\"save_comment_button\\" type=\\"submit\\" disabled=\\"disabled\\" class=\\"btn gl-mr-3 gl-w-auto! btn-confirm btn-md disabled gl-button\\">
<!---->
<!----> <span class=\\"gl-button-text\\">
Comment
...
...
@@ -9,7 +9,7 @@ exports[`Design reply form component renders button text as "Comment" when creat
`;
exports[`Design reply form component renders button text as "Save comment" when creating a comment 1`] = `
"<button data-track-
event
=\\"click_button\\" data-qa-selector=\\"save_comment_button\\" type=\\"submit\\" disabled=\\"disabled\\" class=\\"btn gl-mr-3 gl-w-auto! btn-confirm btn-md disabled gl-button\\">
"<button data-track-
action
=\\"click_button\\" data-qa-selector=\\"save_comment_button\\" type=\\"submit\\" disabled=\\"disabled\\" class=\\"btn gl-mr-3 gl-w-auto! btn-confirm btn-md disabled gl-button\\">
<!---->
<!----> <span class=\\"gl-button-text\\">
Save comment
...
...
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