我需要为我的应用程序编写一个使用联合登录(Google)的柏树测试。即使在禁用了chromeWebSecurity之后,我也会收到CORS错误。有人有这方面的样本代码吗?describe('log in with google', ()=>{ cy.visit('http://localhost:3000/')cy.contains('Log in with Go
当我在Cypress中运行以下Google测试时,我得到以下401错误消息:“unauthorized_client”:"unauthorized_client","error_description"用户成龙( Jackie )能够通过谷歌( Google )手动登录,但出于某种原因,这个测试在Cypress上失败了。在看完它之后,我和我的队友认为这可能与当我们打开它时Cypress给我们的端口有关。有人知道如何覆盖Cypress</em