... 在Cypress 6.0.0 後就不再使用 cy.server() 和 cy.route(). 使用 cy.intercept() 在網路層管理HTTP 請求的行為。 對network requests 和responses 進行stub 或spy ...
確定! 回上一頁