* refactor: 💡 workers test - create,delete,read,update * fix: 🐛 address comments
18 lines
601 B
JavaScript
18 lines
601 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
export const FIELD_WORKER_AUTH_REGISTRATION =
|
|
'[name="worker_auth_registration_request"]';
|
|
export const FIELD_WORKER_AUTH_REGISTRATION_VALUE = 'token';
|
|
|
|
export const WORKER_CREATE_SECTION_FORM_LABEL =
|
|
'.worker-create-section label.hds-form-label';
|
|
export const WORKER_CREATE_SECTION = '.worker-create-section';
|
|
|
|
export const MANAGE_DROPDOWN_WORKER =
|
|
'[data-test-manage-worker-dropdown] button:first-child';
|
|
export const MANAGE_DROPDOWN_WORKER_REMOVE =
|
|
'[data-test-manage-worker-dropdown] div:nth-child(2) button';
|