Fixes #22878 This pr adds a flag called 'rapidMode' in cypress index file. ``` cypress/support/index.js let rapidMode = { enabled: false, // Set it to true to skip app creation during a test re-run appName: "4a9b62a0", // Replace it with your app name pageName: "page1", // Replace it with the page name pageID: "644f8d6e21506c33a366854b", // Replace it with pageID url: function () { return `app/${this.appName}/${this.pageName}-${this.pageID}/edit`; }, }; ``` When rapid mode is enabled, the cypress test will 1. Skip relogin if the test user is already logged in. 2. Skip creation of a new app and use a previously created app, passed as param. The flag needs to be disabled when the code needs to be merged to release, and is meant for debugging/testing while writing tests on local development setup only. When enabled, a cypress test saves around 25 sec per rerun. Future fixes would include skipping multiple workspace page visit if a developer is using dsl for setting up fixtures. It would save around another 10-15 seconds per test re-run. |
||
|---|---|---|
| .. | ||
| .husky | ||
| cypress | ||
| docker | ||
| generators | ||
| packages | ||
| patches | ||
| perf | ||
| public | ||
| src | ||
| test | ||
| typings | ||
| .babelrc | ||
| .dockerignore | ||
| .editorconfig | ||
| .eslintrc.json | ||
| .gitignore | ||
| .lintstagedrc | ||
| .nvmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| .sentryclirc | ||
| build.sh | ||
| craco.build.config.js | ||
| craco.common.config.js | ||
| craco.dev.config.js | ||
| cypress_ci.json | ||
| cypress.json | ||
| Dockerfile | ||
| download-assets.js | ||
| jest.config.js | ||
| package.json | ||
| README.md | ||
| README.old.md | ||
| start-https.sh | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.path.json | ||
| vercel.json | ||
| yarn.lock | ||
Appsmith Client
This project was bootstrapped with Create React App.
For details on setting up your development machine, please refer to the Setup Guide