diff options
Diffstat (limited to 'qa/qa/page/profile/accounts/show.rb')
-rw-r--r-- | qa/qa/page/profile/accounts/show.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/qa/qa/page/profile/accounts/show.rb b/qa/qa/page/profile/accounts/show.rb index eec4efe1734..cf7f7d80cfa 100644 --- a/qa/qa/page/profile/accounts/show.rb +++ b/qa/qa/page/profile/accounts/show.rb @@ -11,17 +11,14 @@ module QA view 'app/assets/javascripts/profile/account/components/delete_account_modal.vue' do element :password_confirmation_field - end - - view 'app/assets/javascripts/vue_shared/components/deprecated_modal.vue' do - element :save_changes_button + element :confirm_delete_account_button end def delete_account(password) click_element(:delete_account_button) find_element(:password_confirmation_field).set password - click_element(:save_changes_button) + click_element(:confirm_delete_account_button) end end end |