Web UI frontend automated browser tests (#2223)
* First pass at basic browser tests for #1926 * Run tests against dev web server not go server * Bundle the web code into the server before running tests * Move cypress UI tests into its own npm project + add tests * Add additional tests + wire up with cypress dashboard * Limit concurrency of workflow jobs * Temporarily comment out some tests that do not pass in mobile. Will fix later.
This commit is contained in:
19
.github/workflows/browser-testing.yml
vendored
Normal file
19
.github/workflows/browser-testing.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Browser Tests
|
||||
|
||||
on: [push, pull_request_target]
|
||||
|
||||
jobs:
|
||||
cypress-run:
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.18'
|
||||
- name: Run Browser tests
|
||||
run: cd test/automated/browser && ./run.sh
|
||||
Reference in New Issue
Block a user