SEC-10095 test(cypress): demote unstable tests (#36099)
* test(cypress): demote unstable tests * follow fixes * fix merging playwright reports
Этот коммит содержится в:
@@ -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');
|
||||
|
||||
Ссылка в новой задаче
Block a user