mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
[ACS-6081] Reduce references to internal Angular material CSS classes (#3534)
* [ACS-6081] Reduce references to internal Angular material CSS classes * [ACS-6081] rollback default scrollable value [ci:force] * [ACS-6081] linting * [ACS-6081] fix e2es * [ACS-6081] cr fix * [ACS-6081] remove adf-cli logger from e2es
This commit is contained in:
committed by
GitHub
parent
7468111d19
commit
7c95b53c8b
@@ -6,16 +6,14 @@
|
||||
* agreement is prohibited.
|
||||
*/
|
||||
|
||||
import { logger } from '@alfresco/adf-cli/scripts/logger';
|
||||
|
||||
export const getExcludedTestsRegExpArray = (excludedJson: any, projectName: string) => {
|
||||
const prefix = `[ 🎭 Playwright Excludes - ${projectName} ]`;
|
||||
const objectKeys = Object.keys(excludedJson);
|
||||
|
||||
if (!objectKeys.length) {
|
||||
logger.info(`${prefix} ✅ No excluded tests 🎉 `);
|
||||
console.info(`${prefix} ✅ No excluded tests 🎉 `);
|
||||
} else {
|
||||
logger.warn(`${prefix} ❌ Tests excluded because of 🐛 : ${objectKeys}`);
|
||||
console.warn(`${prefix} ❌ Tests excluded because of 🐛 : ${objectKeys}`);
|
||||
}
|
||||
|
||||
return objectKeys.map((key) => new RegExp(key));
|
||||
|
Reference in New Issue
Block a user