Skip to content

Commit

Permalink
fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OliwiaGowor committed Dec 13, 2024
1 parent 49102be commit ab2a7eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/integration/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Cypress.Commands.add('filterWithNoValue', { prevSubject: true }, $elements =>
Cypress.Commands.add('goToNamespaceDetails', () => {
// Go to the details of namespace
cy.getLeftNav()
.find('ui5-side-navigation-item')
.contains('Namespaces')
.click();

Expand Down
5 changes: 2 additions & 3 deletions tests/integration/tests/cluster/test-command-palette.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,8 @@ context('Test Command Palette navigation', () => {
getQueryInput().type('pref');

// autocomplete
cy.get('body')
.tab()
.type('{enter}', { force: true });
cy.get('body').tab();
getQueryInput().type('{enter}', { force: true });

cy.contains('Cluster interaction').should('be.visible');

Expand Down
1 change: 1 addition & 0 deletions tests/integration/tests/namespace/test-settings.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ context('Test app settings and preferences', () => {
.click();

cy.getLeftNav()
.find('ui5-side-navigation-item')
.contains('Namespaces')
.click();

Expand Down

0 comments on commit ab2a7eb

Please sign in to comment.