Skip to content

Commit 03a43ec

Browse files
authored
Merge pull request #292 from oleksis/playwright-mailto
Test mailto URI scheme for email addresses
2 parents 9d5e26e + 99820e7 commit 03a43ec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,9 @@ def test_switching_lang_sw_about(page: Page) -> None:
9595
def test_bpdevs_title_en(page: Page, title: str, url: str) -> None:
9696
page.goto(f"{live_server_url}/{url}")
9797
expect(page).to_have_title(title)
98+
99+
100+
def test_mailto_bpdevs(page: Page) -> None:
101+
page.goto(f"{live_server_url}")
102+
mailto = page.get_by_role("link", name="email")
103+
expect(mailto).to_have_attribute("href", "mailto:[email protected]")

0 commit comments

Comments
 (0)