-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (45 loc) · 1.34 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[tool.poetry]
name = "playwrite"
version = "0.1.0"
description = "A web automation framework using pytest and Playwright"
authors = ["Dmytro Berezovskyi <dmberezovskyi@gmail.com>"]
packages = [
{ include = "src" },
{ include = "tests" },
{ include = "configs" },
{ include = "api", from = "src" },
{ include = "drivers", from = "src" },
{ include = "pages", from = "src" },
{ include = "utils", from = "src" }
]
[tool.poetry.dependencies]
python = "^3.12"
pytest = "^8.3"
playwright = "^1.47.0"
dynaconf = "^3.2.6"
requests = "^2.31"
pytest-asyncio = "^0.24.0"
pytest-html = "^4.1.1"
[tool.poetry.dev-dependencies]
ruff = "^0.6.8"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "-rA -v --env=dev --browser-type=chromium --listeners=events --capture=no -p no:cacheprovider --html=../reports/test_report.html --self-contained-html"
#asyncio_mode = "auto"
markers = [
{ name = "smoke", description = "run smoke tests" },
{ name = "regression", description = "run regression tests" },
{ name = "sanity", description = "run sanity tests" },
{ name = "asyncio", description = "mark test as asyncio"}
]
testpaths = ["tests"]
python_files = ["*.py"]
python_classes = [
"Test*",
"*Test*",
"*Test",
"*Tests",
]
python_functions = ["test_*"]