Add comprehensive e2e tests with Playwright

This commit is contained in:
pacnpal
2024-12-24 14:29:32 -05:00
parent 7b45279e7e
commit f51d1a1c8f
9 changed files with 955 additions and 0 deletions

28
tests/e2e/pytest.ini Normal file
View File

@@ -0,0 +1,28 @@
[pytest]
# Base URL for tests
base_url = http://localhost:8000
# Test file patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Playwright specific settings
addopts = --headed --browser chromium
# Markers
markers =
auth: authentication related tests
parks: theme park related tests
rides: ride related tests
reviews: review related tests
profiles: user profile related tests
# Test timeout
timeout = 30
# Logging settings
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_cli_date_format = %Y-%m-%d %H:%M:%S