-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues after upgrading to Protractor 6.0.0 #140
Comments
Ok that is a thing could be fixed easily... |
@britvik I pushed an updated version to the master branch. But I dont want to publish it yet...can you please test the fix by installing directly from git? |
@miller45 Thanks I tested it. First issue is fixed. Now only second issue remains: |
@britvik Is the started value only missing for skipped/excluded tests or for all tests? |
@miller45 all tests |
@britvik well the result object/parameter contains no information about the start time at all. The new jasmine/protractor version doest not deliver it any more... This requires some serious rework of the code... |
How about publishing a version with the first fix? It is more serious than the second one. |
@britvik I published the first fix for 1). Currently I cannot get protractor 6 to run angularjs test...I fear protractor 6 requires a complete differnent development with the reporter. |
Second issue happens for me too, it would be great if it could be fixed soon. |
I think i will release a prelease version soon that you can test. |
fix protractor 6 duration issue #140
@britvik @OldShaterhan I published a alpha version for testing. You can install it with |
@miller45 compare of results from v.5.4.2 vs. v.6.0.0 |
@OldShaterhan many thanks for comparing the results...I will release the version soon |
@miller45 ok, please let me know, when new version will be released officially ;) |
@miller45 , when we can expect release of the new version? |
@miller45 I found one problem, I'm not sure if it is caused by Protractor 6.0.0, but sometimes it happens that page couldn't load and we have such error in console: |
@miller45 , when we can expect PBR 1.3.6? |
@OldShaterhan Ok I just published version 1.3.6..
does it mean the page works when you press the refresh button of the browser or is that the report from that session is broken permanently? |
Second one - results are broken permanently. |
@harmatii I need the callstack from console. Else I cannot deduce anything from the screenshot. |
@OldShaterhan I have hard time to reproduce it. If look into the app.js and search for " var results". Do you see a proper array of test results? |
Sorry for late response. |
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:
The text was updated successfully, but these errors were encountered: