18 lines
575 B
JavaScript
18 lines
575 B
JavaScript
/**
|
|||
|
|
* Copyright (c) HashiCorp, Inc.
|
||
|
|
* SPDX-License-Identifier: BUSL-1.1
|
||
|
|
*/
|
||
|
|
|
||
|
|
export const SAVE_BTN = '[type=submit]';
|
||
|
|
export const CANCEL_BTN = '.rose-form-actions [type=button]';
|
||
|
|
export const EDIT_BTN = '.rose-form-actions [type=button]';
|
||
|
|
|
||
|
|
export const FIELD_NAME = '[name=name]';
|
||
|
|
export const FIELD_NAME_VALUE = 'Random name';
|
||
|
|
|
||
|
|
export const TABLE_FIRST_ROW_RESOURCE_LINK = 'tbody tr:first-child a';
|
||
|
|
|
||
|
|
export const RESOURCE_NOT_FOUND_SUBTITLE = '.rose-message-subtitle';
|
||
|
|
export const RESOURCE_NOT_FOUND_VALUE = 'Error 404';
|
||
|
|
|
||
|
|
export const HREF = (url) => `[href="${url}"]`;
|