diff --git a/test/public/defaults.js b/test/public/defaults.js index 25d8e13857..c0fe175937 100644 --- a/test/public/defaults.js +++ b/test/public/defaults.js @@ -502,7 +502,7 @@ const getPopoverInnerText = (popoverTrigger) => { } const popover = document.querySelector(`.popover[data-popover-key="${key}"]`); - return popover.innerHTML; + return popover.innerText; }); }; diff --git a/test/public/qcFlags/gaqOverview.test.js b/test/public/qcFlags/gaqOverview.test.js index 312cc26e9b..218115e8aa 100644 --- a/test/public/qcFlags/gaqOverview.test.js +++ b/test/public/qcFlags/gaqOverview.test.js @@ -72,6 +72,7 @@ module.exports = () => { await validateTableData(page, new Map(Object.entries(tableDataValidators))); + await page.waitForSelector('tr:nth-of-type(2)'); expect(await getTableContent(page)).to.have.all.deep.ordered.members([ [ 'MC.R', diff --git a/test/public/qcFlags/index.js b/test/public/qcFlags/index.js index a1018757cf..53bca9595d 100644 --- a/test/public/qcFlags/index.js +++ b/test/public/qcFlags/index.js @@ -26,5 +26,5 @@ module.exports = () => { describe('For Simulation Pass Creation Page', ForSimulationPassCreationSuite); describe('Details For Data Pass Page', DetailsForDataPassPageSuite); describe('Details For Simulation Pass Page', DetailsForSimulationPassPageSuite); - describe('GAQ overviewe page', GaqOverviewPageSuite); + describe('GAQ overview page', GaqOverviewPageSuite); };