diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-14 11:41:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-14 11:41:52 +0300 |
commit | 585826cb22ecea5998a2c2a4675735c94bdeedac (patch) | |
tree | 5b05f0b30d33cef48963609e8a18a4dff260eab3 /spec/frontend/vue_shared/components/form/input_copy_toggle_visibility_spec.js | |
parent | df221d036e5d0c6c0ee4d55b9c97f481ee05dee8 (diff) |
Add latest changes from gitlab-org/gitlab@16-6-stable-eev16.6.0-rc42
Diffstat (limited to 'spec/frontend/vue_shared/components/form/input_copy_toggle_visibility_spec.js')
-rw-r--r-- | spec/frontend/vue_shared/components/form/input_copy_toggle_visibility_spec.js | 4 |
1 files changed, 2 insertions, 2 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 72a0eb98a07..b57643a1359 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 @@ -44,11 +44,11 @@ describe('InputCopyToggleVisibility', () => { }; function expectInputToBeMasked() { - expect(findFormInput().element.type).toBe('password'); + expect(findFormInput().classes()).toContain('input-copy-show-disc'); } function expectInputToBeRevealed() { - expect(findFormInput().element.type).toBe('text'); + expect(findFormInput().classes()).not.toContain('input-copy-show-disc'); expect(findFormInput().element.value).toBe(valueProp); } |