Automated tests Cypress显示JS窗口。\u tcfapi错误,我无法通过手动测试重现该错误
复制此错误的Cypress测试 此测试代码:Automated tests Cypress显示JS窗口。\u tcfapi错误,我无法通过手动测试重现该错误,automated-tests,cypress,gdprconsentform,Automated Tests,Cypress,Gdprconsentform,复制此错误的Cypress测试 此测试代码: 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/'
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/');
})
})
屏幕截图显示了这个问题
如果在浏览器中从测试打开此链接,则不会看到此窗口。\uu tcfapi错误。我可以从使用quantcast库的任何其他网站的cypress中复制此错误,但在没有cypress的情况下,我无法从浏览器中看到此错误
你能帮助我理解为什么在cypress运行此测试时出现此错误吗