Error: test.info() can only be called while test is running on attaching screenshot in Playwright Cucumber TS framework #2880
Unanswered
yakomoga
asked this question in
Questions & Support
Replies: 1 comment
-
To fix the issue, import Alternatively, you can add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am getting an Error: test.info() can only be called while test is running on Allure attachment function
I set up a minimal repo to reproduce it.
It fails on Then English version of Wikipedia is opened step, Allure report is generated but no attachment is added with error 'Error: test.info() can only be called while test is running'
https://github.com/yakomoga/Allure-bug
I have seen the same error in another discussion but the solution didn't work for me.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions