Skip to content

Commit 9141a95

Browse files
committed
Stabilize imported generic cluster e2e spec
Fix flakiness on imported cluster create against Prime Rancher and wrap cluster manager tests with their Qase case IDs: - accept Pending as a transient state alongside Provisioning/Waiting - select provider column by .col-cluster-provider (formatter-derived) - wait for cluster list visibility before masthead/list interactions - extend cluster detail registration page wait to medium timeout - disable Cypress retries on create to avoid stale clusters - wrap eligible it() statements with qase() using the oldest matching Qase case ID per title
1 parent ee5b2f8 commit 9141a95

2 files changed

Lines changed: 73 additions & 69 deletions

File tree

cypress/e2e/po/lists/provisioning.cattle.io.cluster.po.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ export default class ProvClusterListPo extends BaseResourceList {
3333
}
3434

3535
provider(clusterName: string) {
36-
return this.resourceTable().sortableTable().rowWithName(clusterName).column(3);
36+
return this.resourceTable().sortableTable().rowWithName(clusterName)
37+
.get('.col-cluster-provider');
3738
}
3839

3940
providerSubType(clusterName: string) {
40-
return this.resourceTable().sortableTable().rowWithName(clusterName).column(3)
41-
.find(`.text-muted`);
41+
return this.resourceTable().sortableTable().rowWithName(clusterName)
42+
.get('.col-cluster-provider .text-muted');
4243
}
4344

4445
machines(clusterName: string) {

0 commit comments

Comments
 (0)