From ca7b419ee6b8a662472334e5a6b27e1f936c114a Mon Sep 17 00:00:00 2001 From: Daniel Villanueva Date: Thu, 7 Nov 2024 13:38:34 +0100 Subject: [PATCH] chore(tests): missing awaits Signed-off-by: Daniel Villanueva --- tests/src/openshift-local-extension.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); });