Skip to content

E2E tests for OpenRefine metadata extension

License

Notifications You must be signed in to change notification settings

FAIRDataTeam/OpenRefine-metadata-E2E-Tests

Repository files navigation

OpenRefine metadata E2E Tests

E2E test suite for the FAIR Data Point, FAIR Data Point Client and Open Refine Metadata Extension 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.
  • /scripts
    • Additional utility scripts.
  • /cypress.json

Environment Variables

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

ENV Default
SERVER_IMAGE fairdata/fairdatapoint:develop
CLIENT_IMAGE fairdata/fairdatapoint-client:develop
OPEN_REFINE_IMAGE fairdata/openrefine-metadata-extension:develop

Running the tests

Makefile contains several commands to work with the project.

  • make install - install all the dependencies to run the tests
  • make init - initialize docker-compose so that the project can run
  • 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

License

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

Releases

No releases published

Packages

No packages published