From 9c964e5d1b60648c65037c96efb7ac5e2485f47a Mon Sep 17 00:00:00 2001 From: Daniel Villanueva Date: Mon, 11 Nov 2024 18:06:21 +0100 Subject: [PATCH] chore(tests): another test Signed-off-by: Daniel Villanueva --- tests/src/openshift-local-extension.spec.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/src/openshift-local-extension.spec.ts b/tests/src/openshift-local-extension.spec.ts index 6f0e3eac..9901a4b8 100644 --- a/tests/src/openshift-local-extension.spec.ts +++ b/tests/src/openshift-local-extension.spec.ts @@ -127,12 +127,11 @@ 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 - await navigationBar.openSettings(); - await playExpect(preferencesPage.getPage().getByRole('region', {name: 'Content'}).getByText('Extension: Red Hat OpenShift Local')).not.toBeVisible(); //this step will fail + //checking settings/preferences assets }); test('Extension can be re-enabled correctly', async ({ navigationBar }) => {