wix/Detox

Assert device clipboard

Open

#4,238 opened on Oct 22, 2023

 (3 comments) (2 reactions) (0 assignees)JavaScript (1,942 forks)batch import
hacktoberfestplatform: androidplatform: iosstatus: acceptedtype: enhancement ⚡️user: looking for contributors

Repository metrics

Stars
 (10,558 stars)
PR merge metrics
 (PR metrics pending)

Description

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