Skip to content

generateScreenshotInstructions

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/utils/screenshot-instruction-generator.ts

Generate screenshot instructions from coverage report

Signature

ts
function generateScreenshotInstructions(entities: Entity[], existingScreenshots: EnhancedScreenshotMetadata[], options: {
    baseUrl?: string;
    includeWorkflows?: boolean;
  }): ScreenshotPlan

Parameters

NameType
entitiesEntity[]
existingScreenshotsEnhancedScreenshotMetadata[]
options`{
baseUrl?: string;
includeWorkflows?: boolean;

}` |

Returns: ScreenshotPlan

Was this page helpful?

Download as PDF