Julia Rechkunova 2023-02-02 09:09:53 +01:00 committed by GitHub
parent 496e0e8094
commit a5f7d17694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -577,6 +577,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
'_bytes-runtimefield',
`emit((doc["bytes"].value * 2).toString())`
);
await retry.waitFor('form to close', async () => {
return !(await testSubjects.exists('fieldEditor'));
});
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSidebarHasLoaded();
@ -592,6 +597,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await fieldEditor.setCustomLabel('_bytes-runtimefield2');
await fieldEditor.save();
await retry.waitFor('form to close', async () => {
return !(await testSubjects.exists('fieldEditor'));
});
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSidebarHasLoaded();