unskip accessibility - dashboard_edit_panel tests (#96710) (#97192)

* unskip

* added render complete

* added render complete in couple other places

* minor corrections

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Rashmi Kulkarni 2021-04-14 17:16:24 -07:00 committed by GitHub
parent 433e74b41b
commit 34965c5b6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ const SAVE_TO_LIBRARY_TEST_SUBJ = 'embeddablePanelAction-saveToLibrary';
export function DashboardPanelActionsProvider({ getService, getPageObjects }: FtrProviderContext) {
const log = getService('log');
const testSubjects = getService('testSubjects');
const PageObjects = getPageObjects(['header', 'common']);
const PageObjects = getPageObjects(['header', 'common', 'dashboard']);
const inspector = getService('inspector');
return new (class DashboardPanelActions {
@ -147,6 +147,7 @@ export function DashboardPanelActionsProvider({ getService, getPageObjects }: Ft
await this.openContextMenu();
}
await testSubjects.click(CLONE_PANEL_DATA_TEST_SUBJ);
await PageObjects.dashboard.waitForRenderComplete();
}
async openCopyToModalByTitle(title?: string) {

View file

@ -20,8 +20,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const PANEL_TITLE = 'Visualization PieChart';
// FLAKY: https://github.com/elastic/kibana/issues/92114
describe.skip('Dashboard Edit Panel', () => {
describe('Dashboard Edit Panel', () => {
before(async () => {
await esArchiver.load('dashboard/drilldowns');
await esArchiver.loadIfNeeded('logstash_functional');