e2e_tests/README.md
2023-11-30 16:49:18 +01:00

749 B

GIT Clone

To clone with submodules, use these git commands:

git clone --recurse-submodules <repository>
git submodule update --init    // add submodule after normal cloning
git submodule update --remote  // update submodules

Run without Docker

Installation

Create a python environment and install all dependencies via

pip install -r requirements.txt
playwright install

Run the script with

python main.py

Run with Docker

docker compose build
docker compose run --rm app python ./main.py
docker compose run --rm app pytest
# docker-compose up

Force rebuild with cache

docker-compose up --build

Force rebuild wtihtout cache

docker-compose build --no-cache