[WIP] Add new automated test framework (#1)

Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
This commit is contained in:
Daniel 2023-11-22 21:40:13 +01:00 committed by dan
parent 859bd57006
commit 97ed87c79f
31 changed files with 769 additions and 6 deletions

View 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")