Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Uptime] Improve cert flaky test #65458

Merged
merged 1 commit into from
May 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion x-pack/test/functional/apps/uptime/certificates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
});

it('can navigate to cert page', async () => {
await uptimeService.navigation.refreshApp();
await uptimeService.cert.hasViewCertButton();
await uptimeService.navigation.goToCertificates();
});
Expand Down
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 () => {
await testSubjects.click('uptimeCertificatesLink');
return retry.tryForTime(30 * 1000, async () => {
await testSubjects.click('uptimeCertificatesLink', 10000);
return retry.tryForTime(60 * 1000, async () => {
await testSubjects.existOrFail('uptimeCertificatesPage');
});
},
Expand Down