Cypress detected that an uncaught error was thrown from a cross origin script.引用https://docs.cypress.io/api/events/catalog-of-events.html#To-catch-a-single-uncaught-exception 我正在尝试运行一个测试左下角的错误是, 错误:未捕获AssertionError:预期的
我期待,一个路由响应的status &路由的url来扩展内置的功能。不幸的是,我在The route undefined had a undefined status code.中得到了这个消息console。注意,我现在正在使用浏览器的console。这就是我迄今尝试过的:Cypress.Commands.overwrite('route