Skip to content

DSEGOG-132 save and save as #1080

DSEGOG-132 save and save as

DSEGOG-132 save and save as #1080

Workflow file for this run

name: Playwright Tests
on:
pull_request:
# By default, the pull_request event type is not triggered when a PR is merged into main
push:
branches:
- main
- develop
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3
with:
node-version: '16.x'
- name: Build Playwright environment
run: docker build --tag playwright-test --file Dockerfile.playwright .
- name: Run playwright tests
run: docker run --env CI=true --volume $PWD/playwright-report:/app/playwright-report playwright-test
- name: Upload test report
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30