test framework

This commit is contained in:
Moritz 2023-07-07 03:38:10 +02:00
parent 5961516536
commit 859bd57006
11 changed files with 313 additions and 246 deletions

13
wekan_test.py Normal file
View file

@ -0,0 +1,13 @@
from conftest import check_for, RECORDS
""" Test Wekan """
def test_wekan(admin_session):
context, page = admin_session
with page.expect_popup() as info:
page.get_by_role("link", name="Wekan").click()
wekan = info.value
wekan.get_by_role("link", name="Member Settings").click()
check_for(wekan.get_by_role("link", name=" Admin Panel"))
context.tracing.stop(path=f"{RECORDS}/wekan.zip")