test framework
This commit is contained in:
parent
5961516536
commit
859bd57006
11 changed files with 313 additions and 246 deletions
12
vikunja_test.py
Normal file
12
vikunja_test.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from conftest import check_for, RECORDS
|
||||
|
||||
""" Test Vikunja """
|
||||
def test_vikunja(admin_session):
|
||||
context, page = admin_session
|
||||
with page.expect_popup() as info:
|
||||
page.get_by_role("link", name="Vikunja").click()
|
||||
|
||||
vikunja = info.value
|
||||
vikunja.get_by_text("Log in with").click()
|
||||
check_for(vikunja.get_by_placeholder("Add a new task…"))
|
||||
context.tracing.stop(path=f"{RECORDS}/vikunja.zip")
|
||||
Loading…
Add table
Add a link
Reference in a new issue