Skip to content

Commit

Permalink
unskip lens dashboard tests (elastic#118308)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 authored and fkanout committed Nov 17, 2021
1 parent 1d57876 commit b8930aa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions x-pack/test/functional/apps/lens/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await browser.getActions().move({ x, y, origin: el._webElement }).click().perform();
}

// FLAKY: https://github.com/elastic/kibana/issues/117770
describe.skip('lens dashboard tests', () => {
describe('lens dashboard tests', () => {
before(async () => {
await PageObjects.common.navigateToApp('dashboard');
await security.testUser.setRoles(
Expand Down Expand Up @@ -70,7 +69,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await find.clickByButtonText('lnsXYvis');
await dashboardAddPanel.closeAddPanel();
await PageObjects.lens.goToTimeRange();
await clickInChart(6, 5); // hardcoded position of bar, depends heavy on data and charts implementation
await retry.try(async () => {
await clickInChart(6, 5); // hardcoded position of bar, depends heavy on data and charts implementation
await testSubjects.existOrFail('applyFiltersPopoverButton');
});

await retry.try(async () => {
await testSubjects.click('applyFiltersPopoverButton');
Expand Down

0 comments on commit b8930aa

Please sign in to comment.