diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml index 04f011a597b1..fdfce1bf45a5 100644 --- a/.github/workflows/ci-test-custom-script.yml +++ b/.github/workflows/ci-test-custom-script.yml @@ -302,6 +302,7 @@ jobs: fi - name: Run the cypress test + uses: cypress-io/github-action@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CYPRESS_USERNAME: ${{ secrets.CYPRESS_USERNAME }} @@ -370,14 +371,13 @@ jobs: CYPRESS_SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_ACCOUNT_NAME }} CYPRESS_SNOWFLAKE_USERNAME: ${{ secrets.SNOWFLAKE_USERNAME }} CYPRESS_SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} - NODE_ENV: development - run: | - cd app/client - npx cypress-repeat-pro run -n 3 --rerun-failed-only \ - --spec "${{ inputs.spec }}" \ - --config-file "cypress_ci_custom.config.ts" \ - --browser "${{ env.BROWSER_PATH }}" - cat cy-repeat-summary.txt + with: + browser: ${{ env.BROWSER_PATH }} + install: false + config-file: cypress_ci_custom.config.ts + spec: ${{ inputs.spec }} + working-directory: app/client + env: "NODE_ENV=development" - name: Trim number of cypress log files if: failure()