Skip to content

Commit

Permalink
Updating tests for Discover > Data Grid
Browse files Browse the repository at this point in the history
  • Loading branch information
1Copenut committed Sep 23, 2021
1 parent ecbda78 commit 789167a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/apps/discover/_data_grid_field_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

await retry.waitFor('first cell contains expected timestamp', async () => {
const cell = await dataGrid.getCellElement(1, 3);
const text = await cell.getVisibleText();
const text = (await cell.getVisibleText()).split('\n')[0];
return text === expectedTimeStamp;
});
});
Expand Down

0 comments on commit 789167a

Please sign in to comment.