#11351 Allure step() not working in failures.#11352
Merged
christian-bromann merged 1 commit intomainfrom Oct 4, 2023
Merged
Conversation
Fix error propagating.
3 tasks
epszaw
approved these changes
Oct 4, 2023
christian-bromann
approved these changes
Oct 4, 2023
Member
christian-bromann
left a comment
There was a problem hiding this comment.
Thanks for the quick fix. 👍
|
Hi, @BorisOsipov I've just checked the fix with version 8.16.22 and unfortunately it doesn't work in my case. {
"uuid":"2dc82131-e29b-4b61-aed5-f6be73881ad6",
"historyId":"4b3943ebcc6eb8d55440235d30a0c776",
"status":"failed",
"statusDetails":{
"message":"Expected $.length = 4 to equal 3.\nExpected $[0] = 'x' to equal 'y'.\nExpected $[1] = 'a' to equal 'b'.\nExpected $[2] = 'c' to equal 'd'.\nUnexpected $[3] = 'e' in array. \n actual expected\n \n [ [ 'xy', 'ab', 'cd' ], 'eUnexpected mode' ]\n ",
"trace":" at <Jasmine>\n at xyz at processTicksAndRejections (node:internal/process/task_queues:96:5)"
},
"stage":"finished",
"steps":[
{
"name":"Login to xyz",
"start":1696612920075,
"stop":1696612922694,
"stage":"finished",
"status":"passed",
"statusDetails":{
},
"attachments":[
],
"parameters":[
],
"steps":[
],
"description":""
},
{
"name":"Open xyz and verify xyz",
"start":1696612922861,
"stop":1696612927926,
"stage":"finished",
"status":"passed",
"statusDetails":{
},
"attachments":[
],
"parameters":[
],
"steps":[
],
"description":""
}
],
"attachments":[
{
"name":"screenshot_2023-10-06T17_22_08_523Z",
"type":"image/png",
"source":"1df75bcb-69bc-4d75-9eee-8716b1d05fd7-attachment.png"
}
],
"parameters":[
{
"name":"browser",
"value":"chrome-117.0.5938.149"
},
{
"name":"Host",
"value":"http://localhost:8080/"
},
{
"name":"Chromedriver Version:",
"value":"117.0.5938.92 (67649b10b92bb182fba357831ef7dd6a1baa5648-refs/branch-heads/5938_62@{#14})"
},
{
"name":"Platform:",
"value":"mac os x"
}
],
"labels":[
{
"name":"language",
"value":"javascript"
},
{
"name":"framework",
"value":"wdio"
},
{
"name":"package",
"value":"xyz"
},
{
"name":"thread",
"value":"0-0"
},
{
"name":"suite",
"value":"xyz"
},
{
"name":"feature",
"value":"xyz"
}
],
"links":[
{
"url":"abc",
"type":"tms"
}
],
"start":1696612916706,
"name":"xyz",
"stop":1696612928540
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Proposed changes
Fix error propagating.
Fixes #11351
Types of changes
Checklist
Further comments
Reviewers: @webdriverio/project-committers