diff --git a/tests/src/openshift-local-extension.spec.ts b/tests/src/openshift-local-extension.spec.ts index ec5747a..bfbfff0 100644 --- a/tests/src/openshift-local-extension.spec.ts +++ b/tests/src/openshift-local-extension.spec.ts @@ -128,7 +128,7 @@ test.describe.serial('Red Hat OpenShift Local extension verification', () => { //checking settings/preferences assets const preferencesPage = await settingsBar.openTabPage(PreferencesPage); const preferencesTab = await preferencesPage.getTab(); - preferencesTab.click(); + await preferencesTab.click(); await playExpect(preferencesTab.getByLabel('Extension: Red Hat OpenShift Local')).not.toBeVisible(); //this step will fail await playExpect(preferencesPage.getPage().getByRole('region', {name: 'Content'}).getByText('Extension: Red Hat OpenShift Local')).toBeVisible(); //this step will fail }); @@ -150,7 +150,7 @@ test.describe.serial('Red Hat OpenShift Local extension verification', () => { //checking settings/preferences assets const preferencesPage = await settingsBar.openTabPage(PreferencesPage); const preferencesTab = await preferencesPage.getTab(); - preferencesTab.click(); + await preferencesTab.click(); await playExpect(preferencesTab.getByLabel('Extension: Red Hat OpenShift Local')).toBeVisible(); await playExpect(preferencesPage.getPage().getByRole('region', {name: 'Content'}).getByText('Extension: Red Hat OpenShift Local')).toBeVisible(); });