Skip to content

Feat / Hero and HeroShelf improvements #1122

Feat / Hero and HeroShelf improvements

Feat / Hero and HeroShelf improvements #1122

Workflow file for this run

name: Web - Test - End to End
on:
pull_request:
push:
branches: ['develop', 'release']
schedule:
- cron: '30 3 * * 1-5'
workflow_dispatch:
defaults:
run:
working-directory: ./platforms/web
jobs:
test-e2e:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config: [desktop, mobile]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install dependencies
run: |
yarn
yarn global add wait-on
- name: Start preview server
run: yarn start:test &
- name: Run tests
run: wait-on -v -t 60000 -c ./scripts/waitOnConfig.js http-get://localhost:8080 && yarn codecept:${{ matrix.config }}
env:
TEST_RETRY_COUNT: 2
WORKER_COUNT: 2
- name: Uploading artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: allure-report-${{ matrix.config }}
path: ./platforms/web/test-e2e/output/${{ matrix.config }}
retention-days: 7