update Close button on task show page to save and close and fixed task test

This commit is contained in:
jasquat 2023-05-16 10:13:29 -04:00
parent eb6a6f5808
commit 8e1a29c624
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -364,7 +364,7 @@ export default function TaskShow() {
handleFormSubmit(currentFormObject, null, FormSubmitType.Draft) handleFormSubmit(currentFormObject, null, FormSubmitType.Draft)
} }
> >
Close Save and Close
</Button> </Button>
); );
} }