diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-14 21:08:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-14 21:08:55 +0300 |
commit | 3828d19ab2d68dd6cafa6f08221e1eee572671e7 (patch) | |
tree | afd36fcf20499d876493bf24bd9f0ee926454547 /spec/frontend/pages | |
parent | 3e764061b3209d4deee2a55851d5d564a9f19d8b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pages')
-rw-r--r-- | spec/frontend/pages/profiles/password_prompt/password_prompt_modal_spec.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/frontend/pages/profiles/password_prompt/password_prompt_modal_spec.js b/spec/frontend/pages/profiles/password_prompt/password_prompt_modal_spec.js index 439bb342d01..18a0098a715 100644 --- a/spec/frontend/pages/profiles/password_prompt/password_prompt_modal_spec.js +++ b/spec/frontend/pages/profiles/password_prompt/password_prompt_modal_spec.js @@ -25,8 +25,7 @@ describe('Password prompt modal', () => { const findField = () => wrapper.findByTestId('password-prompt-field'); const findModal = () => wrapper.findComponent(GlModal); const findConfirmBtn = () => findModal().props('actionPrimary'); - const findConfirmBtnDisabledState = () => - findModal().props('actionPrimary').attributes[2].disabled; + const findConfirmBtnDisabledState = () => findModal().props('actionPrimary').attributes.disabled; const findCancelBtn = () => findModal().props('actionCancel'); |