allure-js
allure-js copied to clipboard
Steps, video and screenshots are not displayed when Playwright test timeouts after multiple attempt to perform action
Steps video and screenshots are not displayed when Playwright test fails due timeout after multiple attempt to perform action on the element.
Please find the attached screenshot of the issue.
Please suggest a way to resolve this issue.
Can you please provide some input on this issue.
Hello @VinayKumarBM can you please provide reproduction of your case? I created demo where tests failed by timeout and my video and sreenshot attachments are fine https://github.com/vovsemenv/pw-504-bug/blob/master/tests/all-completed.test.ts
@vovsemenv Thanks for responding to my query.
In my cases it is trying click on some element but it is blocked by some pop up/ alert. I have action wait time on 2 min, so it keeps retrying to click element with message as shown in my screenshots and eventually it times out.
I cases, where we don't have selector on dom, it times out and fails and I can see that attachments correctly. Only in above scenario I only see error message without any steps or attachments.
Please let me know, if you need any additional details.
I can't reproduce the error using [email protected]