e2e_tests/previous-work/wekan_test.py
Daniel 97ed87c79f [WIP] Add new automated test framework (#1)
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-11-22 21:40:13 +01:00

13 lines
424 B
Python

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