Replies: 6 comments 1 reply
-
yep, I see this error too on 3.0.2 For failed tests there are error stack and recorder code For successful tests - some code I am using WebDriver helper without gherkin steps. Do you use gherkin, @mirao ? |
Beta Was this translation helpful? Give feedback.
-
@elukoyanov No, I do not. I'm also using WebDriver without gherkin |
Beta Was this translation helpful? Give feedback.
-
I think I accidentally suppressed the gherkin error in 3.0.3 when i was adding logic for bddStep event. Instead of throwing the error it was returning on the whole step when error is encountered. I am not sure if this is related, but I have a fix for that here: #2745 |
Beta Was this translation helpful? Give feedback.
-
Hi, I face the same issue. I can not see any steps/verbose information in the report. |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue, in the json file, context becomes null and the code is replaced with the same recorder.errHandler blob you posted. Using the latest versions of mochawesome (6.2.2) and codeceptjs (3.0.6) This only happens if you retry the test. The old data is replaced with this incorrect data. Screenshots remain in the folder, but are also not displayed. This was not a problem with 2.x.x
|
Beta Was this translation helpful? Give feedback.
-
Related issue: #3274 |
Beta Was this translation helpful? Give feedback.
-
What are you trying to achieve?
Mochawesome report shows scenario steps (stack) when a scenario fails. It's useful because of context - when it's not clear in which step it occurred.
This is how it looks in CodeeceptJS 2.6.11:
What do you get instead?
Missing scenario steps in CodeceptJS 3.0.3. There is only an "internal" stack from node modules which isn't too much useful:
# codeceptjs run --grep "Test login screen" --profile jobr --reporter mocha-multi
Details
Beta Was this translation helpful? Give feedback.
All reactions