Skip to content

Commit 66847cb

Browse files
committed
updates access tip teaser
1 parent f8cb8af commit 66847cb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/e2e-playwright/tests/tip/test_ti_plan.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,11 @@ def test_classic_ti_plan( # noqa: PLR0915
9393
is_product_lite: bool,
9494
create_tip_plan_from_dashboard: Callable[[str], dict[str, Any]],
9595
):
96-
# checks "Access TIP" button
97-
page.get_by_test_id("userMenuBtn").locator("div").click()
98-
assert page.get_by_text("Access Full TIP").is_visible()
96+
with log_context(logging.INFO, "Checking 'Access TIP' teaser"):
97+
page.get_by_test_id("userMenuBtn").click()
98+
page.get_by_test_id("userMenuAccessTIPBtn").click()
99+
assert page.get_by_test_id("tipTeaserWindow").is_visible()
100+
page.get_by_test_id("tipTeaserWindowCloseBtn").click()
99101

100102
# press + button
101103
project_data = create_tip_plan_from_dashboard("newTIPlanButton")

0 commit comments

Comments
 (0)