Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Oct 5, 2022
1 parent 57dcbcc commit 8e59be9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ describe('Guided setup', () => {
const { component, find, exists } = testBed;

await act(async () => {
find('confirmQuitGuideButton').simulate('click');
find('confirmModalConfirmButton').simulate('click');
});

component.update();
Expand All @@ -272,7 +272,7 @@ describe('Guided setup', () => {
const { component, find, exists } = testBed;

await act(async () => {
find('cancelQuitGuideButton').simulate('click');
find('confirmModalCancelButton').simulate('click');
});

component.update();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export const QuitGuideModal = ({
aria-label="quitGuideModal"
buttonColor="warning"
isLoading={isDeleting}
data-test-subj="quitGuideModal"
>
<EuiText>
<p>
Expand Down

0 comments on commit 8e59be9

Please sign in to comment.