[WIP] Bootstrap end to end tests with cypress
Setup an environment to perform end to end tests using the cypress Test Runner.
Before running the tests, Software Heritage web application is executed in the background using in-memory storages for fetching data contained in a sample archive.
To easily run the tests, two new make targets have been added:
-
test-frontend
: Run tests in headless mode (this should be used in a CI environment) -
test-frontend-ui
: Run tests using the cypress GUI
As an example, a couple of tests regarding the highlighting of lines of code have been added.
Related #1768 (closed)
Migrated from D1565 (view on Phabricator)
Merge request reports
Activity
Build is green See https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/477/ for more details.
Build is green See https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/478/ for more details.
Build is green See https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/479/ for more details.
Some references in the commit message have been migrated:
- T1768 is now #1768 (closed)
- D1565 is now !118 (closed)
mentioned in commit 9ff9c023
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/481/ See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/481/console
Build is green See https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/482/ for more details.
Build is green See https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/483/ for more details.
mentioned in merge request !120 (closed)
mentioned in merge request !110 (closed)