Skip to content

Commit 789167a

Browse files
committed
Updating tests for Discover > Data Grid
1 parent ecbda78 commit 789167a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/apps/discover/_data_grid_field_data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
7272

7373
await retry.waitFor('first cell contains expected timestamp', async () => {
7474
const cell = await dataGrid.getCellElement(1, 3);
75-
const text = await cell.getVisibleText();
75+
const text = (await cell.getVisibleText()).split('\n')[0];
7676
return text === expectedTimeStamp;
7777
});
7878
});

0 commit comments

Comments
 (0)