OpenSlides/.github/workflows/test-integration.yml
Sean 85c0e50c21 Integration tests using cypress
Test client integration (client loads)
Test auth integration (client logs in)
Test backend integration (accept request)
  - broken
Test autoupdate integration (sends au to client)

Add manual cypress tests
Add dockered cypress tests

Add Readme
Add test execution to makefile
Add test execution to github-actions

TODO:
- Create user for tests
- flush db after every test
2021-09-16 17:16:51 +02:00

23 lines
493 B
YAML

---
name: Run integration tests (cypress)
on: [push, pull_request]
jobs:
run-cypress:
name: "Runs integration tests in cypress"
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build and run OS4 Dev
run: make run-dev ARGS="-d"
- name: Run integration tests (cypress docker)
run: make cypress-docker
- name: Stop OS4
run: make stop-dev