Skip to content

Add Playwright Tests #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .devcontainer/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ services:
POSTGRES_USER: admin
POSTGRES_PASSWORD: postgres

ports:
- "5432:5432"
# For local developemnt, we need to forward the database port here too.
# Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,5 @@ npm-debug.log*
node_modules
static/

# Playwright test trace
test-results/
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ python_version = 3.12
exclude = [".venv/*"]

[tool.pytest.ini_options]
addopts = "-ra --cov"
addopts = "-ra"
testpaths = ["tests"]
pythonpath = ['src']
pythonpath = ['src/backend']
filterwarnings = ["ignore::DeprecationWarning"]

[[tool.mypy.overrides]]
Expand Down
5 changes: 3 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ mypy
pre-commit
pip-tools
pip-compile-cross-platform
playwright
pytest
pytest-cov
pytest-asyncio
pytest-cov
pytest-playwright
pytest-snapshot
mypy
locust