Hey there,
Has anyone found a solution to disable taking screenshots with the protractor spec pending() function?
At the moment i have got some of my tests execution under dependecies that call pending() if they cannot be done, for example if there`s no elements on list the whole describe block testing this list elements will be marked as pending.
The problem is that protractor while calling pending() is marking the test as failed, i already configured my jasmine-spec-reporter with this solution , and the issue is to configure the screenshot reporter to ignore these pending specs as well, ignore taking screenshots of those tests, and ignore them in report.
For now the report will look like that:
✗should blablabla(0.135 s)
Failed: => marked Pending ✗ Empty list <--- this is the reason given to pending()
✗should blablabla(2 s)
Failed: => marked Pending ✗ Empty list
✗should blablabla(2.1 s)
Failed: => marked Pending ✗ Empty list
And every of this marked as pending spec will get a screenshot.
Hey there, Has anyone found a solution to disable taking screenshots with the protractor spec pending() function?
At the moment i have got some of my tests execution under dependecies that call pending() if they cannot be done, for example if there`s no elements on list the whole describe block testing this list elements will be marked as pending.
The problem is that protractor while calling pending() is marking the test as failed, i already configured my jasmine-spec-reporter with this solution , and the issue is to configure the screenshot reporter to ignore these pending specs as well, ignore taking screenshots of those tests, and ignore them in report.
For now the report will look like that:
✗should blablabla(0.135 s) Failed: => marked Pending ✗ Empty list <--- this is the reason given to pending() ✗should blablabla(2 s) Failed: => marked Pending ✗ Empty list ✗should blablabla(2.1 s) Failed: => marked Pending ✗ Empty list
And every of this marked as pending spec will get a screenshot.
Thanks in advance for any help.