diff options
Diffstat (limited to 'tests/playwright')
-rw-r--r-- | tests/playwright/test_profiles.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/playwright/test_profiles.py b/tests/playwright/test_profiles.py index 40d8ba8..7e5fb3c 100644 --- a/tests/playwright/test_profiles.py +++ b/tests/playwright/test_profiles.py @@ -1,16 +1,14 @@ from playwright.sync_api import Page, expect -from .conftest import Helper - -def test_forbidden(page: Page, playwright_helper: Helper): +def test_forbidden(page: Page, playwright_helper): john = playwright_helper.john_doe() with page.expect_response(lambda resp: resp.status == 403): page.goto(f"/user/{john.id}") -def test_profile(page: Page, playwright_helper: Helper): +def test_profile(page: Page, playwright_helper): playwright_helper.login() page.goto("/") |