-
Notifications
You must be signed in to change notification settings - Fork 1
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
Write a test for clipboard copy on CSS page #103
Labels
Comments
In the component test, using the We need to figure out an alternative. |
masakudamatsu
pushed a commit
that referenced
this issue
Apr 25, 2020
masakudamatsu
pushed a commit
that referenced
this issue
Apr 25, 2020
masakudamatsu
pushed a commit
that referenced
this issue
Apr 25, 2020
We disable the copy button when Clipboard API and its fallback fail. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TODO: at least try to test if the Clipboard API is called by clicking the copy button.
Cypress doesn't support the access to the clipboard content.
Maybe feasible as a component test by using the Clipboard API.
We also need to test if the error message is shown after failing to copy into clipboard.
The text was updated successfully, but these errors were encountered: