From 1f796dcc3036a8bab6d8321468298e667eb16573 Mon Sep 17 00:00:00 2001 From: Cody Jackson Date: Wed, 6 Nov 2024 07:59:42 -0700 Subject: [PATCH] Enable e2e tests which test titles --- .../tests/pages/explorer/dashboard/cluster-dashboard.spec.ts | 5 ++--- cypress/e2e/tests/pages/fleet/dashboard.spec.ts | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cypress/e2e/tests/pages/explorer/dashboard/cluster-dashboard.spec.ts b/cypress/e2e/tests/pages/explorer/dashboard/cluster-dashboard.spec.ts index 003ee8cb9af..18fe2dd236d 100644 --- a/cypress/e2e/tests/pages/explorer/dashboard/cluster-dashboard.spec.ts +++ b/cypress/e2e/tests/pages/explorer/dashboard/cluster-dashboard.spec.ts @@ -55,9 +55,8 @@ describe('Cluster Dashboard', { testIsolation: 'off', tags: ['@explorer', '@admi BurgerMenuPo.checkIfClusterMenuLinkIsHighlighted('local'); }); - it.skip('[Vue3 Skip]: has the correct title', () => { - clusterDashboard.goTo('local'); - clusterDashboard.waitForPage(undefined, 'cluster-events'); + it('has the correct title', () => { + ClusterDashboardPagePo.navTo(); cy.title().should('eq', 'Rancher - local - Cluster Dashboard'); }); diff --git a/cypress/e2e/tests/pages/fleet/dashboard.spec.ts b/cypress/e2e/tests/pages/fleet/dashboard.spec.ts index 05610656869..8e8401a176f 100644 --- a/cypress/e2e/tests/pages/fleet/dashboard.spec.ts +++ b/cypress/e2e/tests/pages/fleet/dashboard.spec.ts @@ -3,7 +3,7 @@ import { FleetDashboardPagePo } from '@/cypress/e2e/po/pages/fleet/fleet-dashboa // import BurgerMenuPo from '@/cypress/e2e/po/side-bars/burger-side-menu.po'; // import { LONG_TIMEOUT_OPT } from '@/cypress/support/utils/timeouts'; -describe.skip('[Vue3 Skip]: Fleet Dashboard', { tags: ['@fleet', '@adminUser'] }, () => { +describe('Fleet Dashboard', { tags: ['@fleet', '@adminUser'] }, () => { let fleetDashboardPage: FleetDashboardPagePo; // const repoName = 'fleet-e2e-test-dashboard';