wix/Detox

Assert device clipboard

Offen

#4.238 geöffnet am 22.10.2023

 (3 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)JavaScript (1.942 Forks)batch import
hacktoberfestplatform: androidplatform: iosstatus: acceptedtype: enhancement ⚡️user: looking for contributors

Repository-Metriken

Stars
 (10.558 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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/

Contributor Guide