![](/img/trans.png)
[英]What is the difference between Cypress before() hook and it() test
[英]What is the difference between pause and debug in Cypress
文檔中已經解釋了差異。
暫停
This does not set a debugger in your code, unlike .debug()
調試
You need to have your Developer Tools open for .debug() to hit the breakpoint.
兩者都是來自 cypress 包的實用命令,可以以相同的方式執行(鏈接 cy 或關閉另一個命令)並且沒有超時期限。 但不同之處在於:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.