How can I test a client-side redirect to a 3rd party site with Cypress?

后端 未结 0 1309
独厮守ぢ
独厮守ぢ 2020-11-30 20:24

Cypress offers a simple way to test for server-side redirects using request:

cy.request({
  url: `/dashboard/`,
  followRedirect: false, // turn off following         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题