Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
7f57e40
basic...
Rohit3523 Sep 16, 2025
3511beb
Added till pin and unpin
Rohit3523 Sep 16, 2025
2ec688c
more changes
Rohit3523 Sep 16, 2025
ab6298a
done
Rohit3523 Sep 17, 2025
070672d
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.R…
Rohit3523 Sep 17, 2025
d3decea
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.R…
Rohit3523 Sep 17, 2025
1c60a8f
chore: format code with Prettier [skip ci]
Rohit3523 Sep 17, 2025
447347e
change timeout to 60000
Rohit3523 Sep 17, 2025
00ead1c
Merge branch '3rd-set-of-room-test' of https://github.com/RocketChat/…
Rohit3523 Sep 17, 2025
b932ef4
fix
Rohit3523 Sep 17, 2025
894a8d6
fix
Rohit3523 Sep 17, 2025
3fa8084
chore: format code with Prettier [skip ci]
Rohit3523 Sep 17, 2025
72aac26
Fix for send message
Rohit3523 Sep 17, 2025
b11b611
Merge branch '3rd-set-of-room-test' of https://github.com/RocketChat/…
Rohit3523 Sep 17, 2025
1e8b205
discussion basic
Rohit3523 Sep 17, 2025
d5e78df
chore: format code with Prettier [skip ci]
Rohit3523 Sep 17, 2025
769ad49
Added test id to multi select
Rohit3523 Sep 17, 2025
a687d6a
done i guess
Rohit3523 Sep 17, 2025
1a88a2a
threads done
Rohit3523 Sep 17, 2025
46dc6f4
chore: format code with Prettier [skip ci]
Rohit3523 Sep 17, 2025
2a61582
some more changes
Rohit3523 Sep 17, 2025
9252979
Merge branch '3rd-set-of-room-test' of https://github.com/RocketChat/…
Rohit3523 Sep 17, 2025
3f9ebb3
added timeout
Rohit3523 Sep 17, 2025
9f01847
group dm done :)
Rohit3523 Sep 17, 2025
fa21bb7
Remove some index
Rohit3523 Sep 18, 2025
abc3d74
temporary removed toast message
Rohit3523 Sep 18, 2025
3d8f7e4
fix thread test
Rohit3523 Sep 18, 2025
8872b9c
bottomsheet fix for test to pass
Rohit3523 Sep 18, 2025
d6e318a
mark as unread done
Rohit3523 Sep 19, 2025
47ebea3
Should have 1 in room list
Rohit3523 Sep 19, 2025
e4029ee
room info test partial
Rohit3523 Sep 20, 2025
c22d2d3
chore: format code with Prettier [skip ci]
Rohit3523 Sep 20, 2025
7ca6def
more test
Rohit3523 Sep 22, 2025
d6b6fc4
make private channel...
Rohit3523 Sep 22, 2025
479e7ac
chore: format code with Prettier [skip ci]
Rohit3523 Sep 22, 2025
cac7b5b
correct
Rohit3523 Sep 22, 2025
a627d2b
Jump to message done :)
Rohit3523 Sep 22, 2025
1d8dfcf
chore: format code with Prettier [skip ci]
Rohit3523 Sep 22, 2025
ecb5ce7
rerun
Rohit3523 Sep 22, 2025
b8e8b45
revert
Rohit3523 Sep 22, 2025
012bb80
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.R…
Rohit3523 Sep 23, 2025
f9a6a3d
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.R…
Rohit3523 Sep 23, 2025
1f43efb
Merge branch 'develop' into 4th-batch-of-room-test
Rohit3523 Sep 24, 2025
51a35a2
Merge branch 'develop' into 4th-batch-of-room-test
Rohit3523 Sep 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
274 changes: 274 additions & 0 deletions .maestro/tests/room/jump-to-message.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,274 @@
appId: chat.rocket.reactnative
name: Jump to message
onFlowStart:
- runFlow: '../../helpers/setup.yaml'
onFlowComplete:
- evalScript: ${output.utils.deleteCreatedUsers()}

---
- runFlow: '../../helpers/launch-app.yaml'
- runFlow:
file: '../../helpers/login.yaml'
env:
USERNAME: ${output.account.adminUser}
PASSWORD: ${output.account.adminPassword}

# should jump to an old message and load its surroundings
- runFlow:
file: '../../helpers/navigate-to-room.yaml'
env:
ROOM: 'jumping'
- extendedWaitUntil:
visible:
text: '.*300.*'
timeout: 60000
- extendedWaitUntil:
visible:
text: '.*Quote first message.*'
timeout: 60000
- longPressOn:
text: '.*Quote first message.*'
- extendedWaitUntil:
visible:
text: 'Jump to message'
timeout: 60000
- tapOn:
text: 'Jump to message'
- extendedWaitUntil:
visible:
id: 'message-content-1'
timeout: 60000
- extendedWaitUntil:
visible:
id: 'message-content-2'
timeout: 60000

# should tap FAB and scroll to bottom
- extendedWaitUntil:
visible:
id: 'nav-jump-to-bottom'
timeout: 60000
- tapOn:
id: 'nav-jump-to-bottom'
- extendedWaitUntil:
visible:
text: .*Go to jumping-thread's thread.*
timeout: 60000
- runFlow:
file: './utils/clear-cache.yaml'

# should load messages on scroll
- runFlow:
file: '../../helpers/navigate-to-room.yaml'
env:
ROOM: 'jumping'
- extendedWaitUntil:
visible:
id: 'room-view-messages'
timeout: 60000
- extendedWaitUntil:
visible:
text: '.*300.*'
timeout: 60000
- scrollUntilVisible:
element:
text: '.*249.*'
timeout: 120000
direction: UP
- runFlow:
file: './utils/clear-cache.yaml'

# should search for old message and load its surroundings
- runFlow:
file: '../../helpers/navigate-to-room.yaml'
env:
ROOM: 'jumping'
- extendedWaitUntil:
visible:
id: 'room-view-search'
timeout: 60000
- tapOn:
id: 'room-view-search'
- extendedWaitUntil:
visible:
id: 'search-messages-view'
timeout: 60000
- extendedWaitUntil:
visible:
id: 'search-message-view-input'
timeout: 60000
- tapOn:
id: 'search-message-view-input'
- inputText: '30'
- extendedWaitUntil:
visible:
id: 'message-content-30'
timeout: 60000
- tapOn:
text: '30'
index: 1
- extendedWaitUntil:
visible:
id: 'message-content-29'
timeout: 60000
- extendedWaitUntil:
visible:
id: 'message-content-30'
timeout: 60000
- extendedWaitUntil:
visible:
id: 'message-content-31'
timeout: 60000

# should load newer and older messages
- scrollUntilVisible:
element:
text: 'Load older'
direction: UP
timeout: 60000
- extendedWaitUntil:
visible:
id: 'message-content-5'
timeout: 60000
- tapOn:
text: 'Load older'
- extendedWaitUntil:
visible:
id: 'message-content-4'
timeout: 60000
- scrollUntilVisible:
element:
id: 'message-content-1'
direction: UP
timeout: 60000
- scrollUntilVisible:
element:
id: 'message-content-50'
direction: DOWN
timeout: 60000
- scrollUntilVisible:
element:
text: '.*Load newer.*'
direction: DOWN
timeout: 60000
- tapOn:
text: '.*Load newer.*'
- extendedWaitUntil:
visible:
id: 'message-content-104'
timeout: 60000
- extendedWaitUntil:
visible:
text: '.*Load newer.*'
timeout: 60000
- tapOn:
text: '.*Load newer.*'
- extendedWaitUntil:
visible:
id: 'message-content-154'
timeout: 60000
- extendedWaitUntil:
visible:
text: '.*Load newer.*'
timeout: 60000
- tapOn:
text: '.*Load newer.*'
- extendedWaitUntil:
visible:
id: 'message-content-202'
timeout: 60000
- tapOn:
id: header-back

# should navigate to a thread from another room
- runFlow:
file: '../../helpers/navigate-to-room.yaml'
env:
ROOM: 'jumping'
- extendedWaitUntil:
visible:
text: .*Go to jumping-thread's thread.*
timeout: 60000
- longPressOn:
text: .*Go to jumping-thread's thread.*
- extendedWaitUntil:
visible:
text: 'Jump to message'
timeout: 60000
- tapOn:
text: 'Jump to message'
- runFlow:
file: './utils/expect-thread-messages.yaml'
env:
message: Go to jumping-thread's thread
- tapOn:
id: header-back

# should tap on thread message from main room
- extendedWaitUntil:
visible:
id: 'room-view-title-jumping-thread'
timeout: 60000
- extendedWaitUntil:
visible:
text: '.*thread message sent to main room.*'
timeout: 60000
- tapOn:
text: '.*thread message sent to main room.*'
- runFlow:
file: './utils/expect-thread-messages.yaml'
env:
message: 'thread message sent to main room'
- tapOn:
id: header-back

# should tap on quote
- extendedWaitUntil:
visible:
id: 'room-view-title-jumping-thread'
timeout: 60000
- extendedWaitUntil:
visible:
text: '.*quoted.*'
timeout: 60000
- longPressOn:
text: '.*quoted.*'
- extendedWaitUntil:
visible:
text: 'Jump to message'
timeout: 60000
- tapOn:
text: 'Jump to message'
- runFlow:
file: './utils/expect-thread-messages.yaml'
env:
message: 'quoted'
- tapOn:
id: 'header-back'

# should jump from search message
- extendedWaitUntil:
visible:
id: 'room-view-title-jumping-thread'
timeout: 60000
- tapOn:
id: 'room-view-search'
- extendedWaitUntil:
visible:
id: 'search-messages-view'
timeout: 60000
- extendedWaitUntil:
visible:
id: 'search-message-view-input'
timeout: 60000
- inputText: 'to be searched'
- extendedWaitUntil:
visible:
id: 'message-content-to be searched'
timeout: 60000
- tapOn:
id: 'message-content-to be searched'
- runFlow:
file: './utils/expect-thread-messages.yaml'
env:
message: 'to be searched'
59 changes: 59 additions & 0 deletions .maestro/tests/room/mark-as-unread.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
appId: chat.rocket.reactnative
name: Mark as unread
onFlowStart:
- runFlow: '../../helpers/setup.yaml'
onFlowComplete:
- evalScript: ${output.utils.deleteCreatedUsers()}

---
- runFlow: '../../helpers/launch-app.yaml'

- evalScript: ${output.user = output.utils.createUser()}
- evalScript: ${output.otherUser = output.utils.createUser()}
- evalScript: ${output.message = output.utils.sendMessage(output.otherUser.username, output.otherUser.password, '@' + output.user.username, 'message-mark-as-unread')}

- runFlow:
file: '../../helpers/login.yaml'
env:
USERNAME: ${output.user.username}
PASSWORD: ${output.user.password}
- runFlow:
file: '../../helpers/navigate-to-room.yaml'
env:
ROOM: ${output.otherUser.username}

# should mark message as unread
- extendedWaitUntil:
visible:
id: 'message-content-message-mark-as-unread'
timeout: 60000
- longPressOn:
id: 'message-content-message-mark-as-unread'
- extendedWaitUntil:
visible:
id: 'action-sheet'
timeout: 60000
- swipe:
from:
id: 'action-sheet-handle'
direction: UP
- extendedWaitUntil:
visible:
text: 'Mark unread'
timeout: 60000
- tapOn:
text: 'Mark unread'
- extendedWaitUntil:
visible:
id: 'rooms-list-view'
timeout: 60000
- extendedWaitUntil:
visible:
id: 'rooms-list-view-item-${output.otherUser.username}'
timeout: 60000
- extendedWaitUntil:
visible:
text: '.*1.*'
childOf:
id: 'rooms-list-view-item-${output.otherUser.username}'
timeout: 60000
Loading
Loading