diff options
Diffstat (limited to 'app/helpers/ssh_keys_helper.rb')
-rw-r--r-- | app/helpers/ssh_keys_helper.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/helpers/ssh_keys_helper.rb b/app/helpers/ssh_keys_helper.rb index 6100093b7c2..57bc873d446 100644 --- a/app/helpers/ssh_keys_helper.rb +++ b/app/helpers/ssh_keys_helper.rb @@ -7,11 +7,11 @@ module SshKeysHelper { path: path, method: 'delete', - qa_selector: 'delete_ssh_key_button', + testid: 'delete-ssh-key-button', title: title, aria_label: title, modal_attributes: { - 'data-qa-selector': 'ssh_key_delete_modal', + 'data-testid': 'ssh-key-delete-modal', title: _('Are you sure you want to delete this SSH key?'), message: _('This action cannot be undone, and will permanently delete the %{key} SSH key') % { key: key.title }, okVariant: 'danger', @@ -29,11 +29,9 @@ module SshKeysHelper { path: path, method: 'delete', - qa_selector: 'revoke_ssh_key_button', title: title, aria_label: title, modal_attributes: { - 'data-qa-selector': 'ssh_key_revoke_modal', title: _('Are you sure you want to revoke this SSH key?'), message: _('This action cannot be undone, and will permanently delete the %{key} SSH key. All commits signed using this SSH key will be marked as unverified.') % { key: key.title }, okVariant: 'danger', |