Skip to content

Commit f4781c1

Browse files
committed
Add playwright browser install to make config
Include a note in the README as well. Ensures local dev setup is configured correctly to run tests after a call to `make config`.
1 parent be3641a commit f4781c1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
include scripts/shared.mk
42

53
clean:: _clean-docker # Clean-up project resources (main) @Operations
@@ -10,6 +8,7 @@ dependencies: # Install dependencies needed to build and test the project @Pipel
108
poetry install
119
npm install
1210
npm run compile
11+
poetry run playwright install
1312

1413
build: # Build the project artefact @Pipeline
1514
docker build -t "app:$$(git rev-parse HEAD)" .

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ To run all the tests:
4242
make test
4343
```
4444

45+
Running `make config` beforehand will ensure you have necessary dependencies installed, including the browser needed by playwright for system tests.
46+
4547
### Dependency management
4648
Python dependencies are managed via [poetry](https://python-poetry.org/docs/basic-usage/).
4749

0 commit comments

Comments
 (0)