update Close button on task show page to save and close and fixed task test
This commit is contained in:
parent
eb6a6f5808
commit
8e1a29c624
|
@ -81,7 +81,7 @@ describe('tasks', () => {
|
||||||
cy.navigateToHome();
|
cy.navigateToHome();
|
||||||
|
|
||||||
// look for somethig to make sure the homepage has loaded
|
// look for somethig to make sure the homepage has loaded
|
||||||
cy.contains('Instances with tasks waiting for me').should('exist');
|
cy.contains('Waiting for me').should('exist');
|
||||||
|
|
||||||
// FIXME: this will probably need a better way to link to the proper form that we want
|
// FIXME: this will probably need a better way to link to the proper form that we want
|
||||||
cy.contains('Go').click();
|
cy.contains('Go').click();
|
||||||
|
|
|
@ -364,7 +364,7 @@ export default function TaskShow() {
|
||||||
handleFormSubmit(currentFormObject, null, FormSubmitType.Draft)
|
handleFormSubmit(currentFormObject, null, FormSubmitType.Draft)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
Close
|
Save and Close
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue