-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (42 loc) · 1.64 KB
/
pyproject.toml
File metadata and controls
45 lines (42 loc) · 1.64 KB
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
[project]
name = "vc-auto-tests"
version = "0.1.0"
requires-python = ">=3.13"
dependencies = [
"allure-pytest==2.15.3",
"allure-python-commons==2.15.3",
"inflection==0.5.1",
"playwright==1.58.0",
"pydantic==2.12.5",
"pydantic-settings==2.13.1",
"pytest==9.0.3",
"pytest-playwright==0.7.2",
"requests==2.32.5",
"rich==14.3.3",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "--alluredir=allure-results"
markers = [
"graphql: GraphQL API tests",
"e2e: end-to-end UI tests using Playwright (require a running frontend)",
"restapi: REST API admin endpoint tests",
"serial: test mutates global platform state and must not run in parallel",
"destructive: test restarts or drops global state (restart platform, drop search index). Excluded from default CI runs.",
"with_user(username): sign in as the given user for this test",
"with_page_context(username): provide a Playwright page context for the given user",
"with_cart(items): seed a cart with the given list of (productId, quantity) pairs",
"delete_cart_after: delete the user's cart at teardown (reads localStorage for e2e tests)",
"quantity_control(type): require specific add-to-cart control (stepper|button)",
"range_filter_type(type): require specific range filter UI (slider|default)",
"checkout_mode(mode): require specific checkout mode (single-page|multi-step)",
]
[tool.setuptools.packages.find]
exclude = ["tests*", ".venv*"]
[tool.pyright]
pythonVersion = "3.13"
venvPath = "."
venv = ".venv"
include = ["core", "dataset", "gql", "page_objects", "restapi", "tests", "utils"]
extraPaths = ["."]