bugfix: add returning promises on interceptor errors + tests (#2896)
* 🐛 (generalBugs-shard-5.spec.ts): fix test to wait for elements to be interactable before performing actions to prevent flakiness * 📝 (API/api.tsx): return error in promise rejection to handle errors properly 📝 (codeAreaModal/index.tsx): add data-testid attribute to title element for testing purposes ✨ (generalBugs-shard-6.spec.ts): add end-to-end test for error handling in Code Modal * 📝 (generalBugs-shard-6.spec.ts): update test description for better clarity and grammar
This commit is contained in:
parent
7ffcdd2b68
commit
c83006e066
4 changed files with 95 additions and 2 deletions
1
src/frontend/package-lock.json
generated
1
src/frontend/package-lock.json
generated
|
|
@ -789,7 +789,6 @@
|
|||
},
|
||||
"node_modules/@clack/prompts/node_modules/is-unicode-supported": {
|
||||
"version": "1.3.0",
|
||||
"extraneous": true,
|
||||
"inBundle": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue