Skip to content

Commit 20a86d7

Browse files
test: [M3-10115] - Fix test flake in bucket-create-multicluster.spec.ts (linode#12347)
* filter for "Create Bucket" button * Added changeset: Fix for flakey test * Update packages/manager/.changeset/pr-12347-tests-1749743465160.md Co-authored-by: Connie Liu <[email protected]> --------- Co-authored-by: Connie Liu <[email protected]>
1 parent a28916f commit 20a86d7

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Tests
3+
---
4+
5+
Fix test flake in `bucket-create-multicluster.spec.ts` ([#12347](https://github.com/linode/manager/pull/12347))

packages/manager/cypress/e2e/core/objectStorageMulticluster/bucket-create-multicluster.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ describe('Object Storage Multicluster Bucket create', () => {
6565
cy.visitWithLogin('/object-storage');
6666
cy.wait(['@getRegions', '@getBuckets']);
6767

68-
ui.button.findByTitle('Create Bucket').should('be.visible').click();
68+
cy.get('[data-reach-tab-panels]')
69+
.should('be.visible')
70+
.within(() => {
71+
ui.button.findByTitle('Create Bucket').should('be.visible').click();
72+
});
6973

7074
ui.drawer
7175
.findByTitle('Create Bucket')

0 commit comments

Comments
 (0)