Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2024-01-18 15:08:09 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2024-01-18 15:08:09 +0300
commit823d2f9a2c8796e5061c59595f96a1132641b26a (patch)
tree219b13820bd398acc48f3cc719c7a7bfdf77aa26 /spec/frontend/vue_shared/components
parent627bd5db4e091d0be312c880cbb9139b7c86818b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/vue_shared/components')
-rw-r--r--spec/frontend/vue_shared/components/form/input_copy_toggle_visibility_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/vue_shared/components/form/input_copy_toggle_visibility_spec.js b/spec/frontend/vue_shared/components/form/input_copy_toggle_visibility_spec.js
index b57643a1359..27227ac69dd 100644
--- a/spec/frontend/vue_shared/components/form/input_copy_toggle_visibility_spec.js
+++ b/spec/frontend/vue_shared/components/form/input_copy_toggle_visibility_spec.js
@@ -378,7 +378,7 @@ describe('InputCopyToggleVisibility', () => {
props: {
formInputGroupProps: {
name: 'Foo bar',
- 'data-qa-selector': 'Foo bar',
+ 'data-testid': 'Foo bar',
class: 'Foo bar',
id: 'Foo bar',
},
@@ -387,14 +387,14 @@ describe('InputCopyToggleVisibility', () => {
expect(findFormInput().attributes()).toMatchObject({
name: 'Foo bar',
- 'data-qa-selector': 'Foo bar',
+ 'data-testid': 'Foo bar',
class: expect.stringContaining('Foo bar'),
id: 'Foo bar',
});
const attributesInputGroup = findFormInputGroup().attributes();
expect(attributesInputGroup.name).toBeUndefined();
- expect(attributesInputGroup['data-qa-selector']).toBeUndefined();
+ expect(attributesInputGroup['data-testid']).toBeUndefined();
expect(attributesInputGroup.class).not.toContain('Foo bar');
expect(attributesInputGroup.id).toBeUndefined();
});