Mattermost-server: UI Automation: Write an automated test using Cypress for "Using up/down arrow keys to make selection"

Created on 6 Dec 2019  路  1Comment  路  Source: mattermost/mattermost-server

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

Title: Using up/down arrow keys to make selection

Steps:

  1. Locate a message attachment menu
  2. Click in the message attachment menu box (or click on the dropdown arrow to the right of the message attachment menu box)
  3. Hit the down arrow a few times
  4. Hit the up arrow a couple of times

Expected:

  • Using the down arrow should move the highlight down the list of selections
  • Using the up arrow should move the highlight up the list of selections

Test Key: IM21043

Test Folder: /cypress/integration/interactive_menu
Test code arrangement:

describe('Interactive Menu', () => {
    it('IM21043 - Using up/down arrow keys to make selection', () => {
        // code
    });
});

Note:

Jira ticket: MM-21043


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

Hi! I'll take a look at this one.

>All comments

Hi! I'll take a look at this one.

Was this page helpful?
0 / 5 - 0 ratings