test: Cypress | Flaky fixes (#24719)
## Description
- This PR fixes the below flaky tests:
- cy.visit timeout handled - response timeout increased
- ElasticSearch container - taking time to start in EE run - increasing
timeout
#### Type of change
- Script fix (non-breaking change which fixes an issue)
## Testing
>
#### How Has This Been Tested?
- [X] Cypress CI runs
## Checklist:
#### QA activity:
- [X] Added `Test Plan Approved` label after changes are reviewed
This commit is contained in:
parent
91325d258e
commit
a8345c1ae4
10
.github/workflows/test-build-docker-image.yml
vendored
10
.github/workflows/test-build-docker-image.yml
vendored
|
|
@ -14,7 +14,6 @@ on:
|
|||
- "!app/client/cypress/manual_TestSuite/**"
|
||||
|
||||
jobs:
|
||||
|
||||
server-build:
|
||||
name: server-build
|
||||
uses: ./.github/workflows/server-build.yml
|
||||
|
|
@ -37,7 +36,7 @@ jobs:
|
|||
pr: 0
|
||||
|
||||
build-docker-image:
|
||||
needs: [ client-build, server-build, rts-build ]
|
||||
needs: [client-build, server-build, rts-build]
|
||||
# Only run if the build step is successful
|
||||
if: success()
|
||||
name: build-docker-image
|
||||
|
|
@ -47,7 +46,7 @@ jobs:
|
|||
pr: 0
|
||||
|
||||
perf-test:
|
||||
needs: [ build-docker-image ]
|
||||
needs: [build-docker-image]
|
||||
# Only run if the build step is successful
|
||||
if: success()
|
||||
name: perf-test
|
||||
|
|
@ -57,7 +56,7 @@ jobs:
|
|||
pr: 0
|
||||
|
||||
perf-test-v2:
|
||||
needs: [ build-docker-image ]
|
||||
needs: [build-docker-image]
|
||||
# Only run if the build step is successful
|
||||
if: success()
|
||||
name: perf-test
|
||||
|
|
@ -66,9 +65,8 @@ jobs:
|
|||
with:
|
||||
pr: 0
|
||||
|
||||
|
||||
ci-test:
|
||||
needs: [ build-docker-image ]
|
||||
needs: [build-docker-image]
|
||||
# Only run if the build step is successful
|
||||
if: success()
|
||||
name: ci-test
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ export default defineConfig({
|
|||
watchForFileChanges: false,
|
||||
defaultCommandTimeout: 30000,
|
||||
requestTimeout: 60000,
|
||||
responseTimeout: 30000,
|
||||
responseTimeout: 60000,
|
||||
pageLoadTimeout: 60000,
|
||||
videoUploadOnPasses: false,
|
||||
videoCompression: false,
|
||||
|
|
|
|||
|
|
@ -1391,7 +1391,7 @@ export class DataSources {
|
|||
public StartContainerNVerify(
|
||||
containerType: "MsSql" | "Arango" | "Elasticsearch",
|
||||
containerName: string,
|
||||
timeout = 30000,
|
||||
timeout = 40000,
|
||||
) {
|
||||
let containerCommand = "";
|
||||
switch (containerType) {
|
||||
|
|
|
|||
|
|
@ -513,6 +513,7 @@ export class HomePage {
|
|||
this.agHelper.GetNClick(this._forkApp);
|
||||
this.agHelper.AssertElementVisible(this._forkModal);
|
||||
this.agHelper.ClickButton("Fork");
|
||||
this.assertHelper.AssertNetworkStatus("getWorkspace");
|
||||
}
|
||||
|
||||
public DeleteApplication(appliName: string) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { defineConfig } from "cypress";
|
|||
export default defineConfig({
|
||||
defaultCommandTimeout: 30000,
|
||||
requestTimeout: 60000,
|
||||
responseTimeout: 30000,
|
||||
responseTimeout: 60000,
|
||||
pageLoadTimeout: 60000,
|
||||
videoUploadOnPasses: false,
|
||||
videoCompression: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user