- Introduced unit tests for edge gateway workflow helpers, including workflow step resolution, incident action mapping, relay health row formatting, and workspace state merging. - Added new components for advanced operations, configuration panel, context panel, fleet rail, and health summary. - Enhanced gateway management UI with support for advanced actions, fallback operations, relay health visualization, and device binding features.
10 lines
272 B
TypeScript
10 lines
272 B
TypeScript
import type { TestInfo } from "@playwright/test";
|
|
|
|
export function isCompactProject(testInfo: TestInfo) {
|
|
return /(mobile|tablet)/i.test(testInfo.project.name);
|
|
}
|
|
|
|
export function isDesktopProject(testInfo: TestInfo) {
|
|
return /desktop/i.test(testInfo.project.name);
|
|
}
|