From ef6be16f742137ba31d5fc67f411f953cab4d60b Mon Sep 17 00:00:00 2001 From: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Date: Mon, 14 Mar 2022 10:00:13 +0530 Subject: [PATCH] test: Cypress env for fat container (#11792) * added cypress_fat.json as config * Create cypress_fat.json --- .../workflows/test-build-docker-image-fat.yml | 2 ++ app/client/cypress_fat.json | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 app/client/cypress_fat.json diff --git a/.github/workflows/test-build-docker-image-fat.yml b/.github/workflows/test-build-docker-image-fat.yml index 9c454993a5..9654dde3bf 100644 --- a/.github/workflows/test-build-docker-image-fat.yml +++ b/.github/workflows/test-build-docker-image-fat.yml @@ -595,6 +595,7 @@ jobs: record: true install: false parallel: true + config-file: cypress_fat.json group: "Electrons on Github Action Fat Container" spec: "cypress/integration/Smoke_TestSuite_Fat/**/*" working-directory: app/client @@ -627,6 +628,7 @@ jobs: record: true install: false parallel: true + config-file: cypress_fat.json group: "Electrons on Github Action" spec: ${{ env.failed_spec_env }} working-directory: app/client diff --git a/app/client/cypress_fat.json b/app/client/cypress_fat.json new file mode 100644 index 0000000000..99772d5c04 --- /dev/null +++ b/app/client/cypress_fat.json @@ -0,0 +1,28 @@ +{ + "baseUrl": "http://localhost/", + "defaultCommandTimeout": 20000, + "requestTimeout": 21000, + "pageLoadTimeout": 20000, + "video": true, + "videoUploadOnPasses": false, + "reporter": "mochawesome", + "reporterOptions": { + "reportDir": "results", + "overwrite": false, + "html": true, + "json": false + }, + "ignoreTestFiles": [ + "**/Smoke_TestSuite/Application/PgAdmin_spec*.js", + "**/Smoke_TestSuite/ClientSideTests/DisplayWidgets/Table_Filter_spec*.js", + "**/Smoke_TestSuite/ClientSideTests/Onboarding/FirstTimeUserOnboarding_spec*.js", + "**/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js" + ], + "chromeWebSecurity": false, + "viewportHeight": 900, + "viewportWidth": 1400, + "retries": { + "runMode": 2, + "openMode": 0 + } +}