Skip to content

Commit

Permalink
[FIX] Fixed broken test in product-side-nav.spec (rancher#10695)
Browse files Browse the repository at this point in the history
* [FIX] Fixed broken test in product-side-nav.spec
  • Loading branch information
eva-vashkevich authored Mar 26, 2024
1 parent 0bbee23 commit 06b659c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import HomePagePo from '@/cypress/e2e/po/pages/home.po';
import BurgerMenuPo from '@/cypress/e2e/po/side-bars/burger-side-menu.po';
import ProductNavPo from '@/cypress/e2e/po/side-bars/product-side-nav.po';
import WorkloadPagePo from '@/cypress/e2e/po/pages/explorer/workloads.po';

Cypress.config();
describe('Side navigation: Cluster ', { tags: ['@navigation', '@adminUser'] }, () => {
Expand Down Expand Up @@ -85,6 +86,9 @@ describe('Side navigation: Cluster ', { tags: ['@navigation', '@adminUser'] }, (

// Select and expand current top-level group
group.click();
const workloads = new WorkloadPagePo();

workloads.waitForPage();

cy.url().then((workloadsUrl) => {
// Go to the second subgroup
Expand Down

0 comments on commit 06b659c

Please sign in to comment.