Skip to content

Commit

Permalink
Hopefully fix functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed Dec 23, 2020
1 parent 46f60d7 commit 71d943f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/functional/apps/dashboard/embeddable_data_grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('saved search filters', function () {
it('are added when a cell filter is clicked', async function () {
await dashboardAddPanel.addSavedSearch('Rendering-Test:-saved-search-datagrid');
await dashboardAddPanel.addSavedSearch('Rendering-Test:-saved-search');
await find.clickByCssSelector(`[role="gridcell"]:nth-child(2)`);
await find.clickByCssSelector(`[data-test-subj="filterOutButton"]`);
await PageObjects.header.waitUntilLoadingHasFinished();
await find.clickByCssSelector(`[role="gridcell"]:nth-child(2)`);
await find.clickByCssSelector(`[data-test-subj="filterForButton"]`);
const filterCount = await filterBar.getFilterCount();
Expand Down

0 comments on commit 71d943f

Please sign in to comment.