Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues after upgrading to Protractor 6.0.0

See original GitHub issue

Test 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:open
  • Created 4 years ago
  • Comments:23

github_iconTop GitHub Comments

miller45commented, Sep 28, 2019

@OldShaterhan many thanks for comparing the results…I will release the version soon

OldShaterhancommented, Sep 26, 2019

@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) image image so it seems okay on my side.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found