Cypress test which reproduce this error https://github.com/Robot72/quantcast-cypress-issue/blob/master/cypress/integration/quantcast/check_errors.spec.js
This test code:
context('Navigation to our website', () => {
it('Visit and check quantcast has error or not', () => {
cy.visit('https://www.nanoresort.com/stories/celebrities-lost-money-can-no-longer-afford-extravagant-lifestyles/');
})
})
The Screenshot shows this issue window._tcfapi error
If I open this link from test in my browser then I do not see this window.__tcfapi error. I can reproduce this error from cypress for any other websites which using quantcast library but I do not see this from my browser without cypress.
Could you help me to understand why I have this error when cypress run this test?