Closed tobias38 closed 3 years ago
yes I will have a look
On Mon, Jul 5, 2021 at 11:02 AM tobias38 @.***> wrote:
Hi,
I have an issue with version "7.7.11" of "wdio-html-nice-reporter" in combination with wdio version "7.7.4":
If a test suite fails the generated html report renders an empty "Assertion" text. The root cause is that it uses event.message as source but the actual content is in event.value.message. Same is true for the stack: The error stack is in event.value.stack.
Can you please have a look at that?
Regards, Tobias
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rpii/wdio-html-reporter/issues/62, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEABIEJZYTBYWMWS65ZOQHTTWHXPZANCNFSM473EGN6Q .
tobias,
so the new version of webdriverio changed the event structure causing the assertion to fail. I have published a new version for 7.7.4 or higher. There may be more issues but will have to do more testing. the test cases are static so they can not anticipate changes to objects.
Rich
On Mon, Jul 5, 2021 at 11:06 AM Rich Peters @.***> wrote:
yes I will have a look
On Mon, Jul 5, 2021 at 11:02 AM tobias38 @.***> wrote:
Hi,
I have an issue with version "7.7.11" of "wdio-html-nice-reporter" in combination with wdio version "7.7.4":
If a test suite fails the generated html report renders an empty "Assertion" text. The root cause is that it uses event.message as source but the actual content is in event.value.message. Same is true for the stack: The error stack is in event.value.stack.
Can you please have a look at that?
Regards, Tobias
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rpii/wdio-html-reporter/issues/62, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEABIEJZYTBYWMWS65ZOQHTTWHXPZANCNFSM473EGN6Q .
Thanks very much for this fast fix Rich. I can confirm that the errors are now getting rendered correctly with version 7.7.12 of wdio-html-nice-reporter
Hi,
I have an issue with version "7.7.11" of "wdio-html-nice-reporter" in combination with wdio version "7.7.4":
If a test suite fails the generated html report renders an empty "Assertion" text. The root cause is that it uses
event.message
as source but the actual content is inevent.value.message
. Same is true for the stack: The error stack is inevent.value.stack
.https://github.com/rpii/wdio-html-reporter/blob/88fe43943824b4702a93a30e24492fd9c1d4ec3d/templates/wdio-html-reporter-template.hbs#L348
Can you please have a look at that?
Regards, Tobias