Skip to content
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

Add UI tests to TimelineTableView #352

Closed
pixlwave opened this issue Dec 5, 2022 · 1 comment
Closed

Add UI tests to TimelineTableView #352

pixlwave opened this issue Dec 5, 2022 · 1 comment
Assignees
Labels
Z-BBQ-Beta Required for ElementX - BBQ - Beta

Comments

@pixlwave
Copy link
Member

pixlwave commented Dec 5, 2022

We should be able to run UI tests to detect whether any expected behaviours of TimelineTableView have been broken. The following tests are proposed:

  • A room with just 2 messages - these should be aligned to the bottom.
  • Above with a small back pagination and an incoming message - the messages should remain bottom aligned.
  • Back paginating when the timeline isn't right at the top - no visible change should be seen.
  • Back paginating when the timeline is at the top - a small change might be visible to the top item.
  • A new message is received whilst at the bottom - the timeline should be scrolled to reveal the message.
  • A new message is received whilst scrolled up - no visible change should be seen.
  • Showing the keyboard whilst at the bottom - The last message should be shown above the keyboard.
  • The same as above with a timeline that contains lots of images.
  • Showing the keyboard whilst scrolled up - The last message should be hidden behind the keyboard.
  • Receiving a pagination response that succeeds but without any items - the Syncing indicator should be hidden. (syncing indicator removed)
@pixlwave pixlwave added the Z-BBQ-Beta Required for ElementX - BBQ - Beta label Dec 5, 2022
@pixlwave pixlwave self-assigned this Dec 5, 2022
pixlwave added a commit that referenced this issue Dec 12, 2022
Makes the MockTimelineController configurable with incoming items and pagination responses.
stefanceriu pushed a commit that referenced this issue Dec 12, 2022
Makes the MockTimelineController configurable with incoming items and pagination responses.
@pixlwave
Copy link
Member Author

pixlwave commented Jan 6, 2023

Closed by #380.

@pixlwave pixlwave closed this as completed Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-BBQ-Beta Required for ElementX - BBQ - Beta
Projects
None yet
Development

No branches or pull requests

1 participant