Skip to content

Commit

Permalink
add mfa metadata to specs accordingly (mattermost#7896)
Browse files Browse the repository at this point in the history
  • Loading branch information
saturninoabril committed Apr 14, 2021
1 parent 8d88748 commit dbf45b1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// ***************************************************************

// Stage: @prod
// Group: @accessibility
// Group: @accessibility @mfa

import * as TIMEOUTS from '../../fixtures/timeouts';
import accountSettingSections from '../../fixtures/account_setting_sections.json';
Expand Down
4 changes: 2 additions & 2 deletions e2e/cypress/integration/auth_sso/authentication_2_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// ***************************************************************

// Stage: @prod
// Group: @system_console @authentication
// Group: @system_console @authentication @mfa

import * as TIMEOUTS from '../../fixtures/timeouts';

Expand Down Expand Up @@ -71,7 +71,7 @@ describe('Authentication', () => {

cy.findByText('Create Account').click();

// * Assert that we are not shown a MFA scren and instead a Teams You Can join page
// * Assert that we are not shown an MFA screen and instead a Teams You Can join page
cy.findByText('Teams you can join:', {timeout: TIMEOUTS.ONE_MIN}).should('be.visible');
});

Expand Down
2 changes: 1 addition & 1 deletion e2e/cypress/integration/bot_accounts/bot_api_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// ***************************************************************

// Stage: @prod
// Group: @bot_accounts
// Group: @bot_accounts @mfa

import * as TIMEOUTS from '../../fixtures/timeouts';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// - Use element ID when selecting an element. Create one if none.
// ***************************************************************

// Group: @not_cloud @enterprise @guest_account
// Group: @not_cloud @enterprise @guest_account @mfa

/**
* Note: This test requires Enterprise license to be uploaded
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// ***************************************************************

// Stage: @prod
// Group: @enterprise @guest_account
// Group: @enterprise @guest_account @mfa

/**
* Note: This test requires Enterprise license to be uploaded
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

import {getEmailUrl} from '../../utils';
import {getAdminAccount} from '../../support/env';
import timeouts from '../../fixtures/timeouts';

const authenticator = require('authenticator');

// ***************************************************************
// - [#] indicates a test step (e.g. # Go to a page)
// - [*] indicates an assertion (e.g. * Check the title)
// - Use element ID when selecting an element. Create one if none.
// ***************************************************************

// Group: @signin_authentication
// Group: @signin_authentication @mfa

import {getEmailUrl} from '../../utils';
import {getAdminAccount} from '../../support/env';
import timeouts from '../../fixtures/timeouts';

const authenticator = require('authenticator');

describe('Authentication', () => {
let testTeam;
Expand Down

0 comments on commit dbf45b1

Please sign in to comment.