Skip to content

Commit

Permalink
chore(tests): another test
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Villanueva <[email protected]>
  • Loading branch information
danivilla9 committed Nov 11, 2024
1 parent 60cf4d4 commit 9c964e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/src/openshift-local-extension.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {

Check failure on line 133 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
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 }) => {
Expand Down

0 comments on commit 9c964e5

Please sign in to comment.