diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
commit | 7e9c479f7de77702622631cff2628a9c8dcbc627 (patch) | |
tree | c8f718a08e110ad7e1894510980d2155a6549197 /spec/frontend/vue_shared/components/__snapshots__ | |
parent | e852b0ae16db4052c1c567d9efa4facc81146e88 (diff) |
Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42
Diffstat (limited to 'spec/frontend/vue_shared/components/__snapshots__')
3 files changed, 47 insertions, 36 deletions
diff --git a/spec/frontend/vue_shared/components/__snapshots__/awards_list_spec.js.snap b/spec/frontend/vue_shared/components/__snapshots__/awards_list_spec.js.snap index 82503e5a025..04ae2a0f34d 100644 --- a/spec/frontend/vue_shared/components/__snapshots__/awards_list_spec.js.snap +++ b/spec/frontend/vue_shared/components/__snapshots__/awards_list_spec.js.snap @@ -6,10 +6,8 @@ exports[`vue_shared/components/awards_list default matches snapshot 1`] = ` > <button class="btn award-control" - data-boundary="viewport" - data-original-title="Ada, Leonardo, and Marie" data-testid="award-button" - title="" + title="Ada, Leonardo, and Marie" type="button" > <span @@ -32,10 +30,8 @@ exports[`vue_shared/components/awards_list default matches snapshot 1`] = ` </button> <button class="btn award-control active" - data-boundary="viewport" - data-original-title="You, Ada, and Marie" data-testid="award-button" - title="" + title="You, Ada, and Marie" type="button" > <span @@ -58,10 +54,8 @@ exports[`vue_shared/components/awards_list default matches snapshot 1`] = ` </button> <button class="btn award-control" - data-boundary="viewport" - data-original-title="Ada and Jane" data-testid="award-button" - title="" + title="Ada and Jane" type="button" > <span @@ -84,10 +78,8 @@ exports[`vue_shared/components/awards_list default matches snapshot 1`] = ` </button> <button class="btn award-control active" - data-boundary="viewport" - data-original-title="You, Ada, Jane, and Leonardo" data-testid="award-button" - title="" + title="You, Ada, Jane, and Leonardo" type="button" > <span @@ -110,10 +102,8 @@ exports[`vue_shared/components/awards_list default matches snapshot 1`] = ` </button> <button class="btn award-control active" - data-boundary="viewport" - data-original-title="You" data-testid="award-button" - title="" + title="You" type="button" > <span @@ -136,10 +126,8 @@ exports[`vue_shared/components/awards_list default matches snapshot 1`] = ` </button> <button class="btn award-control" - data-boundary="viewport" - data-original-title="Marie" data-testid="award-button" - title="" + title="Marie" type="button" > <span @@ -162,10 +150,8 @@ exports[`vue_shared/components/awards_list default matches snapshot 1`] = ` </button> <button class="btn award-control active" - data-boundary="viewport" - data-original-title="You" data-testid="award-button" - title="" + title="You" type="button" > <span @@ -193,9 +179,7 @@ exports[`vue_shared/components/awards_list default matches snapshot 1`] = ` <button aria-label="Add reaction" class="award-control btn js-add-award js-test-add-button-class" - data-boundary="viewport" - data-original-title="Add reaction" - title="" + title="Add reaction" type="button" > <span diff --git a/spec/frontend/vue_shared/components/__snapshots__/file_row_header_spec.js.snap b/spec/frontend/vue_shared/components/__snapshots__/file_row_header_spec.js.snap index 5ab159a5a84..ca9d4488870 100644 --- a/spec/frontend/vue_shared/components/__snapshots__/file_row_header_spec.js.snap +++ b/spec/frontend/vue_shared/components/__snapshots__/file_row_header_spec.js.snap @@ -5,11 +5,11 @@ exports[`File row header component adds multiple ellipsises after 40 characters class="file-row-header bg-white sticky-top p-2 js-file-row-header" title="app/assets/javascripts/merge_requests/widget/diffs/notes" > - <span + <gl-truncate-stub class="bold" - > - app/assets/javascripts/…/…/diffs/notes - </span> + position="middle" + text="app/assets/javascripts/merge_requests/widget/diffs/notes" + /> </div> `; @@ -18,11 +18,11 @@ exports[`File row header component renders file path 1`] = ` class="file-row-header bg-white sticky-top p-2 js-file-row-header" title="app/assets" > - <span + <gl-truncate-stub class="bold" - > - app/assets - </span> + position="middle" + text="app/assets" + /> </div> `; @@ -31,10 +31,10 @@ exports[`File row header component trucates path after 40 characters 1`] = ` class="file-row-header bg-white sticky-top p-2 js-file-row-header" title="app/assets/javascripts/merge_requests" > - <span + <gl-truncate-stub class="bold" - > - app/assets/javascripts/merge_requests - </span> + position="middle" + text="app/assets/javascripts/merge_requests" + /> </div> `; diff --git a/spec/frontend/vue_shared/components/__snapshots__/integration_help_text_spec.js.snap b/spec/frontend/vue_shared/components/__snapshots__/integration_help_text_spec.js.snap new file mode 100644 index 00000000000..df0fcf5da1c --- /dev/null +++ b/spec/frontend/vue_shared/components/__snapshots__/integration_help_text_spec.js.snap @@ -0,0 +1,27 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`IntegrationHelpText component should not render the link when start and end is not provided 1`] = ` +<span> + Click nowhere! +</span> +`; + +exports[`IntegrationHelpText component should render the help text 1`] = ` +<span> + Click + <gl-link-stub + href="http://bar.com" + target="_blank" + > + + Bar + + <gl-icon-stub + class="gl-vertical-align-middle" + name="external-link" + size="12" + /> + </gl-link-stub> + ! +</span> +`; |