[Discover] Add check for the open perma link for cloud testing (#57884) (#57976)

- fixes a functional test failure in cloud
This commit is contained in:
Matthias Wilhelm 2020-02-19 12:35:06 +01:00 committed by GitHub
parent b66e88fd99
commit bd2d76fb03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,6 +76,7 @@ export function SharePageProvider({ getService }: FtrProviderContext) {
}
async checkShortenUrl() {
await this.openPermaLinks();
const shareForm = await testSubjects.find('shareUrlForm');
await testSubjects.setCheckbox('useShortUrl', 'check');
await shareForm.waitForDeletedByCssSelector('.euiLoadingSpinner');