Skip to content

Commit

Permalink
Use default timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvc committed May 15, 2020
1 parent bdcb650 commit 2020301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/test/functional/services/uptime/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export function UptimeNavigationProvider({ getService, getPageObjects }: FtrProv
},

goToCertificates: async () => {
return retry.tryForTime(60 * 1000, async () => {
await testSubjects.click('uptimeCertificatesLink', 10000);
return retry.try(async () => {
await testSubjects.click('uptimeCertificatesLink');
await testSubjects.existOrFail('uptimeCertificatesPage');
});
},
Expand Down

0 comments on commit 2020301

Please sign in to comment.