Files
threshold-ui/ui/admin/tests/acceptance/accounts/selectors.js
T
Carlos Alcaide Corvo 4020f2d4e2 Icu 15477 refactor credentials update test selectors (#2866)
* Refactor credential-store/credentials update test selectors
2025-06-10 14:19:23 -07:00

23 lines
807 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
export const MANAGE_DROPDOWN_AUTH_METHOD =
'[data-test-manage-auth-method] button';
export const MANAGE_DROPDOWN_ACCOUNT =
'[data-test-manage-account-auth-method] button';
export const MANAGE_DROPDOWN_DELETE_ACCOUNT =
'[data-test-manage-account-auth-method] ul li button';
export const MANAGE_DROPDOWN_CREATE_ACCOUNT =
'[data-test-manage-auth-method] ul li:nth-child(2) a';
export const FIELD_CURRENT_PASSWORD = '[name=currentPassword]';
export const FIELD_CURRENT_PASSWORD_VALUE = 'current password';
export const FIELD_NEW_PASSWORD = '[name=newPassword]';
export const FIELD_NEW_PASSWORD_VALUE = 'new password';
export const FIELD_LOGIN_NAME = '[name=login_name]';
export const FIELD_LOGIN_NAME_VALUE = 'username';