Skip to content

Commit

Permalink
[ftr/serverless] Fix unhandled promise rejection (elastic#166195)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz authored Sep 11, 2023
1 parent 2f1da3c commit 7b4993f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ export default ({ getPageObject, getService }: FtrProviderContext) => {
});

it('should set the cases title', async () => {
svlCommonNavigation.breadcrumbs.expectExists();
svlCommonNavigation.breadcrumbs.expectBreadcrumbExists({ text: createdCase.title });
await svlCommonNavigation.breadcrumbs.expectExists();
await svlCommonNavigation.breadcrumbs.expectBreadcrumbExists({ text: createdCase.title });
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ export default ({ getPageObject, getService }: FtrProviderContext) => {
});

it('should set the cases title', async () => {
svlCommonNavigation.breadcrumbs.expectExists();
svlCommonNavigation.breadcrumbs.expectBreadcrumbExists({ text: createdCase.title });
await svlCommonNavigation.breadcrumbs.expectExists();
await svlCommonNavigation.breadcrumbs.expectBreadcrumbExists({ text: createdCase.title });
});
});

Expand Down

0 comments on commit 7b4993f

Please sign in to comment.