Skip to content

Commit 324c931

Browse files
authored
Merge pull request ceph#66187 from tchaikov/dashboard-e2-test
mgr/dashboard: fix Physical Disks identify test race condition Reviewed-by: Nizamudeen A <[email protected]>
2 parents 3c52073 + b533de7 commit 324c931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pybind/mgr/dashboard/frontend/cypress/e2e/cluster/inventory.po.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class InventoryPageHelper extends PageHelper {
1010
identify() {
1111
// Nothing we can do, just verify the form is there
1212
this.getFirstTableCell().click();
13-
cy.contains('[data-testid="primary-action"]', 'Identify').click();
13+
cy.contains('[data-testid="primary-action"]', 'Identify').should('not.be.disabled').click();
1414
cy.get('cds-modal').within(() => {
1515
cy.get('#duration').select('15 minutes');
1616
cy.get('#duration').select('10 minutes');

0 commit comments

Comments
 (0)