@@ -556,11 +556,10 @@ test.describe.serial(`AI Lab extension installation and verification`, () => {
556
556
} ) ;
557
557
} ) ;
558
558
559
- test . describe . serial ( 'InstructLab container startup' , { tag : '@instructlab' } , ( ) => {
559
+ test . describe . serial ( 'InstructLab container startup' , { tag : [ '@smoke' , '@instructLab' ] } , ( ) => {
560
560
let instructLabPage : AILabTryInstructLabPage ;
561
561
const instructLabContainerName = / ^ i n s t r u c t l a b - \d + $ / ;
562
562
let exactInstructLabContainerName = '' ;
563
- test . skip ( ! ! process . env . GITHUB_ACTIONS && ! ! isLinux ) ;
564
563
565
564
test . beforeAll ( 'Open Try InstructLab page' , async ( { runner, page, navigationBar } ) => {
566
565
aiLabPage = await reopenAILabDashboard ( runner , page , navigationBar ) ;
@@ -600,16 +599,13 @@ test.describe.serial(`AI Lab extension installation and verification`, () => {
600
599
} ) ;
601
600
602
601
test ( 'Cleanup the InstructLab container' , async ( { runner, page, navigationBar } ) => {
603
- const containerDetailsPage = new ContainerDetailsPage ( page , exactInstructLabContainerName ) ;
604
- await playExpect ( containerDetailsPage . heading ) . toBeVisible ( ) ;
605
-
606
- await containerDetailsPage . deleteContainer ( ) ;
607
602
const containersPage = await navigationBar . openContainers ( ) ;
608
- await playExpect ( containersPage . heading ) . toBeVisible ( { timeout : 30_000 } ) ;
603
+ await playExpect ( containersPage . heading ) . toBeVisible ( ) ;
604
+ await containersPage . deleteContainer ( exactInstructLabContainerName ) ;
609
605
await playExpect
610
- . poll ( async ( ) => containersPage . containerExists ( exactInstructLabContainerName ) , { timeout : 100_000 } )
606
+ . poll ( async ( ) => await containersPage . containerExists ( exactInstructLabContainerName ) , { timeout : 60_000 } )
611
607
. toBeFalsy ( ) ;
612
-
608
+ await deleteUnusedImages ( navigationBar ) ;
613
609
aiLabPage = await reopenAILabDashboard ( runner , page , navigationBar ) ;
614
610
await aiLabPage . navigationBar . waitForLoad ( ) ;
615
611
instructLabPage = await aiLabPage . navigationBar . openTryInstructLab ( ) ;
0 commit comments