File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
tests/e2e-playwright/tests/tip Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -94,15 +94,19 @@ def test_classic_ti_plan( # noqa: PLR0915
9494 create_tip_plan_from_dashboard : Callable [[str ], dict [str , Any ]],
9595):
9696 with log_context (logging .INFO , "Checking 'Access TIP' teaser" ):
97+ # click to open and expand
98+ page .get_by_test_id ("userMenuBtn" ).click ()
99+
97100 if is_product_lite :
98- page .get_by_test_id ("userMenuBtn" ).click ()
99101 page .get_by_test_id ("userMenuAccessTIPBtn" ).click ()
100102 assert page .get_by_test_id ("tipTeaserWindow" ).is_visible ()
101103 page .get_by_test_id ("tipTeaserWindowCloseBtn" ).click ()
102104 else :
103105 assert (
104- page .get_by_test_id ("userMenuBtn " ).count () == 0
106+ page .get_by_test_id ("userMenuAccessTIPBtn " ).count () == 0
105107 ), "full version should NOT have a teaser"
108+ # click to close
109+ page .get_by_test_id ("userMenuBtn" ).click ()
106110
107111 # press + button
108112 project_data = create_tip_plan_from_dashboard ("newTIPlanButton" )
You can’t perform that action at this time.
0 commit comments