test: Update tests after adding SaveAndBuild modal
This updates tests with a `openAndDismissSaveAndBuildModal` function that handles closing the SaveAndBuild modal after clicking on Create blueprint for the first time.
This commit is contained in:
parent
b8f45ff883
commit
a23cc9321b
16 changed files with 83 additions and 16 deletions
|
|
@ -82,7 +82,12 @@ export const CreateSaveButton = ({
|
|||
onClose={handleClose}
|
||||
width="50%"
|
||||
actions={[
|
||||
<Button key="back" variant="primary" onClick={handleClose}>
|
||||
<Button
|
||||
key="back"
|
||||
variant="primary"
|
||||
data-testid="close-button-saveandbuild-modal"
|
||||
onClick={handleClose}
|
||||
>
|
||||
Close
|
||||
</Button>,
|
||||
]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue