diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-17 14:33:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-17 14:33:21 +0300 |
commit | 7021455bd1ed7b125c55eb1b33c5a01f2bc55ee0 (patch) | |
tree | 5bdc2229f5198d516781f8d24eace62fc7e589e9 /spec/frontend/admin/users/components/associations/__snapshots__/associations_list_spec.js.snap | |
parent | 185b095e93520f96e9cfc31d9c3e69b498cdab7c (diff) |
Add latest changes from gitlab-org/gitlab@15-6-stable-eev15.6.0-rc42
Diffstat (limited to 'spec/frontend/admin/users/components/associations/__snapshots__/associations_list_spec.js.snap')
-rw-r--r-- | spec/frontend/admin/users/components/associations/__snapshots__/associations_list_spec.js.snap | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/spec/frontend/admin/users/components/associations/__snapshots__/associations_list_spec.js.snap b/spec/frontend/admin/users/components/associations/__snapshots__/associations_list_spec.js.snap new file mode 100644 index 00000000000..dc98d367af7 --- /dev/null +++ b/spec/frontend/admin/users/components/associations/__snapshots__/associations_list_spec.js.snap @@ -0,0 +1,34 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`AssociationsList when counts are 0 does not render items 1`] = `""`; + +exports[`AssociationsList when counts are plural renders plural counts 1`] = ` +"<ul class=\\"gl-mb-5\\"> + <li><strong>2</strong> groups</li> + <li><strong>3</strong> projects</li> + <li><strong>4</strong> issues</li> + <li><strong>5</strong> merge requests</li> +</ul>" +`; + +exports[`AssociationsList when counts are singular renders singular counts 1`] = ` +"<ul class=\\"gl-mb-5\\"> + <li><strong>1</strong> group</li> + <li><strong>1</strong> project</li> + <li><strong>1</strong> issue</li> + <li><strong>1</strong> merge request</li> +</ul>" +`; + +exports[`AssociationsList when there is an error displays an alert 1`] = ` +"<div class=\\"gl-mb-5 gl-alert gl-alert-not-dismissible gl-alert-danger\\"><svg data-testid=\\"error-icon\\" role=\\"img\\" aria-hidden=\\"true\\" class=\\"gl-icon s16 gl-alert-icon gl-alert-icon-no-title\\"> + <use href=\\"#error\\"></use> + </svg> + <div role=\\"alert\\" aria-live=\\"assertive\\" class=\\"gl-alert-content\\"> + <!----> + <div class=\\"gl-alert-body\\">An error occurred while fetching this user's contributions, and the request cannot return the number of issues, merge requests, groups, and projects linked to this user. If you proceed with deleting the user, all their contributions will still be deleted.</div> + <!----> + </div> + <!----> +</div>" +`; |