Skip to content

Commit

Permalink
chore(tests): removed the wrong step...
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Villanueva <davillan@redhat.com>
  • Loading branch information
danivilla9 committed Nov 11, 2024
1 parent 9c964e5 commit a38a7ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/src/openshift-local-extension.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {

Check failure on line 132 in tests/src/openshift-local-extension.spec.ts

View workflow job for this annotation

GitHub Actions / linter, formatters and unit tests

'navigationBar' is defined but never used
//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 }) => {
Expand Down

0 comments on commit a38a7ac

Please sign in to comment.