-
Notifications
You must be signed in to change notification settings - Fork 114
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
[BUG] Test copying links in Safari is flaky #1081
Comments
@leanneeliatra , could you help to take a look? |
xluo-aws
changed the title
[BUG] Test copying links in Safari if flaky
[BUG] Test copying links in Safari is flaky
Feb 8, 2024
1 task
1 task
kavilla
pushed a commit
that referenced
this issue
May 7, 2024
Add permission for copying link to clipboard in cypress/integration/core-opensearch-dashboards/opensearch-dashboards/dashboard_share_copy_link_test.js Issues Resolved resolves #1081 Signed-off-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
SuZhou-Joe
pushed a commit
that referenced
this issue
May 14, 2024
Add permission for copying link to clipboard in cypress/integration/core-opensearch-dashboards/opensearch-dashboards/dashboard_share_copy_link_test.js Issues Resolved resolves #1081 Signed-off-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com> (cherry picked from commit 64959fa) Co-authored-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the bug?
The cypress test here is flaky, sometimes it runs failed with error
NotAllowedError: Read permission denied.
, see the detail here: https://github.com/opensearch-project/opensearch-dashboards-functional-test/actions/runs/7637122802/job/20954769803.The reason maybe that when executing
win.navigator.clipboard.readText()
, read permission on the clipboard is not granted, here's the document about accessing clipboard: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Interact_with_the_clipboard.How can one reproduce the bug?
Running that test in Safari may reproduce.
What is the expected behavior?
Fix the flaky test.
What is your host/environment?
Safari browser.
Do you have any screenshots?
Do you have any additional context?
The cypress test was introduced in this PR: #940
The text was updated successfully, but these errors were encountered: