mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix import_saved_objects_between_versions.ts
FTR test (#122243)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
2987654354
commit
389a87d036
1 changed files with 10 additions and 3 deletions
|
@ -27,12 +27,15 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
if (parts.length !== 3) {
|
||||
throw new Error('text not loaded yet');
|
||||
}
|
||||
return Number.parseInt(parts[1], 10);
|
||||
const count = Number.parseInt(parts[1], 10);
|
||||
if (count === 0) {
|
||||
throw new Error('text not loaded yet');
|
||||
}
|
||||
return count;
|
||||
});
|
||||
};
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/121968
|
||||
describe.skip('FOO Export import saved objects between versions', function () {
|
||||
describe('Export import saved objects between versions', function () {
|
||||
before(async function () {
|
||||
await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana');
|
||||
await kibanaServer.uiSettings.replace({});
|
||||
|
@ -40,6 +43,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.settings.clickKibanaSavedObjects();
|
||||
});
|
||||
|
||||
beforeEach(async () => {
|
||||
await PageObjects.savedObjects.waitTableIsLoaded();
|
||||
});
|
||||
|
||||
after(async () => {
|
||||
await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue