CodeEditor: Improved styles when the code editor is loading (#88102)

* fix: monaco loading state

* chore: betterer

* test: leverage e2e selectors

* refactor: prefer HOC to wrap with testid

* refactor: add clarity

* docs: add clarity

* refactor: loading messaging

* test: rename vars to improve clarity

* test: rename vars to improve clarity
This commit is contained in:
Nick Richmond
2024-05-29 15:55:18 -04:00
committed by GitHub
parent 5de7d4d06d
commit 7334f71e09
8 changed files with 56 additions and 10 deletions

View File

@@ -526,6 +526,9 @@ export const Components = {
CodeEditor: {
container: 'data-testid Code editor container',
},
ReactMonacoEditor: {
container: 'data-testid ReactMonacoEditor container',
},
DashboardImportPage: {
textarea: 'data-testid-import-dashboard-textarea',
submit: 'data-testid-load-dashboard',