Skip to content

Commit

Permalink
Failing test: Chrome UI Functional Tests.test/functional/apps/visuali…
Browse files Browse the repository at this point in the history
…ze/_tsvb_time_series·ts - visualize app visualize ciGroup11 visual builder Time Series basics Clicking on the chart should create a filter for series with multiple split by terms fields one of which has formatting (#129840)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
DianaDerevyankina and kibanamachine authored Apr 11, 2022
1 parent f32faab commit 1c72b56
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions test/functional/apps/visualize/_tsvb_time_series.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ import expect from '@kbn/expect';
import { FtrProviderContext } from '../../ftr_provider_context';

export default function ({ getPageObjects, getService }: FtrProviderContext) {
const { visualize, visualBuilder, timeToVisualize, dashboard } = getPageObjects([
const { visualize, visualBuilder, timeToVisualize, dashboard, common } = getPageObjects([
'visualBuilder',
'visualize',
'timeToVisualize',
'dashboard',
'common',
]);
const security = getService('security');
const testSubjects = getService('testSubjects');
Expand Down Expand Up @@ -186,14 +187,15 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {

await dashboard.waitForRenderComplete();
const el = await elasticChart.getCanvas();
// click on specific coordinates
await browser
.getActions()
.move({ x: 105, y: 115, origin: el._webElement })
.click()
.perform();

await retry.try(async () => {
// click on specific coordinates
await browser
.getActions()
.move({ x: 105, y: 115, origin: el._webElement })
.click()
.perform();
await common.sleep(2000);
await testSubjects.click('applyFiltersPopoverButton');
await testSubjects.missingOrFail('applyFiltersPopoverButton');
});
Expand Down

0 comments on commit 1c72b56

Please sign in to comment.