diff --git a/.github/workflows/ci-test-hosted.yml b/.github/workflows/ci-test-hosted.yml index 96ca3c483b..d25e7cdf15 100644 --- a/.github/workflows/ci-test-hosted.yml +++ b/.github/workflows/ci-test-hosted.yml @@ -98,7 +98,7 @@ jobs: uses: actions/download-artifact@v3 with: name: failed_spec_ci - path: ~/failed_spec_ci + path: ~/failed_specs # failed_spec_env will contain list of all failed specs # We are using environment variable instead of regular to support multiline @@ -122,7 +122,7 @@ jobs: fi done fi - done < ~/failed_spec_ci/failed_spec_ci + done < ~/failed_specs/failed_spec_ci failed_spec_env=${failed_spec_env#,} echo "failed_spec_env=$failed_spec_env" >> $GITHUB_ENV @@ -221,6 +221,7 @@ jobs: chrome-version: stable - run: | echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV + echo "${{env.BROWSER_PATH}}" # - name: Set Pull Request Title # env: @@ -329,7 +330,6 @@ jobs: CYPRESS_S3_ACCESS: ${{ secrets.CYPRESS_S3_ACCESS }} CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }} with: - browser: ${{ env.BROWSER_PATH }} install: false config-file: cypress_ci_hosted.config.ts working-directory: app/client @@ -400,7 +400,6 @@ jobs: CYPRESS_S3_ACCESS: ${{ secrets.CYPRESS_S3_ACCESS }} CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }} with: - browser: ${{ env.BROWSER_PATH }} install: false config-file: cypress_ci_hosted.config.ts working-directory: app/client @@ -457,16 +456,6 @@ jobs: ~/run_result key: ${{ github.run_id }}-${{ github.job }} - # - name: get cypress url dashboard url - # id: dashboard_url - # if: always() - # run: | - # if [[ "${{steps.run_result.outputs.run_result }}" != "success" && "${{steps.run_result.outputs.run_result }}" != "failedtest" ]]; then - # echo "" >> $GITHUB_OUTPUT - # elif [[ "${{steps.run_result.outputs.run_result }}" == "failedtest" ]]; then - # echo "" >> $GITHUB_OUTPUT - # fi - - name: Generate slack message continue-on-error: true if: always() diff --git a/app/client/cypress/plugins/index.js b/app/client/cypress/plugins/index.js index eb6a9f156a..d24806da51 100644 --- a/app/client/cypress/plugins/index.js +++ b/app/client/cypress/plugins/index.js @@ -76,9 +76,9 @@ module.exports = async (on, config) => { // && browser.isHeadless) { launchOptions.preferences.fullscreen = true; launchOptions.preferences.darkTheme = true; - launchOptions["width"] = 1400; - launchOptions["height"] = 1100; - launchOptions["resizable"] = false; + launchOptions.preferences.width = 1400; + launchOptions.preferences.height = 1100; + launchOptions.preferences.resizable = false; return launchOptions; } });