fix another race conditions in instance cypress test
This commit is contained in:
parent
ca449f4f08
commit
454f651d0a
|
@ -97,6 +97,7 @@ Cypress.Commands.add(
|
|||
cy.reload(true);
|
||||
cy.contains('Process Model:').should('exist');
|
||||
cy.contains(/Process Instance.*[kK]icked [oO]ff/).should('not.exist');
|
||||
cy.contains('[data-qa=process-model-show-permissions-loaded]', 'true');
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
@ -680,6 +680,7 @@ export default function ProcessModelShow() {
|
|||
perPageOptions={[2, 5, 25]}
|
||||
showReports={false}
|
||||
/>
|
||||
<span data-qa="process-model-show-permissions-loaded">true</span>
|
||||
</Can>
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue