Demote unstable tests from daily run (#29147)

* Demote unstable tests from daily run

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Mario Vitale
2024-11-12 12:04:32 +01:00
коммит произвёл GitHub
родитель 4e0fc5734c
Коммит 572584937c
34 изменённых файлов: 12 добавлений и 46 удалений

Просмотреть файл

@@ -62,7 +62,7 @@
] ]
} }
], ],
"no-only-tests/no-only-tests": ["error", {"focus": ["only", "skip"]}], "no-only-tests/no-only-tests": ["error", {"focus": ["only"]}],
"max-lines": ["warn", {"max": 800, "skipBlankLines": true, "skipComments": true}] "max-lines": ["warn", {"max": 800, "skipBlankLines": true, "skipComments": true}]
}, },
"overrides": [ "overrides": [

Просмотреть файл

@@ -110,7 +110,7 @@ describe('Profile', () => {
cy.get('#channelHeaderTitle').should('contain', 'Off-Topic'); cy.get('#channelHeaderTitle').should('contain', 'Off-Topic');
}); });
it('MM-T2086 Password: Timestamp and email', () => { it.skip('MM-T2086 Password: Timestamp and email', () => {
// # Enter valid values in password change fields // # Enter valid values in password change fields
enterPasswords(testUser.password, 'passwd', 'passwd'); enterPasswords(testUser.password, 'passwd', 'passwd');

Просмотреть файл

@@ -24,7 +24,7 @@ describe('Archived channels', () => {
}); });
}); });
it('MM-T1721 Archive channel posts menu should have copy link and reply options', () => { it.skip('MM-T1721 Archive channel posts menu should have copy link and reply options', () => {
// # Click to add a channel description // # Click to add a channel description
// Note that it is invisible until the mouse hovers it, which is unfeasible in Cypress // Note that it is invisible until the mouse hovers it, which is unfeasible in Cypress
// https://docs.cypress.io/api/commands/hover // https://docs.cypress.io/api/commands/hover

Просмотреть файл

@@ -114,7 +114,7 @@ describe('Bot accounts ownership and API', () => {
}); });
}); });
it('MM-T1866 Create two posts in a row to the same channel', () => { it.skip('MM-T1866 Create two posts in a row to the same channel', () => {
// # Create token for the bot // # Create token for the bot
cy.apiCreateToken(botId).then(({token}) => { cy.apiCreateToken(botId).then(({token}) => {
// # Logout to allow posting as bot // # Logout to allow posting as bot

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @enterprise @metrics @not_cloud @license_removal // Group: @channels @enterprise @metrics @not_cloud @license_removal
import {checkMetrics, toggleMetricsOn} from './helper'; import {checkMetrics, toggleMetricsOn} from './helper';

Просмотреть файл

@@ -402,7 +402,7 @@ describe('Integrations page', () => {
cy.contains('Invalid client credentials.').should('exist'); cy.contains('Invalid client credentials.').should('exist');
}); });
it('MM-T654 Successful reconnect with updated secret', () => { it.skip('MM-T654 Successful reconnect with updated secret', () => {
cy.apiAdminLogin(); cy.apiAdminLogin();
// # Send new credentials // # Send new credentials

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @integrations // Group: @channels @integrations
/** /**

Просмотреть файл

@@ -69,7 +69,7 @@ describe('Keyboard Shortcuts', () => {
}); });
}); });
it('MM-T1231 - ALT+SHIFT+UP', () => { it.skip('MM-T1231 - ALT+SHIFT+UP', () => {
cy.apiLogout(); cy.apiLogout();
cy.apiLogin(testUser); cy.apiLogin(testUser);
@@ -212,7 +212,7 @@ describe('Keyboard Shortcuts', () => {
}); });
}); });
it('MM-T1232 - ALT+SHIFT+DOWN', () => { it.skip('MM-T1232 - ALT+SHIFT+DOWN', () => {
cy.apiLogout(); cy.apiLogout();
cy.apiLogin(testUser); cy.apiLogin(testUser);

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @mark_as_unread // Group: @channels @mark_as_unread
import {beUnread} from '../../../support/assertions'; import {beUnread} from '../../../support/assertions';

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @mark_as_unread // Group: @channels @mark_as_unread
import {markAsUnreadFromPost, switchToChannel} from './helpers'; import {markAsUnreadFromPost, switchToChannel} from './helpers';

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @mark_as_unread // Group: @channels @mark_as_unread
describe('Verify unread toast appears after repeated manual marking post as unread', () => { describe('Verify unread toast appears after repeated manual marking post as unread', () => {

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @messaging // Group: @channels @messaging
describe('Identical Message Drafts', () => { describe('Identical Message Drafts', () => {

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @messaging // Group: @channels @messaging
import {verifyDraftIcon} from './helpers'; import {verifyDraftIcon} from './helpers';

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @messaging // Group: @channels @messaging
const TIMEOUTS = require('../../../fixtures/timeouts'); const TIMEOUTS = require('../../../fixtures/timeouts');

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @messaging // Group: @channels @messaging
import {getRandomId} from '../../../utils'; import {getRandomId} from '../../../utils';

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @plugin @not_cloud // Group: @channels @plugin @not_cloud
import * as TIMEOUTS from '../../../../fixtures/timeouts'; import * as TIMEOUTS from '../../../../fixtures/timeouts';

Просмотреть файл

@@ -14,7 +14,6 @@
* under fixtures folder. * under fixtures folder.
*/ */
// Stage: @prod
// Group: @channels @system_console @plugin @not_cloud @timeout_error // Group: @channels @system_console @plugin @not_cloud @timeout_error
import * as TIMEOUTS from '../../../fixtures/timeouts'; import * as TIMEOUTS from '../../../fixtures/timeouts';

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @search // Group: @channels @search
import * as TIMEOUTS from '../../../fixtures/timeouts'; import * as TIMEOUTS from '../../../fixtures/timeouts';

Просмотреть файл

@@ -49,7 +49,7 @@ describe('Search Date Filter', () => {
searchAndValidate(todayMessage, [todayMessage]); searchAndValidate(todayMessage, [todayMessage]);
}); });
it('MM-T596 Use calendar picker to set date', () => { it.skip('MM-T596 Use calendar picker to set date', () => {
const today = Cypress.dayjs().format('YYYY-MM-DD'); const today = Cypress.dayjs().format('YYYY-MM-DD');
// # Type before: in search field // # Type before: in search field
@@ -79,7 +79,7 @@ describe('Search Date Filter', () => {
cy.uiGetSearchContainer().should('be.visible').click(); cy.uiGetSearchContainer().should('be.visible').click();
}); });
it('MM-T3997 Backspace after last character of filter makes calendar reappear', () => { it.skip('MM-T3997 Backspace after last character of filter makes calendar reappear', () => {
const today = Cypress.dayjs().format('YYYY-MM-DD'); const today = Cypress.dayjs().format('YYYY-MM-DD');
// # Type before: in search field // # Type before: in search field

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @system_console @enterprise @e20_only @not_cloud // Group: @channels @system_console @enterprise @e20_only @not_cloud
import * as TIMEOUTS from '../../../../fixtures/timeouts'; import * as TIMEOUTS from '../../../../fixtures/timeouts';

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @not_cloud @system_console // Group: @channels @not_cloud @system_console
import { import {

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @not_cloud @system_console // Group: @channels @not_cloud @system_console
import * as TIMEOUTS from '../../../../fixtures/timeouts'; import * as TIMEOUTS from '../../../../fixtures/timeouts';

Просмотреть файл

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none. // - Use element ID when selecting an element. Create one if none.
// *************************************************************** // ***************************************************************
// Stage: @prod
// Group: @channels @toast // Group: @channels @toast
import * as TIMEOUTS from '../../../fixtures/timeouts'; import * as TIMEOUTS from '../../../fixtures/timeouts';

Просмотреть файл

@@ -32,7 +32,7 @@ describe('Handle new post', () => {
}); });
}); });
it('MM-T4609 - should mark channel as unread when a message is sent in another channel', () => { it.skip('MM-T4609 - should mark channel as unread when a message is sent in another channel', () => {
// # Explicitly click over to the test channel from Town Square // # Explicitly click over to the test channel from Town Square
// # to dismiss the unread + badge from adding `user` to the channel // # to dismiss the unread + badge from adding `user` to the channel
cy.get(`#sidebarItem_${channel1.name}`).click(); cy.get(`#sidebarItem_${channel1.name}`).click();
@@ -52,7 +52,7 @@ describe('Handle new post', () => {
cy.get(`#sidebarItem_${channel1.name} .badge`).should('not.exist'); cy.get(`#sidebarItem_${channel1.name} .badge`).should('not.exist');
}); });
it('MM-T4610 - should show the mention badge when a mention is sent in another channel', () => { it.skip('MM-T4610 - should show the mention badge when a mention is sent in another channel', () => {
// # Explicitly click over to the test channel from Town Square // # Explicitly click over to the test channel from Town Square
// # to dismiss the unread + badge from the end of the previous test // # to dismiss the unread + badge from the end of the previous test
// # (maybe should use a new channel but then the same thing has to be done // # (maybe should use a new channel but then the same thing has to be done

Просмотреть файл

@@ -8,8 +8,6 @@
// Group: @playbooks // Group: @playbooks
/* eslint-disable no-only-tests/no-only-tests */
import * as TIMEOUTS from '../../../../fixtures/timeouts'; import * as TIMEOUTS from '../../../../fixtures/timeouts';
describe('channels > rhs > status update', {testIsolation: true}, () => { describe('channels > rhs > status update', {testIsolation: true}, () => {

Просмотреть файл

@@ -9,8 +9,6 @@
// Stage: @prod // Stage: @prod
// Group: @playbooks // Group: @playbooks
/* eslint-disable no-only-tests/no-only-tests */
import {HALF_SEC} from '../../fixtures/timeouts'; import {HALF_SEC} from '../../fixtures/timeouts';
import {stubClipboard} from '../../utils'; import {stubClipboard} from '../../utils';

Просмотреть файл

@@ -9,8 +9,6 @@
// Stage: @prod // Stage: @prod
// Group: @playbooks // Group: @playbooks
/* eslint-disable no-only-tests/no-only-tests */
import * as TIMEOUTS from '../../../../fixtures/timeouts'; import * as TIMEOUTS from '../../../../fixtures/timeouts';
// assumes that E20 license is uploaded // assumes that E20 license is uploaded

Просмотреть файл

@@ -9,8 +9,6 @@
// Stage: @prod // Stage: @prod
// Group: @playbooks // Group: @playbooks
/* eslint-disable no-only-tests/no-only-tests */
describe('playbooks > edit', {testIsolation: true}, () => { describe('playbooks > edit', {testIsolation: true}, () => {
let testUser; let testUser;

Просмотреть файл

@@ -9,8 +9,6 @@
// Stage: @prod // Stage: @prod
// Group: @playbooks // Group: @playbooks
/* eslint-disable no-only-tests/no-only-tests */
describe('playbooks > edit', {testIsolation: true}, () => { describe('playbooks > edit', {testIsolation: true}, () => {
let testTeam; let testTeam;
let testUser; let testUser;

Просмотреть файл

@@ -9,8 +9,6 @@
// Stage: @prod // Stage: @prod
// Group: @playbooks // Group: @playbooks
/* eslint-disable no-only-tests/no-only-tests */
describe('playbooks > edit_metrics', {testIsolation: true}, () => { describe('playbooks > edit_metrics', {testIsolation: true}, () => {
let testTeam; let testTeam;
let testUser; let testUser;

Просмотреть файл

@@ -9,8 +9,6 @@
// Stage: @prod // Stage: @prod
// Group: @playbooks // Group: @playbooks
/* eslint-disable no-only-tests/no-only-tests */
import {getRandomId} from '../../../utils'; import {getRandomId} from '../../../utils';
describe('runs > permissions', {testIsolation: true}, () => { describe('runs > permissions', {testIsolation: true}, () => {

Просмотреть файл

@@ -9,8 +9,6 @@
// Stage: @prod // Stage: @prod
// Group: @playbooks // Group: @playbooks
/* eslint-disable no-only-tests/no-only-tests */
import {stubClipboard} from '../../../utils'; import {stubClipboard} from '../../../utils';
describe('runs > run details page > header', {testIsolation: true}, () => { describe('runs > run details page > header', {testIsolation: true}, () => {

Просмотреть файл

@@ -9,8 +9,6 @@
// Stage: @prod // Stage: @prod
// Group: @playbooks // Group: @playbooks
/* eslint-disable no-only-tests/no-only-tests */
describe('runs > run details page > status update', {testIsolation: true}, () => { describe('runs > run details page > status update', {testIsolation: true}, () => {
let testTeam; let testTeam;
let testUser; let testUser;

Просмотреть файл

@@ -7,7 +7,7 @@ import {test} from '@e2e-support/test_fixture';
import {duration} from '@e2e-support/util'; import {duration} from '@e2e-support/util';
import {components} from '@e2e-support/ui/components'; import {components} from '@e2e-support/ui/components';
test('MM-T5522 Should begin export of data when export button is pressed', async ({pw, pages}) => { test.fixme('MM-T5522 Should begin export of data when export button is pressed', async ({pw, pages}) => {
test.slow(); test.slow();
// # Skip test if no license // # Skip test if no license