## Description - This PR upgrades cypress from 11.2 to 12.13.0 which fixes the random browser crash issue in CI runs - ValidateNetworkStatus() updates to validate the n/w responses - cy.route() to cy.intercept() - Converting dataSources.json to HostPort.ts - Api responses read - updating to right Cy12 supported format - js inconsistent testJsontext to TS `EnterJSContext` in few failing specs - CI - higher resolution trials - Improves _.agHelper.RefreshPage() - fixing Error: Socket closed before finished writing response - AssertDocumentReady() created - within(()) & .children() - handled for Cy12 - Improved DeployApp(), NavigateBacktoEditor(), RefreshPage(), AddDsl() methods - js inconsistent goToEditFromPublish to TS `NavigateBacktoEditor` in all specs - js inconsistent PublishtheApp to TS `_.agHelper.DeployApp` in all specs - Convert /DynamicHeight/Text_Widget_spec.js to TS with all supporting TS helpers - ToggleJSMode() - COMMIT_INFO_MESSAGE improved - Remove tooltip on the Application Name after rename - js inconsistent cy.addDsl(dsl); to TS helper `_.agHelper.AddDsl(val);` - ++++ Much more improvements.... #### Type of change - Script fixes ## Testing #### How Has This Been Tested? - [X] Cypress ## Checklist: #### QA activity: - [X] Added `Test Plan Approved` label after Cypress tests were reviewed --------- Co-authored-by: Vijetha-Kaja <vijetha@appsmith.com>
69 lines
1.7 KiB
YAML
69 lines
1.7 KiB
YAML
name: Build Client, Server & Run only Cypress
|
|
|
|
on:
|
|
# This workflow can be triggered manually from the GitHub Actions page
|
|
workflow_dispatch:
|
|
inputs:
|
|
previous_run_id:
|
|
description: 'Run id to download the docker image artifact:'
|
|
required: false
|
|
type: string
|
|
default: "0"
|
|
|
|
jobs:
|
|
server-build:
|
|
name: server-build
|
|
if: inputs.previous_run_id == '0'
|
|
uses: ./.github/workflows/server-build.yml
|
|
secrets: inherit
|
|
with:
|
|
pr: 0
|
|
skip-tests: "true"
|
|
|
|
client-build:
|
|
name: client-build
|
|
if: inputs.previous_run_id == '0'
|
|
uses: ./.github/workflows/client-build.yml
|
|
secrets: inherit
|
|
with:
|
|
pr: 0
|
|
skip-tests: "true"
|
|
|
|
rts-build:
|
|
name: rts-build
|
|
if: inputs.previous_run_id == '0'
|
|
uses: ./.github/workflows/rts-build.yml
|
|
secrets: inherit
|
|
with:
|
|
pr: 0
|
|
|
|
build-docker-image:
|
|
needs: [ client-build, server-build, rts-build ]
|
|
# Only run if the build step is successful
|
|
if: success() && inputs.previous_run_id == '0'
|
|
name: build-docker-image
|
|
uses: ./.github/workflows/build-docker-image.yml
|
|
secrets: inherit
|
|
with:
|
|
pr: 0
|
|
|
|
ci-test-limited:
|
|
needs: [ build-docker-image ]
|
|
# Only run if the build step is successful
|
|
if: success() && inputs.previous_run_id == '0'
|
|
name: ci-test-limited
|
|
uses: ./.github/workflows/ci-test-limited.yml
|
|
secrets: inherit
|
|
with:
|
|
pr: 0
|
|
|
|
ci-test-limited-existing-docker-image:
|
|
# Only run if the previous run-id is provided
|
|
if: inputs.previous_run_id != '0'
|
|
name: ci-test-limited-existing-image
|
|
uses: ./.github/workflows/ci-test-limited.yml
|
|
secrets: inherit
|
|
with:
|
|
pr: 0
|
|
previous-workflow-run-id: ${{ fromJson(inputs.previous_run_id) }}
|