fix cypress tests
This commit is contained in:
parent
03b30ec7ec
commit
a2130ec1d2
|
@ -90,7 +90,9 @@ describe('tasks', () => {
|
|||
cy.get('.is-visible .cds--modal-close').click();
|
||||
|
||||
cy.navigateToHome();
|
||||
cy.contains('Tasks').should('exist');
|
||||
|
||||
// look for somethig to make sure the homepage has loaded
|
||||
cy.contains('Waiting for me').should('exist');
|
||||
|
||||
// FIXME: this will probably need a better way to link to the proper form that we want
|
||||
cy.contains('Go').click();
|
||||
|
|
|
@ -467,7 +467,9 @@ export default function ReactDiagramEditor({
|
|||
return;
|
||||
}
|
||||
diagramModelerToUse.importXML(diagramXMLToDisplay).then(() => {
|
||||
if (diagramType === 'bpmn' || diagramType === 'readonly') {
|
||||
diagramModelerToUse.get('canvas').zoom('fit-viewport');
|
||||
}
|
||||
});
|
||||
|
||||
alreadyImportedXmlRef.current = true;
|
||||
|
|
Loading…
Reference in New Issue