Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170)

* cicd: Move cypress to selenium+mocha

* cicd: with is not supported unless using an a container

* cicd: relative path to mocha

* cicd: the integration-tests runner now starts/stops OliveTin

* cicd: Knowing the CWD helps debugging

* cicd: Headless chrome

* cicd: wait for integration-test server to be started

* fmt: Mostly fix isses from eslint

* cicd: #169 - Test multiple combo boxes

* fmt: let should be const

* cicd: Remove cypress entirely
This commit is contained in:
James Read
2023-10-09 21:44:29 +00:00
committed by GitHub
parent 77b17604f3
commit 2ada67be04
29 changed files with 1632 additions and 1417 deletions
+4 -16
View File
@@ -34,28 +34,16 @@ jobs:
cache: true
- name: grpc
run: make grpc
run: make -w grpc
- name: make daemon
run: make daemon-compile-x64-lin
run: make -w daemon-compile-x64-lin
- name: unit tests
run: make daemon-unittests
- name: ls
run: ls && pwd
- name: run OliveTin for integration tests
run: ./OliveTin &
run: make -w daemon-unittests
- name: integration tests
uses: cypress-io/github-action@v6
with:
working-directory: integration-tests
spec: cypress/e2e/general/*
- name: kill OliveTin after integration tests
run: killall OliveTin
run: cd integration-tests && make -w
- name: goreleaser
uses: goreleaser/goreleaser-action@v4.2.0