Default Template does not render errors
Closed this issue · 3 comments
tobias38 commented
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
rpii commented
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>
.
rpii commented
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>
> .
>
tobias38 commented
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