Skip to content

Commit 06c6fc8

Browse files
committed
fix fleet-clusters error missing sub-row element
1 parent 8105379 commit 06c6fc8

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

cypress/e2e/tests/pages/fleet/fleet-clusters.spec.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { HeaderPo } from '@/cypress/e2e/po/components/header.po';
1010
import { EXTRA_LONG_TIMEOUT_OPT, LONG_TIMEOUT_OPT, MEDIUM_TIMEOUT_OPT, VERY_LONG_TIMEOUT_OPT } from '@/cypress/support/utils/timeouts';
1111
import { FeatureFlagsPagePo } from '@/cypress/e2e/po/pages/global-settings/feature-flags.po';
1212
import LoadingPo from '@/cypress/e2e/po/components/loading.po';
13+
import { qase } from '@/cypress/support/qase';
1314

1415
const fleetClusterListPage = new FleetClusterListPagePo();
1516
const fleetAppBundlesListPage = new FleetApplicationListPagePo();
@@ -81,7 +82,7 @@ describe('Fleet Clusters - bundle manifests are deployed from the BundleDeployme
8182
cy.updateNamespaceFilter('local', 'none', '{"local":["all://user"]}');
8283
});
8384

84-
it('data is populated in fleet cluster list and detail view', () => {
85+
qase(9691, it('data is populated in fleet cluster list and detail view', () => {
8586
ClusterManagerListPagePo.navTo();
8687
clusterList.waitForPage();
8788
clusterList.list().state(clusterName).contains('Active', VERY_LONG_TIMEOUT_OPT);
@@ -120,14 +121,14 @@ describe('Fleet Clusters - bundle manifests are deployed from the BundleDeployme
120121

121122
const fleetClusterDetailsPage = new FleetClusterDetailsPo(namespace, clusterName);
122123

123-
// check cluster labels
124-
fleetClusterDetailsPage.clusterLabels().contains('foo: bar').should('be.visible');
125-
126124
// go to cluster details in fleet
127125
fleetClusterListPage.goToDetailsPage(clusterName);
128126
fleetClusterDetailsPage.waitForPage(null, 'applications');
129127
fleetClusterDetailsPage.clusterTabs().clickTabWithSelector('[data-testid="btn-applications"]');
130128

129+
// check cluster labels
130+
fleetClusterDetailsPage.clusterLabels().contains('foo: bar').scrollIntoView().should('be.visible');
131+
131132
// check state
132133
fleetClusterDetailsPage.appBundlesList().resourceTableDetails(gitRepo, 1).contains('Active');
133134
// check name
@@ -140,7 +141,7 @@ describe('Fleet Clusters - bundle manifests are deployed from the BundleDeployme
140141
fleetClusterDetailsPage.appBundlesList().resourceTableDetails(gitRepo, 5).contains('All');
141142
// check cluster resources
142143
fleetClusterDetailsPage.appBundlesList().resourceTableDetails(gitRepo, 7).should('contain.text', '—');
143-
});
144+
}));
144145

145146
it('check all tabs are available in the details view', () => {
146147
// testing https://github.com/rancher/dashboard/issues/11155

0 commit comments

Comments
 (0)