protractor Getting started with protractor Pending Tests


Example

Protractor allows tests to be set as pending. This means that protractor will not execute the test, but will instead output:

Pending:
1) Test Name
Temporarily disabled with xit

Or, if disabled with xdescribe():

Pending:
1) Test Name
No reason given

Combinations

  • A xit() within an xdescribe() will output the xit() response.
  • A xit() within an fdescribe() will still be treated as pending.
  • A fit() within an xdescribe() will still run, and no pending tests will output anything.