Issues after upgrading to Protractor 6.0.0
See original GitHub issueTest breaks if it’s run with ‘fit’ or ‘fdescribe’ on this line results.failedExpectations[0].message
because result status can now be ‘excluded’ which is not handled in the code.
This condition:
results.status === 'pending' || results.status === 'disabled''
should be changed into:
results.status === 'pending' || results.status === 'disabled' || results.status === 'excluded'
(2 places in jasmine2MetaDataBuilder function)
There is no duration time in the report (it’s NaN), because there is no ‘started’ property in the result (only stopped).
this is how the new results object looks like:
deprecationWarnings: []
description: "should start session for E2E test"
duration: null
failedExpectations: []
fullName: "App should start session for E2E test"
id: "spec1"
passedExpectations: []
pendingReason: ""
status: "excluded"
stopped: "2019-04-15T09:58:59.394Z"```
Issue Analytics
- State:
- Created 4 years ago
- Comments:23
Top Results From Across the Web
Unable to resolve dependency tree error when installing npm ...
You have dependency conflict (incorrect and potentially broken dependency) as it says, so try to run the command with --force , or --legacy-peer ......
Read more >Changelog - Cypress Documentation
Fixed an issue with the cy.session command where it now recollects the session data after validation is ... Upgraded chai-as-promised from 6.0.0 to...
Read more >angular/webdriver-manager - Gitter
@lagohr_twitter feel free to open up an issue. ... Using protractor 6.0.0 , when I ran webdriver-manager update, it is bringing in the...
Read more >cannot find module 'protractor' or its corresponding type ...
I use Node.js v14.9.0 and Angular v.10. Why does this error happen? And how to fix it on Windows? All works perfectly on...
Read more >The Pain of Upgrading to an Outdated Angular version 6
In general, when you upgrade a front end framework you usually need a ... was very wrong – instead of upgrading to the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@OldShaterhan many thanks for comparing the results…I will release the version soon
@miller45 compare of results from v.5.4.2 vs. v.6.0.0 v.5.4.2 (1.3.3) …v.6.0.0. (1.3.6.alpha1) so it seems okay on my side.