Firefox 中的 E2E Protractor 测试显示有 8 个待定规格这是什么意思?

E2E Protractor tests in firefox says 8 pending specs what does it mean?

当我 运行 我的测试时,我得到:

11 specs, 0 failures, 8 pending specs

Finished in 56.861 seconds

[launcher] 0 instance(s) of WebDriver still running

[launcher] firefox #1 passed.

这个“8 个待定规格”是什么意思?

这是coming from your test framework(我假设jasmine):

Pending specs do not run, but their names will show up in the results as pending.

Any spec declared with xit is marked as pending.

Any spec declared without a function body will also be marked pending in results.

And if you call the function pending anywhere in the spec body, no matter the expectations, the spec will be marked pending.

如果您询问它并且没有故意做任何事情,那么请在您的测试中寻找空的 it() 块。 Jasmine 认为它们 "pending",或者换句话说,"not yet implemented"。

仅供参考,相关 github 问题: