* chore: 🤖 replace Rose::CodeEditor with Hds::CodeEditor - Remove CodeEditor 5 dependency * chore: 🤖 Replace CodeMirror5 dep remove CodeMirror5 and replace existing editors with HDS::CodeEditor * chore: 🤖 deleting old codeeditor styles * feat: 🎸 changing code editor changing code editor ✅ Closes: 0 * removed unused export * pr cleanup * updating tests for new code editor * responding to PR feedback * added whitespace * fixing linting violations * chore: 🤖 self-review PR self-review PR in the course of switching to new HDS code editor * fix: 🐛 fix linting bug * fix: 🐛 unneeded dependency remove jslint dependency as this is handled in the new code editor from HDS * fix: 🐛 Fixing import bug Fix import bug caused by importing scss modules that no longer exist * Fix and refactor code editor acceptance test * Fix and refactor code editor acceptance test * chore: 🤖 remove codemirror dependency * refactor: 💡 fix merge conflict issues * test: 💍 update e2e test selectors * test: 💍 fix target spec click event * refactor: 💡 clean up test selectors for code editor * refactor: 💡 clean up storage bucket test selectors * chore: 🤖 remove code mirror modifiers --------- Co-authored-by: calcaide <ccorvo@hashicorp.com> Co-authored-by: cameronperera <cameron.perera@hashicorp.com>
39 lines
1.8 KiB
JavaScript
39 lines
1.8 KiB
JavaScript
/**
|
|
* Copyright IBM Corp. 2021, 2026
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
export const STORAGE_BUCKET_TITLE = 'Storage Buckets';
|
|
export const FIELD_SCOPE = '[name=scope]';
|
|
export const FIELD_PLUGIN_TYPE = '[name=plugin_type]';
|
|
export const FIELD_PLUGIN_TYPE_MINIO = '[value=minio]'; // Provider
|
|
export const FIELD_ENDPOINT_URL = '[name=endpoint_url]';
|
|
export const FIELD_ENDPOINT_URL_VALUE = 'http://www.hashicorp.com';
|
|
export const FIELD_BUCKET_NAME = '[name=bucket_name]';
|
|
export const FIELD_BUCKET_NAME_VALUE = 'Test Bucket name';
|
|
export const FIELD_BUCKET_NAME_ERROR = '[data-test-bucket-name-error]';
|
|
export const FIELD_BUCKET_PREFIX = '[name=bucket_prefix]';
|
|
export const FIELD_REGION = '[name=region]';
|
|
export const GROUP_CREDENTIAL_TYPE = '[name=Type]';
|
|
export const FIELD_STATIC_CREDENTIAL = '[value=static]';
|
|
export const FIELD_DYNAMIC_CREDENTIAL = '[value=dynamic]';
|
|
export const FIELD_ROLE_ARN = '[name=role_arn]';
|
|
export const FIELD_ROLE_ARN_VALUE = 'test-arn-id';
|
|
export const FIELD_ACCESS_KEY = '[name=access_key_id]';
|
|
export const FIELD_ACCESS_KEY_EDIT_BTN =
|
|
'[data-test-access-key-id] [type=button]';
|
|
export const FIELD_ACCESS_KEY_VALUE = '45$#@%!783528';
|
|
export const FIELD_SECRET_KEY = '[name=secret_access_key] ';
|
|
export const FIELD_SECRET_KEY_VALUE = '87^%$#@^86382';
|
|
export const FIELD_SECRET_KEY_EDIT_BTN =
|
|
'[data-test-secret-access-key] [type=button]';
|
|
export const FIELD_WORKER_FILTER = '[name=worker_filter]';
|
|
export const FIELD_WORKER_FILTER_ERROR = '[data-test-worker-filter-error]';
|
|
export const READONLY_WORKER_FILTER = '[data-test-worker-filter]';
|
|
|
|
export const TOAST = '[role=alert] div';
|
|
export const TOAST_SUCCESSFUL_VALUE = 'Saved successfully.';
|
|
|
|
export const TABLE_FIRST_ROW_ACTION_FIRST_ITEM =
|
|
'tbody tr:first-child td:last-child ul li:first-child a';
|