Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 33 additions & 37 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,45 @@
name: playwright
name: e2e

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

branches: ["main"]
workflow_dispatch:

jobs:
test:
playwright:
name: Playwright example app e2e
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.40.1-jammy
steps:

- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc

- name: Install fc dependencies
run: npm i

- name: Install example app npm dependencies
run: npm i
working-directory: ./example_app/server

- name: Install playwright dependencies
run: npm i
working-directory: ./example_app/tests-e2e

- name: Run Server
run: PORT=9000 FULLCIRCLE_HOST=http://localhost:8000 npm run start-with-fc &
working-directory: ./example_app/server

- name: Run Playwright tests
working-directory: ./example_app/tests-e2e
run: npx playwright test

- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm

- name: Install FullCircle dependencies
run: npm ci

- name: Install example app dependencies
run: npm ci
working-directory: ./example_app/server

- name: Install Playwright e2e dependencies
run: npm ci
working-directory: ./example_app/tests-e2e

- name: Run Playwright e2e tests
run: npm test
working-directory: ./example_app/tests-e2e

- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: example_app/tests-e2e/playwright-report/
retention-days: 30
399 changes: 399 additions & 0 deletions docs/case-studies/soundspace-provider-plan.md

Large diffs are not rendered by default.

Loading
Loading