E2E Protractor benchmarks in firefox say 8 pending specs, what does that mean?

When I run my tests I get:

11 specs, 0 failures, 8 pending specs

Completed in 56.861 seconds

[launcher] 0 instances of WebDriver is still running

[launcher] passed firefox # 1.

What does this "8 pending specifications" mean?

+3


source to share


1 answer


This is coming from your test environment (I'm assuming jasmine

):

Pending specifications do not run, but their names will appear as pending in the results.

Any BOM declared with xit

is marked pending.

Any BOM declared without a function body will also be flagged pending results.

And if you call a function pending

anywhere in the body of the spec, no matter what the expectation is, the spec will be marked pending.

If you are asking this and you didn’t do anything on purpose, look at the empty it()

blocks among your tests. Jasmine considers them "pending" or, in other words, "not yet implemented."



FYI, related github issue:

0


source







All Articles