@@ -26,6 +26,8 @@ let extensionCard: ExtensionCardPage;
26
26
const imageName = 'ghcr.io/redhat-developer/podman-desktop-redhat-account-ext:latest' ;
27
27
const extensionLabel = 'redhat.redhat-authentication' ;
28
28
const extensionLabelName = 'redhat-authentication' ;
29
+ const podmanExtensionLabel = 'podman-desktop.podman' ;
30
+ const podmanExtensionLabelName = 'podman' ;
29
31
const authProviderName = 'Red Hat SSO' ;
30
32
const activeExtensionStatus = 'ACTIVE' ;
31
33
const disabledExtensionStatus = 'DISABLED' ;
@@ -61,14 +63,22 @@ test.describe.serial('Red Hat Authentication extension verification', () => {
61
63
await removeExtension ( navigationBar ) ;
62
64
} ) ;
63
65
66
+ test ( 'Podman Extension is activated' , async ( { navigationBar } ) => {
67
+ const extensions = await navigationBar . openExtensions ( ) ;
68
+ const podmanExtensionCard = await extensions . getInstalledExtension ( podmanExtensionLabelName , podmanExtensionLabel ) ;
69
+ await podmanExtensionCard . card . scrollIntoViewIfNeeded ( ) ;
70
+ await playExpect ( podmanExtensionCard . status ) . toHaveText ( activeExtensionStatus , { timeout : 20_000 } ) ;
71
+ } ) ;
72
+
64
73
// we want to install extension from OCI image (usually using latest tag) after new code was added to the codebase
65
74
// and extension was published already
66
75
test ( 'Extension can be installed using OCI image' , async ( { navigationBar } ) => {
67
76
test . skip ( extensionInstalled && ! skipInstallation ) ;
68
77
test . setTimeout ( 200000 ) ;
69
78
const extensions = await navigationBar . openExtensions ( ) ;
70
79
await extensions . installExtensionFromOCIImage ( imageName ) ;
71
- await playExpect ( extensionCard . card ) . toBeVisible ( ) ;
80
+ await extensionCard . card . scrollIntoViewIfNeeded ( ) ;
81
+ await playExpect ( extensionCard . card ) . toBeVisible ( { timeout : 15_000 } ) ;
72
82
} ) ;
73
83
74
84
test ( 'Extension (card) is installed, present and active' , async ( { navigationBar } ) => {
0 commit comments