protractor Getting started with protractor Pending Tests

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

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.


Got any protractor Question?