Skip to content

Commit

Permalink
Merge pull request #304 from tilfinltd/fix/test
Browse files Browse the repository at this point in the history
Fix tests with playwright
  • Loading branch information
tilfin committed Oct 1, 2023
2 parents b1fb6f0 + 1741f13 commit e7a91d0
Show file tree
Hide file tree
Showing 15 changed files with 259 additions and 676 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/action.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
e2e-tests:
runs-on: ubuntu-latest # or macos-latest, windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Install playwright browsers
run: npx playwright install --with-deps
- name: Run tests
run: npm test
- name: Run tests in playwright
run: xvfb-run npm run test_emulator
Loading

0 comments on commit e7a91d0

Please sign in to comment.