You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading to 3.0.0, error reporting seems to be broken for errors occurring outside tests. (This also applies to 3.0.1).
Given the following test file:
describe('bug',()=>{cy.log('not in a test')})
Version 2.4.0 reports it correctly:
But versions 3.0.0 and 3.0.1 hit an error in LogCollectSimpleControl.js:
TypeError: Cannot read property 'relativeFile' of undefined
Because this error occurred during a `after each` hook we are skipping all of the remaining tests.
at LogCollectSimpleControl.sendLogsToPrinter (LogCollectSimpleControl.js:25)
at Context.eval (LogCollectSimpleControl.js:79)
logError @ cypress_runner.js:197884
The text was updated successfully, but these errors were encountered:
Is a fix for this really released? I looked in the changelog between 3.0.1 and 3.0.2 and the only addition was a test case that would express the error, but it's doesn't look like it's being run from test/test.js anywhere as part of the suite.
Since upgrading to 3.0.0, error reporting seems to be broken for errors occurring outside tests. (This also applies to 3.0.1).
Given the following test file:
Version 2.4.0 reports it correctly:
But versions 3.0.0 and 3.0.1 hit an error in LogCollectSimpleControl.js:
The text was updated successfully, but these errors were encountered: