-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: reaction list cuts off last reactors behind the nav bar #7620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2635291
test: restore Maestro reaction-list regression coverage and sniffler …
Rohit3523 7c55d71
fix: keep bottom-sheet content clear of the Android nav bar
Rohit3523 2d686c8
move test to shard 6
Rohit3523 405f984
fix: use sheet scrollable flag for bottom clearance padding
Rohit3523 9c4255c
added default bottom for home button device
Rohit3523 0454feb
test fix
Rohit3523 0eee495
Merge branch 'develop' into fix/reactions-sheet-last-users-hidden
Rohit3523 74fa399
remove insetAdjustment
Rohit3523 fd5c548
using 48 as bottom
Rohit3523 d0d668f
move value to variable and added comment
Rohit3523 801b22b
fix: keep bottom padding in dynamic sheet detent
Rohit3523 a6a115a
Merge branch 'develop' into fix/reactions-sheet-last-users-hidden
Rohit3523 20313f4
revert few change
Rohit3523 e15a2d7
readded getSheetContentPaddingBottom in handleContentLayout
Rohit3523 98db8b7
Merge branch 'develop' into fix/reactions-sheet-last-users-hidden
Rohit3523 29ab4ce
remove a comment...
Rohit3523 d1e8fc1
Merge branch 'develop' into fix/reactions-sheet-last-users-hidden
Rohit3523 3112a00
Merge branch 'develop' into fix/reactions-sheet-last-users-hidden
Rohit3523 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
.maestro/tests/room/reaction-list-scroll-to-last-user.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| appId: ${APP_ID} | ||
| name: Reaction List Scroll To Last User | ||
| jsEngine: graaljs | ||
| onFlowStart: | ||
| - runFlow: '../../helpers/setup.yaml' | ||
| onFlowComplete: | ||
| - evalScript: ${output.utils.deleteCreatedUsers()} | ||
| tags: | ||
| - test-6 | ||
|
|
||
| --- | ||
| - evalScript: ${output.user = output.utils.createUser()} | ||
| - evalScript: ${output.room = output.utils.createRandomRoom(output.user.username, output.user.password)} | ||
| - evalScript: ${output.randomMessage = 'reaction-list-message-' + output.random()} | ||
| - evalScript: ${output.message = output.utils.sendMessage(output.user.username, output.user.password, output.room.name, output.randomMessage)} | ||
|
|
||
| - runFlow: | ||
| file: '../../helpers/login-with-deeplink.yaml' | ||
| env: | ||
| USERNAME: ${output.user.username} | ||
| PASSWORD: ${output.user.password} | ||
| - runFlow: | ||
| file: '../../helpers/navigate-to-room.yaml' | ||
| env: | ||
| ROOM: ${output.room.name} | ||
|
|
||
| - extendedWaitUntil: | ||
| visible: | ||
| text: '.*${output.randomMessage}.*' | ||
| timeout: 60000 | ||
|
|
||
| # Create 15 users and have them react to the message with a thumbs-up emoji | ||
| - evalScript: ${output.reactors = output.utils.reactAsNewUsers(15, output.message.message._id, ':thumbsup:')} | ||
|
|
||
| - extendedWaitUntil: | ||
| visible: | ||
| id: 'message-reaction-:thumbsup:' | ||
| timeout: 60000 | ||
| - longPressOn: | ||
| id: 'message-reaction-:thumbsup:' | ||
| - extendedWaitUntil: | ||
| visible: | ||
| id: reactionsList | ||
| timeout: 60000 | ||
| - tapOn: | ||
| id: 'reactions-tab-:thumbsup:' | ||
| - waitForAnimationToEnd: | ||
| timeout: 1000 | ||
|
|
||
| # Scroll until the last user is visible in the list of users who reacted to the message. | ||
| - evalScript: ${output.userFound = 0} | ||
| - repeat: | ||
| while: | ||
| true: ${output.userFound == 0} | ||
| commands: | ||
| - swipe: | ||
| from: | ||
| id: 'usersList-:thumbsup:' | ||
| direction: up | ||
| - runFlow: | ||
| when: | ||
| visible: | ||
| text: ${output.reactors[14].username} | ||
| commands: | ||
| - evalScript: ${output.userFound = 1} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.