Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
  • Loading branch information
abbyhu2000 committed Sep 26, 2023
1 parent a308221 commit 170894e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/functional/apps/dashboard/dashboard_filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default function ({ getService, getPageObjects }) {
});

it('saved search is filtered', async () => {
await dashboardExpect.savedSearchRowCount(0);
await testSubjects.missingOrFail('euiDataGrid');
});

it('vega is filtered', async () => {
Expand Down Expand Up @@ -171,7 +171,7 @@ export default function ({ getService, getPageObjects }) {
});

it('saved search is filtered', async () => {
await dashboardExpect.savedSearchRowCount(0);
await testSubjects.missingOrFail('euiDataGrid');
});

it('vega is filtered', async () => {
Expand Down
1 change: 0 additions & 1 deletion test/functional/services/dashboard/expectations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ export function DashboardExpectProvider({ getService, getPageObjects }: FtrProvi
async savedSearchRowCount(expectedCount: number) {
log.debug(`DashboardExpect.savedSearchRowCount(${expectedCount})`);
await retry.try(async () => {
debugger
// Need to change it here to find out how many rows there are
const timeStamps = await dataGrid.getDataGridTableColumn('date');
expect(timeStamps.length).to.be(expectedCount);
Expand Down

0 comments on commit 170894e

Please sign in to comment.