údržba
This commit is contained in:
Binary file not shown.
Binary file not shown.
13
PWneemoPY/playwright/basic/first_testcase.py
Normal file
13
PWneemoPY/playwright/basic/first_testcase.py
Normal 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()
|
||||
|
||||
|
2
PWneemoPY/playwright/basic/pytest.ini
Normal file
2
PWneemoPY/playwright/basic/pytest.ini
Normal file
@ -0,0 +1,2 @@
|
||||
[pytest]
|
||||
addopts = --browser chromium --headed --slowmo 1000 --tracing on
|
Binary file not shown.
Reference in New Issue
Block a user