Skip to content

FAIRDataTeam/FAIRDataPoint-E2E-Tests

Repository files navigation

FAIR Data Point E2E Tests

E2E test suite for the FAIR Data Point, FAIR Data Point Client, based on Cypress.

Project Structure

  • /cypress
  • /fdp
    • Contains the configuration to run FDP and other associated services in Docker.
    • The actual Docker compose.yml file is generated during initialization.
  • /cypress.json

Environment Variables

When initializing the compose.yml file, the following ENV variables can be used to choose different images to test.

Name Example Default
SERVER_VERSION 1.16 develop
CLIENT_VERSION 1.16 develop

Running the tests

Makefile contains several commands to work with the project.

  • make install - install all the dependencies to run the tests
  • make start - start all containers
  • make stop - stop all containers
  • make run - run tests in headless mode
  • make open - open Cypress app, good for local development
  • make ci - shortcut for the whole workflow in CI
  • make clean - clean all generated files

For convenience, it is also possible to run the tests through npm run test. To add cypress cli options, use --, e.g. npm run test -- <cypress options>.

License

This project is licensed under the MIT License - see the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •