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:
Diffstat (limited to 'spec/frontend/admin/signup_restrictions/components/signup_checkbox_spec.js')
-rw-r--r--spec/frontend/admin/signup_restrictions/components/signup_checkbox_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/admin/signup_restrictions/components/signup_checkbox_spec.js b/spec/frontend/admin/signup_restrictions/components/signup_checkbox_spec.js
index 9e55716cc30..463455573ee 100644
--- a/spec/frontend/admin/signup_restrictions/components/signup_checkbox_spec.js
+++ b/spec/frontend/admin/signup_restrictions/components/signup_checkbox_spec.js
@@ -10,7 +10,7 @@ describe('Signup Form', () => {
helpText: 'some help text',
label: 'a label',
value: true,
- dataQaSelector: 'qa_selector',
+ dataTestId: 'test-id',
};
const mountComponent = () => {
@@ -55,7 +55,7 @@ describe('Signup Form', () => {
});
it('gets passed data qa selector', () => {
- expect(findCheckbox().attributes('data-qa-selector')).toBe(props.dataQaSelector);
+ expect(findCheckbox().attributes('data-testid')).toBe(props.dataTestId);
});
});
});