afterAssertion() hook is not working. #12484
Replies: 8 comments 8 replies
-
@AnilCa1905 do you have a reproducible example? |
Beta Was this translation helpful? Give feedback.
-
Hi Chris...
Thanks for the replay.
I do have an example
I will share it with you within 30 minutes,
It would be helpful if you can fix this.
Thanks and Regards
Anil
…On Tue, 12 Mar 2024 at 21:01, Christian Bromann ***@***.***> wrote:
@AnilCa1905 <https://github.com/AnilCa1905> do you have a reproducible
example?
—
Reply to this email directly, view it on GitHub
<#12484 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3KWRU2DFMGVBBWOYAMM4CDYX4NV3AVCNFSM6AAAAABER52IIOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONRRGY2TQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hi Chris
I cannot send you a reproducible example as the video size is too large.
So as a brief
I am using the afterAssertion() hook inside my Wdio Jasmine framework.
I need to print the params value inside the parameter for the
afterAssertion() hook.
But it is not working in any case.
Please help me if possible.
The exact requirement for me is to print the expect statement I have given
in the withContect() method even if the test is passed or failed.
I am getting the error if the test is passed but iam not getting the
message if the test is passed.
Please help me in this
Regards
Anil
…On Tue, 12 Mar 2024 at 21:21, Anil Ca ***@***.***> wrote:
Hi Chris...
Thanks for the replay.
I do have an example
I will share it with you within 30 minutes,
It would be helpful if you can fix this.
Thanks and Regards
Anil
On Tue, 12 Mar 2024 at 21:01, Christian Bromann ***@***.***>
wrote:
> @AnilCa1905 <https://github.com/AnilCa1905> do you have a reproducible
> example?
>
> —
> Reply to this email directly, view it on GitHub
> <#12484 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A3KWRU2DFMGVBBWOYAMM4CDYX4NV3AVCNFSM6AAAAABER52IIOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONRRGY2TQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***
> com>
>
|
Beta Was this translation helpful? Give feedback.
-
Ok, thanks for the clarification.
…On Tue, 12 Mar 2024 at 10:42 PM, Christian Bromann ***@***.***> wrote:
A reproducible example is a little Github project I can clone, run a
command on and observe the behavior myself. I don't need a video or
anything, just a little example project.
—
Reply to this email directly, view it on GitHub
<#12484 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3KWRUYYCNTPCVDPXH2BBP3YX4ZQBAVCNFSM6AAAAABER52IIOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONRSHA4TI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hi @christian-bromann |
Beta Was this translation helpful? Give feedback.
-
The Repo is Public: |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
@christian-bromann ,@erwinheitzman |
Beta Was this translation helpful? Give feedback.
-
Hi Team,
I am facing an issue with my wdio test.
I need to use the hook
afterAssertion: function (params) {
} to get the value from the params.
But even with the debugger terminal, this hook is not hitted in any scenario.
Beta Was this translation helpful? Give feedback.
All reactions