Automated browser testing (#1415)

* Move automated api tests to api directory

* First pass at automated browser testing
This commit is contained in:
Gabe Kangas
2021-09-17 14:04:09 -07:00
committed by GitHub
parent 5fc8465746
commit cc6b257470
29 changed files with 9094 additions and 25 deletions

14
.github/workflows/automated-browser.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: Automated browser tests
on: [push, pull_request]
jobs:
browser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run browser tests
run: cd test/automated/browser && ./run.sh
- uses: actions/upload-artifact@v2
with:
name: screenshots-${{ github.run_id }}
path: test/automated/browser/screenshots/*.png

View File

@@ -0,0 +1,21 @@
name: Automated API tests
on:
push:
paths-ignore:
- 'webroot/**'
- pkged.go
pull_request:
paths-ignore:
- 'webroot/**'
- pkged.go
jobs:
api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run API tests
run: cd test/automated/api && ./run.sh

View File

@@ -1,16 +0,0 @@
name: Automated end to end tests
on:
push:
# branches:
# - develop
pull_request:
branches: develop
jobs:
Jest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup and run
run: cd test/automated && ./run.sh