Skip to content

Commit

Permalink
Adding additional verification for checking that 6.8.x dashboard (upg…
Browse files Browse the repository at this point in the history
…raded to 7.17.x) rendering correctly (#154384)
  • Loading branch information
bhavyarm authored Apr 11, 2023
1 parent d2f7860 commit 6294b1b
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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 () {
Expand Down

0 comments on commit 6294b1b

Please sign in to comment.