HomeSoftware Heritage

[WIP] Bootstrap end to end tests with cypress

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

[WIP] Bootstrap end to end tests with cypress

Summary:
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 T1768

Reviewers: Reviewers

Subscribers: shisus, kalpitk

Differential Revision: https://forge.softwareheritage.org/D1565

Details

Provenance
anlambertAuthored on Jun 11 2019, 10:29 AM
vlorentzCommitted on Jun 11 2019, 10:29 AM
vlorentzPushed on Jun 11 2019, 1:19 PM
Differential Revision
D1565: [WIP] Bootstrap end to end tests with cypress
Build Status
Buildable 6137
Build 8457: test-and-build

Commit No Longer Exists

This commit no longer exists in the repository.