待测试
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()仍然会运行,没有挂起的测试会输出任何内容。