Skip to content

Commit

Permalink
test: 💍 remove render complete awaits
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Sep 18, 2020
1 parent 4fbcc35 commit d16159f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/functional/apps/dashboard/panel_context_menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const dashboardPanelActions = getService('dashboardPanelActions');
const dashboardAddPanel = getService('dashboardAddPanel');
const dashboardVisualizations = getService('dashboardVisualizations');
const renderable = getService('renderable');
const PageObjects = getPageObjects([
'dashboard',
'header',
Expand Down Expand Up @@ -78,7 +77,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
// The second parameter of true will include the timestamp in the url and
// trigger a hard refresh.
await browser.get(currentUrl.toString(), true);
await renderable.waitForRender();
await PageObjects.header.waitUntilLoadingHasFinished();

await dashboardPanelActions.expectExistsEditPanelAction();
Expand All @@ -88,7 +86,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

// Get rid of the timestamp in the url.
await browser.get(currentUrl.toString(), false);
await renderable.waitForRender();
});

describe('visualization object edit menu', () => {
Expand Down Expand Up @@ -150,7 +147,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
before('reset dashboard', async () => {
const currentUrl = await browser.getCurrentUrl();
await browser.get(currentUrl.toString(), false);
await renderable.waitForRender();
});

before('and add one panel and save to put dashboard in "view" mode', async () => {
Expand Down

0 comments on commit d16159f

Please sign in to comment.