test: Cypress | Local config file syntax fix (#24500)

## Description
- This pR fixes the cypress.config.ts file syntax error that helps to
run tests locally

#### Type of change
- config filr fix (non-breaking change which fixes an issue)

## Testing

#### How Has This Been Tested?
- [X] Cypress local run

## Checklist:
#### QA activity:
- [X] Added `Test Plan Approved` label after all changes were reviewed
This commit is contained in:
Aishwarya-U-R 2023-06-15 20:02:20 +05:30 committed by GitHub
parent 3adfacbb43
commit bc0ddf14f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ export default defineConfig({
videoUploadOnPasses: false,
videoCompression: false,
numTestsKeptInMemory: 5,
experimentalMemoryManagement : true,
experimentalMemoryManagement: true,
reporterOptions: {
reportDir: "results",
overwrite: false,
@ -28,7 +28,6 @@ export default defineConfig({
env: {
USERNAME: "xxxx",
PASSWORD: "xxx",
},
},
setupNodeEvents(on, config) {
return require("./cypress/plugins/index.js")(on, config);