Skip to content

Feedback Prompts Response Type Selection (#742) #382

Feedback Prompts Response Type Selection (#742)

Feedback Prompts Response Type Selection (#742) #382

Workflow file for this run

# Ensures e2e tests are run before merging into production branch
name: Prytaneum Test end-to-end
on:
push:
branches:
- staging
paths:
- 'app/client/**'
- 'app/server/**'
- 'app/e2e/**'
pull_request:
branches:
- staging
paths:
- 'app/e2e/**'
workflow_dispatch:
jobs:
e2e:
name: E2E Testing
runs-on: ubuntu-latest
environment: development
timeout-minutes: 60
steps:
- name: Setup
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Yarn Install
run: yarn install
- name: Prisma Generate
run: yarn workspace @app/server generate
- name: Install Playwright
run: yarn workspace @app/e2e run playwright install --with-deps
# Adding extra browser for testing on edge since it is not included by default
- name: Install Playwright Microsoft Edge
run: yarn workspace @app/e2e run playwright install msedge
- name: Run Playwright tests
run: yarn workspace @app/e2e run test:ci
- name: Generate Allure Report
run: yarn workspace @app/e2e run allure:generate-report
- uses: actions/upload-artifact@v2
if: always()
with:
name: test-results
path: app/e2e/test-results/
retention-days: 30