Skip to content

Commit

Permalink
Run cypress tests on release 3.15 (#4892)
Browse files Browse the repository at this point in the history
* Run cy manually on 3.15

* Add base url to config

* Fix run tests on release 3.15

* Fix run tests on release 3.15
  • Loading branch information
karola312 authored May 27, 2024
1 parent b625696 commit 9222e46
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/actions/combineReportsFromE2E/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: combine-e2e-results
description: "Combines reports from matrix and upload them as one"
runs:
using: "composite"
steps:
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: npm
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-qa-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-qa-${{ env.cache-name }}-
${{ runner.os }}-qa-
${{ runner.os }}-
- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
shell: bash
run: NODE_OPTIONS=--max_old_space_size=4096 npm ci
- run: npm ci
shell: bash
working-directory: .github/workflows
- name: Download reports artifacts
uses: actions/download-artifact@v3
with:
path: ./cypress/reports
- name: Create reports dir
shell: bash
continue-on-error: true
run: npm run qa:create-artifacts-dirs
- name: Merge report files
shell: bash
continue-on-error: true
run: npm run qa:generate-html-report
- name: Move artifacts screenshots into reports dir
shell: bash
continue-on-error: true
run: npm run qa:artifact-move-screenshots
- name: Upload reports
uses: actions/upload-artifact@v3
if: always()
with:
name: combined-report
path: ./cypress/reports
retention-days: 5
if-no-files-found: ignore

0 comments on commit 9222e46

Please sign in to comment.