PromucFlow_constructor/app/client/cypress/support
Favour Ohanekwu 408cbe2ac4
chore: fix js object flaky tests (#20106)
## Description

- Introduces a new way of filling JS content in cypress tests
- Adds tests to handle invalid export of JS Objects
- Removes redundant "toast wait" function
- Refactors selection of JSAction from state

Fixes #20023 



## Type of change

- Bug fix (non-breaking change which fixes an issue)


## How Has This Been Tested?

- Cypress

### Test Plan
> Add Testsmith test cases links that relate to this PR

### 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
- [ ] My code follows the style guidelines of this project
- [ ] 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-02-01 20:15:25 +05:30
..
Objects feat: move the widget creation CTA off the Entity explorer (#19844) 2023-02-01 17:03:15 +05:30
Pages chore: fix js object flaky tests (#20106) 2023-02-01 20:15:25 +05:30
AdminSettingsCommands.js chore: fix flaky embed settings test (#18491) 2022-11-30 09:42:20 +05:30
ApiCommands.js chore: Fixing lint errors in the Cypress code base (#16504) 2022-09-03 23:57:41 +05:30
commands.js feat: move the widget creation CTA off the Entity explorer (#19844) 2023-02-01 17:03:15 +05:30
Constants.js perf: Widget re-rendering refactor (#14485) 2022-08-19 15:40:36 +05:30
dataSourceCommands.js test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
gitSync.js test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
index.js tests: Add Origin header to all requests (#19439) 2023-01-09 18:10:32 +05:30
queryCommands.js feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
themeCommands.js chore: Makes use of DS components in ThemeControls (#19000) 2022-12-23 15:37:29 +05:30
timeout.js fix: Text getting clipped for Italic font in Table Widget V1 (#15549) 2022-08-16 11:12:31 +05:30
widgetCommands.js test: add common test methods for RBAC (#18968) 2022-12-16 10:45:25 +05:30
WorkspaceCommands.js feat: in-app embed settings (#19023) 2022-12-26 10:41:33 +05:30