2022-12-16 22:13:59 +00:00
|
|
|
import { SELECTORS as ROLEFORM } from './pki-role-form';
|
2022-12-13 18:37:10 +00:00
|
|
|
import { SELECTORS as GENERATECERT } from './pki-role-generate';
|
2023-01-04 02:00:29 +00:00
|
|
|
import { SELECTORS as KEYFORM } from './pki-key-form';
|
|
|
|
import { SELECTORS as KEYPAGES } from './page/pki-keys';
|
2022-12-21 16:30:24 +00:00
|
|
|
import { SELECTORS as ISSUERDETAILS } from './pki-issuer-details';
|
2023-01-23 19:36:34 +00:00
|
|
|
import { SELECTORS as CONFIGURATION } from './pki-configure-form';
|
2022-12-21 16:30:24 +00:00
|
|
|
|
2022-12-06 20:34:43 +00:00
|
|
|
export const SELECTORS = {
|
|
|
|
breadcrumbContainer: '[data-test-breadcrumbs]',
|
|
|
|
breadcrumbs: '[data-test-breadcrumbs] li',
|
|
|
|
pageTitle: '[data-test-pki-role-page-title]',
|
2023-01-04 02:00:29 +00:00
|
|
|
alertBanner: '[data-test-alert-banner="alert"]',
|
|
|
|
emptyStateTitle: '[data-test-empty-state-title]',
|
2023-01-17 21:30:14 +00:00
|
|
|
emptyStateLink: '.empty-state-actions a',
|
2023-01-04 02:00:29 +00:00
|
|
|
emptyStateMessage: '[data-test-empty-state-message]',
|
2022-12-06 20:34:43 +00:00
|
|
|
// TABS
|
|
|
|
overviewTab: '[data-test-secret-list-tab="Overview"]',
|
|
|
|
rolesTab: '[data-test-secret-list-tab="Roles"]',
|
|
|
|
issuersTab: '[data-test-secret-list-tab="Issuers"]',
|
|
|
|
certsTab: '[data-test-secret-list-tab="Certificates"]',
|
|
|
|
keysTab: '[data-test-secret-list-tab="Keys"]',
|
|
|
|
configTab: '[data-test-secret-list-tab="Configuration"]',
|
|
|
|
// ROLES
|
|
|
|
deleteRoleButton: '[data-test-pki-role-delete]',
|
|
|
|
generateCertLink: '[data-test-pki-role-generate-cert]',
|
|
|
|
signCertLink: '[data-test-pki-role-sign-cert]',
|
|
|
|
editRoleLink: '[data-test-pki-role-edit-link]',
|
|
|
|
createRoleLink: '[data-test-pki-role-create-link]',
|
|
|
|
roleForm: {
|
|
|
|
...ROLEFORM,
|
|
|
|
},
|
2022-12-13 18:37:10 +00:00
|
|
|
generateCertForm: {
|
|
|
|
...GENERATECERT,
|
|
|
|
},
|
2023-01-04 02:00:29 +00:00
|
|
|
// KEYS
|
|
|
|
keyForm: {
|
|
|
|
...KEYFORM,
|
|
|
|
},
|
|
|
|
keyPages: {
|
|
|
|
...KEYPAGES,
|
|
|
|
},
|
|
|
|
// ISSUERS
|
2022-12-21 16:30:24 +00:00
|
|
|
issuerDetails: {
|
|
|
|
title: '[data-test-pki-issuer-page-title]',
|
|
|
|
...ISSUERDETAILS,
|
|
|
|
},
|
2023-01-23 19:36:34 +00:00
|
|
|
// CONFIGURATION
|
|
|
|
configuration: {
|
|
|
|
title: '[data-test-pki-configuration-page-title]',
|
|
|
|
emptyState: '[data-test-configuration-empty-state]',
|
2023-01-23 20:59:46 +00:00
|
|
|
pkiBetaBanner: '[data-test-pki-configuration-banner]',
|
|
|
|
pkiBetaBannerLink: '[data-test-pki-configuration-banner] a',
|
2023-01-23 19:36:34 +00:00
|
|
|
...CONFIGURATION,
|
|
|
|
},
|
2022-12-06 20:34:43 +00:00
|
|
|
};
|