SEC-10095 test(cypress): demote unstable tests (#36099)

* test(cypress): demote unstable tests

* follow fixes

* fix merging playwright reports
Этот коммит содержится в:
sabril
2026-04-15 21:38:49 +08:00
коммит произвёл GitHub
родитель 82b3f494b4
Коммит 7ab7f0bd00
83 изменённых файлов: 23 добавлений и 98 удалений

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

@@ -20,7 +20,7 @@ test('Should show channel banner when configured', async ({pw}) => {
await configurationTab.enableChannelBanner();
await configurationTab.setChannelBannerText('Example channel banner text');
await configurationTab.setChannelBannerTextColor('#77DD88');
await configurationTab.setChannelBannerTextColor('77DD88');
await configurationTab.save();
await settingsModal.closeModal();
@@ -65,7 +65,7 @@ test('Should render markdown', async ({pw}) => {
await configurationTab.enableChannelBanner();
await configurationTab.setChannelBannerText('**bold** *italic* ~~strikethrough~~');
await configurationTab.setChannelBannerTextColor('#77DD88');
await configurationTab.setChannelBannerTextColor('77DD88');
await configurationTab.save();
await settingsModal.closeModal();

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

@@ -9,7 +9,7 @@ test('should be able to enable mobile security settings when licensed', async ({
const license = await adminClient.getClientLicenseOld();
test.skip(
license.SkuShortName !== 'enterprise' || license.short_sku_name !== 'advanced',
license.SkuShortName !== 'enterprise' && license.SkuShortName !== 'advanced',
'Skipping test - server has no enterprise or enterprise advanced license',
);
@@ -162,7 +162,10 @@ test('should show mobile security upsell when not licensed', async ({pw}) => {
const license = await adminClient.getClientLicenseOld();
test.skip(license.SkuShortName === 'enterprise', 'Skipping test - server has enterprise license');
test.skip(
license.SkuShortName === 'enterprise' || license.SkuShortName === 'advanced',
'Skipping test - server has enterprise or enterprise advanced license',
);
if (!adminUser) {
throw new Error('Failed to create admin user');