待測試
Protractor 允許將測試設定為待定。這意味著 Protractor 將不會執行測試,而是輸出:
Pending:
1) Test Name
Temporarily disabled with xit
或者,如果使用 xdescribe() 禁用:
Pending:
1) Test Name
No reason given
組合
xdescribe()中的xit()將輸出xit()響應。fdescribe()中的xit()仍將被視為待處理。xdescribe()中的fit()仍然會執行,沒有掛起的測試會輸出任何內容。