- Add comprehensive trainer journey test implementation - Cover login, dashboard access, event creation, modification, and deletion - Fix TinyMCE editor interaction issues - Handle venue and organizer form fields - Add proper waits and error handling - Update documentation with test findings - Document event persistence issues in staging Test Status: All trainer journey steps (1-5) are now passing Key Finding: Events persist to My Events page but not main dashboard Co-authored-by: Ben Reed <ben@tealmaker.com>
36 lines
No EOL
743 B
TypeScript
36 lines
No EOL
743 B
TypeScript
export enum VerbosityLevel {
|
|
MINIMAL = 0,
|
|
NORMAL = 1,
|
|
VERBOSE = 2,
|
|
}
|
|
|
|
export class VerbosityController {
|
|
private static instance: VerbosityController = new VerbosityController();
|
|
private level: VerbosityLevel = VerbosityLevel.MINIMAL;
|
|
|
|
static getInstance(): VerbosityController {
|
|
return VerbosityController.instance;
|
|
}
|
|
|
|
setLevel(level: VerbosityLevel): void {
|
|
this.level = level;
|
|
}
|
|
|
|
getLevel(): VerbosityLevel {
|
|
return this.level;
|
|
}
|
|
|
|
log(message: string): void {
|
|
if (this.level >= VerbosityLevel.NORMAL) {
|
|
console.log(message);
|
|
}
|
|
}
|
|
|
|
shouldTakeScreenshot(): boolean {
|
|
return this.level >= VerbosityLevel.NORMAL;
|
|
}
|
|
}
|
|
|
|
export function parseVerbosityArgs(): {} {
|
|
return {};
|
|
} |