diff --git a/tests/src/openshift-local-extension.spec.ts b/tests/src/openshift-local-extension.spec.ts index 9901a4b..3fa5d21 100644 --- a/tests/src/openshift-local-extension.spec.ts +++ b/tests/src/openshift-local-extension.spec.ts @@ -127,11 +127,13 @@ test.describe.serial('Red Hat OpenShift Local extension verification', () => { //checking settings/resources assets await navigationBar.openSettings(); await playExpect(resourcesPage.card).toHaveCount(0); - await playExpect(preferencesPage.content.getByText('Extension: Red Hat OpenShift Local')).not.toBeVisible(); //this step will fail }); test.fail('Extension can be disabled -- Settings/Preferences navbar value should be removed after extension removal, but isn\'t, BUG #393', async ({ navigationBar }) => { - //checking settings/preferences assets + //checking settings/preferences assets + const preferencesTab = await preferencesPage.getTab(); + await preferencesTab.click(); + await playExpect(preferencesPage.content.getByText('Extension: Red Hat OpenShift Local')).not.toBeVisible(); //this step will fail }); test('Extension can be re-enabled correctly', async ({ navigationBar }) => {