This commit is contained in:
Lukáš Kaňka
2023-08-15 18:39:40 +02:00
commit f131cc0277
70 changed files with 638 additions and 0 deletions

View File

@ -0,0 +1,13 @@
from playwright.sync_api import Page
import pytest
def test_example(page: Page) -> None:
page.goto("https://www.google.com/")
page.get_by_role("button", name="Přijmout vše").click()
page.get_by_label("Najít").click()
page.get_by_label("Najít").fill("playwright")
page.get_by_label("Hledat Googlem").first.click()
page.get_by_role("link", name="Playwright: Fast and reliable end-to-end testing for modern ... playwright.dev https://playwright.dev").click()

View File

@ -0,0 +1,2 @@
[pytest]
addopts = --browser chromium --headed --slowmo 1000 --tracing on