Fix E2E test reporting message for webhook (#29304)

* Fix testcases failing  Webpack compilation
* Fix E2E test report message for webhook
* Demote more unstable tests
* Fix playwright reporting message, better test demotion

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Mario Vitale
2024-11-18 09:49:17 +01:00
коммит произвёл GitHub
родитель c2c2bc1efe
Коммит cf5b4610b1
11 изменённых файлов: 27 добавлений и 19 удалений

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

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none.
// ***************************************************************
// Stage: @prod
// Group: @channels @channel
describe('Archived channels', () => {
@@ -24,7 +23,7 @@ describe('Archived channels', () => {
});
});
it.skip('MM-T1721 Archive channel posts menu should have copy link and reply options', () => {
it('MM-T1721 Archive channel posts menu should have copy link and reply options', () => {
// # Click to add a channel description
// Note that it is invisible until the mouse hovers it, which is unfeasible in Cypress
// https://docs.cypress.io/api/commands/hover

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

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none.
// ***************************************************************
// Stage: @prod
// Group: @channels @bot_accounts
import {Bot} from '@mattermost/types/bots';
@@ -46,7 +45,7 @@ describe('Bot display name', () => {
});
});
it.skip('MM-T1813 Display name for bots stays current', () => {
it('MM-T1813 Display name for bots stays current', () => {
cy.makeClient({user: otherSysadmin}).then((client) => {
// # Create a bot and get bot user id
cy.apiCreateBot().then(({bot}) => {

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

@@ -7,7 +7,6 @@
// - Use element ID when selecting an element. Create one if none.
// ***************************************************************
// Stage: @prod
// Group: @channels @collapsed_reply_threads
import {Team} from '@mattermost/types/teams';

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

@@ -13,7 +13,7 @@
import * as TIMEOUTS from '../../../../../fixtures/timeouts';
import {getAdminAccount} from '../../../../../support/env';
import {promoteToChannelOrTeamAdmin} from '../channel_moderation/helpers.js';
import {promoteToChannelOrTeamAdmin} from '../channel_moderation/helpers.ts';
describe('System console', () => {
const sysadmin = getAdminAccount();

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

@@ -115,7 +115,7 @@ describe('Desktop notifications', () => {
});
});
it('MM-T495 Desktop Notifications - Can set to DND and no notification fires on DM', () => {
it.skip('MM-T495 Desktop Notifications - Can set to DND and no notification fires on DM', () => {
cy.apiCreateDirectChannel([otherUser.id, testUser.id]).then(({channel}) => {
// # Ensure notifications are set up to fire a desktop notification if you receive a DM
cy.apiPatchUser(testUser.id, {notify_props: {...testUser.notify_props, desktop: 'all'}});

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

@@ -12,7 +12,7 @@
import {
promoteToChannelOrTeamAdmin,
} from '../enterprise/system_console/channel_moderation/helpers.js';
} from '../enterprise/system_console/channel_moderation/helpers.ts';
describe('Manage Members', () => {
let testTeam;

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

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