Skip to content

Commit dbff978

Browse files
committed
readded link long press test
1 parent 2b0e87d commit dbff978

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.maestro/tests/room/message-markdown-click.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,34 @@ tags:
9090
text: 'OK'
9191
optional: true
9292

93+
# Long press on the link to copy to clipboard
94+
- runFlow:
95+
when:
96+
platform: Android
97+
commands:
98+
- longPressOn:
99+
text: '.*https://www.rocket.chat.*'
100+
- runFlow:
101+
when:
102+
platform: iOS
103+
commands:
104+
- longPressOn:
105+
point: 66%,63%
106+
107+
# Verify clipboard has the link alert
108+
- extendedWaitUntil:
109+
visible:
110+
text: '.*Link Long Pressed*.'
111+
timeout: 10000
112+
113+
- assertVisible:
114+
text: '.*https://www.rocket.chat*.'
115+
116+
# Dismiss the alert
117+
- tapOn:
118+
text: 'OK'
119+
optional: true
120+
93121
# Tap on e2e_admin mention to open user info
94122
- tapOn:
95123
text: '.*e2e_admin*.'

0 commit comments

Comments
 (0)