Skip to content

Commit

Permalink
Cypress/E2E: Add TM4J IDs (mattermost#6397)
Browse files Browse the repository at this point in the history
* add TM4J IDs

* Apply suggestions from code review

per comments

Co-authored-by: Prapti <[email protected]>

Co-authored-by: Prapti <[email protected]>
  • Loading branch information
saturninoabril and prapti committed Sep 9, 2020
1 parent 752b90d commit a6f836a
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('Account Settings > Sidebar > General', () => {
cy.get('#teamMembersModal').should('be.visible').within(() => cy.get('.close').click());
});

it('AS13279 Account Settings > Add Nickname', () => {
it('MM-T268 Account Settings > Add Nickname', () => {
// # Click the General tab
cy.get('#generalButton').should('be.visible').click();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('System Console', () => {
});
});

it('SC14734 Demoted user cannot continue to view System Console', () => {
it('MM-T922 Demoted user cannot continue to view System Console', () => {
const baseUrl = Cypress.config('baseUrl');

// # Set user to be a sysadmin, so it can access the system console
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('System Console', () => {
});
});

it('MM-19309 Allow System Admins to control Teammate Name Display at the system level', () => {
it('MM-T1100 Lock Teammate Name Display for all users', () => {
// # Go to system admin page
cy.visit('/admin_console/site_config/users_and_teams');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import * as TIMEOUTS from '../../fixtures/timeouts';
import {getAdminAccount} from '../../support/env';

describe('SC17020 - Revoke All Sessions from System Console', () => {
describe('MM-T940 Users - Revoke all sessions', () => {
const admin = getAdminAccount();

it('Verify for System Admin', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Teams Suite', () => {
});
});

it('TS13872 Create a team', () => {
it('MM-T383 Create a new team', () => {
// # Open the team creation modal from the hamburger menu
openTeamCreationModalFromHamburgerMenu();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('Teams Settings', () => {
});
});

it('TS14632 Remove Team Icon', () => {
it('MM-T391 Remove team icon', () => {
// function to open the team settings dialog
openTeamSettingsDialog();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('Teams Suite', () => {
});
});

it('TS14868 Team Admin can use Next button to page through list in Manage Members', () => {
it('MM-T384 Team Admin can use Next button to page through list in Manage Members', () => {
// # Click hamburger main menu
cy.get('#sidebarHeaderDropdownButton').should('be.visible').click();

Expand Down
6 changes: 3 additions & 3 deletions e2e/cypress/integration/team_settings/teams_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Teams Suite', () => {
});
});

it('TS12995 Cancel out of leaving a team', () => {
it('MM-T393 Cancel out of leaving team', () => {
// # Login and go to /
cy.apiLogin(testUser);
cy.visit(`/${testTeam.name}/channels/town-square`);
Expand Down Expand Up @@ -68,7 +68,7 @@ describe('Teams Suite', () => {
cy.url().should('include', `/${testTeam.name}/channels/town-square`);
});

it('TS13548 Team or System Admin searches and adds new team member', () => {
it('MM-T2340 Team or System Admin searches and adds new team member', () => {
// # Update config
cy.apiUpdateConfig({
GuestAccountsSettings: {
Expand Down Expand Up @@ -165,7 +165,7 @@ describe('Teams Suite', () => {
});
});

it('TS14633 Leave all teams', () => {
it('MM-T394 Leave team by clicking Yes, leave all teams', () => {
cy.apiUpdateConfig({EmailSettings: {RequireEmailVerification: false}});

// // # Login as test user
Expand Down

0 comments on commit a6f836a

Please sign in to comment.