Mattermost-server: UI Automation: Write an automated test using Cypress for "Floating timestamp in mobile view"

Created on 23 Sep 2019  路  10Comments  路  Source: mattermost/mattermost-server

Test Key: M18759
Test folder: /cypress/integration/messaging
Title: Floating timestamp in mobile view

Steps:

  1. Narrow your browser or desktop app so it goes into mobile view
  2. View a channel that has at least several days of messages
  3. Scroll up in the channel, observe the floating timestamp / date indicator

Expected:
Floating date indicator should change the date to reflect the messages being viewed

See our end-to-end testing documentation for reference.

Jira ticket: MM-18759


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.

AreE2E Tests Easy Help Wanted PR Exists

Most helpful comment

I'll take this

All 10 comments

I'll take this one :)

Sure and thanks @Jonany!

@saturninoabril Any suggestion on how to generate several days worth of data? make test-data only generates data from yesterday.

You may use cy.postMessageAs and set createAt to desired previous date. One example is here.

Thanks!

Available for grab.

I'll take this

Hey @nadalfederer, let us know if you have any questions so far? :)

Thanks for the ping. I've missed this, I'll create a PR in the next few days

Thanks @nadalfederer :)

Was this page helpful?
0 / 5 - 0 ratings