File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed 
tests/e2e-playwright/tests/tip Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,15 @@ 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-         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 ()
97+         if  is_product_lite :
98+             page .get_by_test_id ("userMenuBtn" ).click ()
99+             page .get_by_test_id ("userMenuAccessTIPBtn" ).click ()
100+             assert  page .get_by_test_id ("tipTeaserWindow" ).is_visible ()
101+             page .get_by_test_id ("tipTeaserWindowCloseBtn" ).click ()
102+         else :
103+             assert  (
104+                 page .get_by_test_id ("userMenuBtn" ).count () ==  0 
105+             ), "full version should NOT have a teaser" 
101106
102107    # press + button 
103108    project_data  =  create_tip_plan_from_dashboard ("newTIPlanButton" )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments