使用Cypress访问Proton Mail遇页面加载问题求助

Cypress测试Proton Mail登录问题
我是Cypress新手,需完成Proton Mail网站的登录及相关测试,目标地址为https://account.proton.me/login。
首次访问该地址时出现安全错误:
Blocked a frame with origin "http://..." from accessing a cross-origin frame.
我按照相关建议将配置添加到cypress.config后,安全错误消失,但页面无法加载。不确定问题出在网站本身还是需要调整其他配置?
测试代码如下:
it('should navigate to Protonmail', () => { cy.visit('https://account.proton.me/login') login_proton(Cypress.env('test').email, Cypress.env('test').password) })
内容的提问来源于stack exchange,提问作者Dids
相关产品推荐
相关产品推荐

