kanselarij-vlaanderen / frontend-kaleidos

The frontend application of Kaleidos.
2 stars 4 forks source link

Kanselarij Vlaanderen, frontend Kaleidos

Prerequisites

You will need the following things properly installed on your computer.

Installation

Running / Development

Tests

There are multiple make commands ready for you. Check the file Makefile for specifics.

Auto test Requirements

To make these tests work you will need checkout of the project next to the frontend folder. There you will need some customsations in your docker-compose.override.yml

  frontend:
    image: kanselarij/frontend-kaleidos:development
    ports:
      - 127.0.0.1:80:80
    networks:
      - default

Running the full suite:

Running a specific test:

Preparation of the Data:

These commands are used in the above commands. you only need them if you want to reset the DB in between tests or ad hoc.

End to end steps to run the tests:

  1. In the project run docker-compose up -d make sure every service is up and running.
  2. Make sure your frontend is running on port 4200 also. Issueing the command npm start in the frontend should do the trick.
  3. Also in the frontend: issue the make run-cypress-tests-headless command. Your tests are now running.