Mattermost-server: [MM-15010] UI Automation: Write an automated test using Cypress for "Pinning or un-pinning older post does not cause it to display at bottom of channel"

Created on 9 Apr 2019  路  5Comments  路  Source: mattermost/mattermost-server

If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.


Notes: Jira ticket

Test Key: M15010 - Pinning or un-pinning older post does not cause it to display at bottom of channel
Test Group: Messaging

Steps:

  1. Ensure there are a couple pinned posts in the channel already
  2. Scroll up in the channel to find an older post
  3. Click [...] > Pin to channel
  4. Scroll down and verify that message you just pinned does not display at bottom in center channel (as newest in channel)
  5. Click pin icon to view pinned posts in right-hand-side, verify sorted by newest at top
  6. Scroll back up to the post you pinned in step 3 (or up to any older pinned post)
  7. Click [...] > Un-pin from channel

Expected:

  • When pinned, older post should retain its position in the center channel and should not move down to display as newest message (at the bottom)
  • Pinned posts right-hand-side should display with newest at top
  • When un-pinned in center, post disappears from pinned posts list in right-hand-side

See our end-to-end testing documentation for reference - https://developers.mattermost.com/contribute/webapp/end-to-end-tests/

AreE2E Tests Easy Good First Issue Help Wanted PR Exists

Most helpful comment

Thank you @prapti for your contribution 馃帀

All 5 comments

I'll take this one

Sure, thanks!

Question on test step 5: does "sorted by newest at top" mean the the last pinned post (newest pinned) at the top of the pinned post list or the newest posted on the CENTER at top? I'm assuming the latter?

Yes, it's the latter - "the newest posted on the CENTER at top"

Thank you @prapti for your contribution 馃帀

Was this page helpful?
0 / 5 - 0 ratings