daniel 3fa10aaa69 implement env manager (#6)
* add EnvManager class

* holds all functions that are env file related

* integrates runner dependency resolution

* add integration and unit tests for EnvManager

Reviewed-on: https://git.local-it.org/local-it-infrastructure/e2e_tests/pulls/6
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-12-04 17:09:01 +01:00
2023-12-04 17:09:01 +01:00
2023-12-04 12:46:30 +01:00
2023-12-04 17:09:01 +01:00
2023-12-04 17:09:01 +01:00
2023-11-27 17:01:45 +01:00
2023-12-04 17:09:01 +01:00
2023-11-29 14:14:46 +01:00
2023-12-04 17:09:01 +01:00
2023-12-04 12:46:30 +01:00
2023-12-04 12:46:30 +01:00
2023-12-04 12:46:30 +01:00

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

Codegen

Use playwright codegen to create code for new testes easily https://playwright.dev/python/docs/codegen

playwright codegen demo.playwright.dev/todomvc
S
Description
A Local-IT end-to-end testing prototype with playwright (see main/dev branches for different approaches)
https://git.local-it.org/local-it/e2e_tests
Readme 160 KiB
Languages
Python 100%