wix/Detox

Assert device clipboard

Aperta

#4238 aperta il 22 ott 2023

 (3 commenti) (2 reazioni) (0 assegnatari)JavaScript (1942 fork)batch import
hacktoberfestplatform: androidplatform: iosstatus: acceptedtype: enhancement ⚡️user: looking for contributors

Metriche repository

Star
 (10.558 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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/

Guida contributor