various #16
1 changed files with 3 additions and 4 deletions
|
|
@ -2,13 +2,12 @@
|
|||
|
||||
from playwright.sync_api import BrowserContext, expect
|
||||
|
||||
from pytest_abra.dir_manager import DirManager
|
||||
from pytest_abra import BaseUrl
|
||||
|
||||
|
||||
def test_welcome_message(context: BrowserContext, env_config: dict[str, str], DIR: DirManager):
|
||||
def test_welcome_message(context: BrowserContext, env_config: dict[str, str], URL: BaseUrl):
|
||||
page = context.new_page()
|
||||
url = "https://" + env_config["DOMAIN"]
|
||||
page.goto(url)
|
||||
page.goto(URL.get())
|
||||
|
||||
expect(page.locator(".wp-block-heading")).to_be_visible()
|
||||
if "locale" in env_config and "de" in env_config["locale"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue