Adding additional verification for checking that 6.8.x dashboard (upgraded to 7.17.x) rendering correctly (#154384)

This commit is contained in:
Bhavya RM 2023-04-11 16:05:44 -04:00 committed by GitHub
parent d2f7860cff
commit 6294b1b4b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await kibanaServer.savedObjects.cleanStandardList();
});
it('should be able to import 7.13 saved objects into 8.0.0 and verfiy the rendering of two dashboards', async function () {
it('should be able to import 7.13 saved objects into 8.0.0 and verfiy the rendering of three dashboards', async function () {
const initialObjectCount = await PageObjects.savedObjects.getExportCount();
await PageObjects.savedObjects.importFile(
path.join(__dirname, 'exports', '_7.13_import_saved_objects.ndjson')
@ -76,6 +76,15 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await renderService.waitForRender(2);
// There should be 0 error embeddables on the dashboard
await PageObjects.dashboard.verifyNoRenderErrors();
// logstash_dashboardwithfilters
await PageObjects.dashboard.loadSavedDashboard('logstash_dashboardwithfilters');
await PageObjects.dashboard.expectOnDashboard('logstash_dashboardwithfilters');
// count of panels rendered completely
await renderService.waitForRender(20);
// There should be 0 error embeddables on the dashboard
await PageObjects.dashboard.verifyNoRenderErrors();
});
it('should be able to import alerts and actions saved objects from 7.14 into 8.0.0', async function () {