Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions tests/e2e-playwright/tests/tip/test_ti_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,15 @@ def test_classic_ti_plan( # noqa: PLR0915
create_tip_plan_from_dashboard: Callable[[str], dict[str, Any]],
):
with log_context(logging.INFO, "Checking 'Access TIP' teaser"):
page.get_by_test_id("userMenuBtn").click()
page.get_by_test_id("userMenuAccessTIPBtn").click()
assert page.get_by_test_id("tipTeaserWindow").is_visible()
page.get_by_test_id("tipTeaserWindowCloseBtn").click()
if is_product_lite:
page.get_by_test_id("userMenuBtn").click()
page.get_by_test_id("userMenuAccessTIPBtn").click()
assert page.get_by_test_id("tipTeaserWindow").is_visible()
page.get_by_test_id("tipTeaserWindowCloseBtn").click()
else:
assert (
page.get_by_test_id("userMenuBtn").count() == 0
), "full version should NOT have a teaser"

# press + button
project_data = create_tip_plan_from_dashboard("newTIPlanButton")
Expand Down
Loading