fix another race conditions in instance cypress test

This commit is contained in:
burnettk 2022-12-28 23:14:17 -05:00
parent ca449f4f08
commit 454f651d0a
2 changed files with 2 additions and 0 deletions

View File

@ -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');
}
}
);

View File

@ -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>
</>
);