PromucFlow_constructor/app/client/cypress
Rishabh Rathod df876c70fd
fix: remove incorrect uncaughtPromiseRejection error (#19076)
## Description

TL;DR:- Remove `uncaughtPromiseRejection:` from the error where the
issue is of a different type.

For example, when the user makes a type error in the async field like
`button.onClick`. Currently, the user notices a
`UncaughtPromiseRejection` error instead of TypeError or ReferenceError.

This PR makes sure to show relevant TypeError or ReferenceError for such
cases.

## Type of change

- Bug fix


## How Has This Been Tested?

- Cypress

### Test Plan


### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)


## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-01-02 13:10:24 +05:30
..
fixtures fix: Save JS Execution data on trigger (#18940) 2022-12-30 13:31:08 +01:00
integration fix: remove incorrect uncaughtPromiseRejection error (#19076) 2023-01-02 13:10:24 +05:30
locators fix: update button states to secondary (#19048) 2022-12-29 11:08:13 +00:00
manual_TestSuite fix: show more modal of a truncated text widget is flickering (#18888) 2022-12-14 13:43:43 +05:30
patches test: Script updates for flaky fixes (#16143) 2022-08-24 19:53:41 +05:30
plugins Cypress version upgrade for timeout issue resolution (#15917) 2022-08-16 09:31:16 +05:30
snapshots/Smoke_TestSuite/ClientSideTests/VisualTests chore: Update Logo/Favicon url + remove EE cypress code for Branding + Update screenshots tests (#18872) 2022-12-15 14:59:26 +05:30
support fix: Save JS Execution data on trigger (#18940) 2022-12-30 13:31:08 +01:00
.eslintrc.json
apply-patches.js test: Script updates for flaky fixes (#16143) 2022-08-24 19:53:41 +05:30
cypress-docker-compose.yml
index.ts
init-mysql-dump-for-test.sql
init-pg-dump-for-test.sql
setup-test-fat.sh Removed the conflicting part with TED (#16022) 2022-08-16 11:01:25 +05:30
setup-test.sh Fix TED run command updated (#16089) 2022-08-18 10:09:12 +05:30
test.sh
tsconfig.json fix: rts version file moved to src (#15963) 2022-08-12 21:10:50 +05:30
xataadd.sh ci: Comment failing tests to PR (#18450) 2022-12-19 16:23:39 +05:30
xatadel.sh ci: Comment failing tests to PR (#18450) 2022-12-19 16:23:39 +05:30