Skip to content

Commit

Permalink
Add playwright to test UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Feb 13, 2024
1 parent 168244b commit 6ca66fd
Show file tree
Hide file tree
Showing 3 changed files with 240 additions and 200 deletions.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
test:
poetry run pytest src

test-ui:
poetry run pytest src/tests

lint:
poetry run black --line-length=200 src
poetry run isort src
Expand All @@ -11,4 +14,7 @@ migrations:
poetry run python src/manage.py makemigrations

migrate:
poetry run python src/manage.py migrate
poetry run python src/manage.py migrate

gen:
poetry run playwright codegen -b chromium --target python-pytest localhost:8000
Loading

0 comments on commit 6ca66fd

Please sign in to comment.