Skip to content

Commit 9a112bf

Browse files
author
cchaos
committed
Attempting fix at doc_table test
1 parent 91ea2e1 commit 9a112bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/functional/apps/discover/_doc_table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
236236
const scrollWidth = await dscTable.getAttribute('scrollWidth');
237237
const clientWidth = await dscTable.getAttribute('clientWidth');
238238
log.debug(`scrollWidth: ${scrollWidth}, clientWidth: ${clientWidth}`);
239-
return scrollWidth > clientWidth;
239+
return Number(scrollWidth) > Number(clientWidth);
240240
};
241241
const addColumn = async () => {
242242
await PageObjects.discover.clickFieldListItemAdd(fieldNames[fieldCounter++]);

0 commit comments

Comments
 (0)