-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
58 lines (53 loc) · 1.4 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
51
52
53
54
55
56
57
58
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.isort]
profile = "black"
skip = ["env", "venv"]
[tool.poetry]
authors = ["nirtal85 <[email protected]>"]
description = "Playwright Python example project with pytest and Allure report"
keywords = ["playwright", "automation", "testing", "web"]
name = "playwright-python"
packages = [{include = "playwright_python"}]
readme = "README.md"
version = "0.1.0"
[tool.poetry.dependencies]
allure-pytest = "2.13.5"
axe-playwright-python = "0.1.4"
playwright = "1.47.0"
pytest = "8.3.3"
pytest-base-url = "2.1.0"
pytest-playwright = "0.5.2"
pytest-split = "0.9.0"
python = "^3.11"
requests = "2.32.3"
[tool.poetry.group.dev.dependencies]
black = "24.8.0"
isort = "5.13.2"
pre-commit = "3.8.0"
[tool.pytest.ini_options]
addopts = [
"--clean-alluredir",
"--alluredir=allure-results",
"--allure-link-pattern",
"issue:https://{}",
"--allure-link-pattern",
"link:https://{}",
"--allure-link-pattern",
"tms:https://{}",
"-ra",
"--color=yes",
"--browser-channel=chrome",
"--headed",
"--video=retain-on-failure",
"--tracing=retain-on-failure"
]
base_url = 'https://www.saucedemo.com/'
log_cli = true
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_level = "INFO"
markers = [
"devRun: marks tests that run before merge to the main branch"
]