-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Copy error message with stacktrace" to clipboard action doesn't work #49
Comments
Hi, @plagov! Could you clarify whether the button copies the error message or if nothing at all is added to the clipboard? Logically, the stack trace shouldn't be included when the button is pressed, message only. Also, could you please let me know your browser/OS and its version? It’s possible that the issue is related to the environment or operating system you’re using. Thank you! |
Hi @todti! Also, I tried the same in Firefox. Also clean, no ad blockers, just default browser settings - it's fine, the error message is copied into the clipboard. It might be useful as well. |
@todti does the fix handle issue with the |
@todti does the fix work with Edge browser? Doesn't look it is fixed for Edge. Same with the full name of the scenario. P.S. I don't have permissions to reopen this issue. |
I'll test again. It's possible that browser Edge is blocking clipboard access. Do you have any errors in the browser console? |
@todti sorry, I forgot to check the browser console for any errors. Indeed, there are issues with permissions. Here's what I get when click on the icon: [Violation] Permissions policy violation: The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://permanently-removed.invalid for more details. Uncaught (in promise) NotAllowedError: Failed to execute 'writeText' on 'Clipboard': The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://permanently-removed.invalid for more details. |
The issue is related to access permissions in Azure DevOps. Copying is not only restricted to report but also at the environment level. You need to adjust the permissions at the environment level to allow clipboard access. A quick fix could be opening |
I add the latest available versions of both
allure3
andplugin-awesome
within my pipeline through thenpm
commands:npm add allure
andnpm add @allurereport/plugin-awesome
.When I open the failed test and I want to copy the error message with the stack-trace to the clipboard by clicking the respective "copy" icon (see attached screenshot), then it doesn't copy anything into the clipboard.
The text was updated successfully, but these errors were encountered: