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_table·ts - visualize app visualize ciGroup12 visual builder table should display correct values on changing metrics aggregation (#110784)
  • Loading branch information
DianaDerevyankina authored Sep 2, 2021
1 parent f3bb942 commit 8a357fd
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/functional/apps/visualize/_tsvb_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
expect(tableData).to.be(EXPECTED);
});

it('should display drilldown urls', async () => {
const baseURL = 'http://elastic.co/foo/';

await visualBuilder.clickPanelOptions('table');
await visualBuilder.setDrilldownUrl(`${baseURL}{{key}}`);

await retry.try(async () => {
const links = await findService.allByCssSelector(`a[href="${baseURL}ios"]`);

expect(links.length).to.be(1);
});
});

it('should display correct values on changing metrics aggregation', async () => {
const EXPECTED = 'OS Cardinality\nwin 8 12\nwin xp 9\nwin 7 8\nios 5\nosx 3';

Expand Down Expand Up @@ -134,6 +121,19 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
const tableData = await visualBuilder.getViewTable();
expect(tableData).to.be(EXPECTED);
});

it('should display drilldown urls', async () => {
const baseURL = 'http://elastic.co/foo/';

await visualBuilder.clickPanelOptions('table');
await visualBuilder.setDrilldownUrl(`${baseURL}{{key}}`);

await retry.try(async () => {
const links = await findService.allByCssSelector(`a[href="${baseURL}ios"]`);

expect(links.length).to.be(1);
});
});
});
});
}

0 comments on commit 8a357fd

Please sign in to comment.