Hello, I would like you to help me with this topic: I am using mocha for test reports, I am giving a functionality to click on an element - it can also be a SendKey - but even though the console gives me an error, the test is still “successful”, can you help me please? I am using selenium and asyncs fuctions
It would be helpful if you can share some more information on this. More specifically I would want to know by click event here (like click action on a button, or passing some value in a textbox), what’s the next step that happens? Is it manipulating any state in the DOM or navigating to another page.
Have you explored using assert to match the desired state using those changed states after performing an action to mark your test as passed or failed?