Assert device clipboard
Describe your idea
Suppose an app has - in one of its screens, a button that reads Copy to clipboard. It could make a lot of sense to validate that the button indeed copies text to the device's clipboard.
We can introduce API's into Detox that would assert the clipboard's content (provided that it's text-based).
See also: #222, #658 Refs: https://carmelosantana.com/accessing-android-clipboard-via-adb-4350/
Hello! We appreciate you bringing this issue to our attention. It looks like this could be a valuable addition or fix to our project. We believe that this feature would benefit greatly from contributions from the community, even from first-time contributors.
If you're interested in contributing to this feature, please take a look at our contribution guide. It has all the information you need to know about how to submit a pull request and contribute to our project.
You're also welcome to join our Discord server and discuss this feature with the collaborators or other contributors under the channel 'contributions'.
Please feel free to reach out to us if you have any questions, or need help with anything. We appreciate your feedback and look forward to working with you!
Is this anyhow related to Pasteboard on iOS?
https://github.com/wix/Detox/pull/658
Is this anyhow related to Pasteboard on iOS?
#658
Nice catch. Might be, though it looks different. @asafkorem wdyt?