Initial import: open-design source for helix-mind.ai distribution
Some checks failed
ci / Validate workspace (push) Successful in 12m32s
landing-page-ci / Validate landing page (push) Successful in 9m41s
landing-page-deploy / Deploy landing page (push) Failing after 5m23s
github-metrics / Generate repository metrics SVG (push) Failing after 2m6s
refresh-contributors-wall / Refresh contributors wall cache bust (push) Failing after 12s
Some checks failed
ci / Validate workspace (push) Successful in 12m32s
landing-page-ci / Validate landing page (push) Successful in 9m41s
landing-page-deploy / Deploy landing page (push) Failing after 5m23s
github-metrics / Generate repository metrics SVG (push) Failing after 2m6s
refresh-contributors-wall / Refresh contributors wall cache bust (push) Failing after 12s
This repository contains the open-design daemon CLI source code, built and packaged at https://helix-mind.ai/cli/open-design/latest.tgz for use by the HelixMind /design slash command. Licenses: Apache-2.0 (root) + MIT (skills/*)
This commit is contained in:
51
e2e/lib/playwright/resources.ts
Normal file
51
e2e/lib/playwright/resources.ts
Normal file
@@ -0,0 +1,51 @@
|
||||
import { playwrightUiScenarios } from '../../resources/playwright.ts';
|
||||
|
||||
export type ScenarioKind = 'prototype' | 'deck' | 'template' | 'workspace';
|
||||
|
||||
export interface MockArtifactScenario {
|
||||
identifier: string;
|
||||
title: string;
|
||||
html: string;
|
||||
fileName: string;
|
||||
heading: string;
|
||||
}
|
||||
|
||||
export interface UiScenario {
|
||||
id: string;
|
||||
title: string;
|
||||
kind: ScenarioKind;
|
||||
flow?:
|
||||
| 'standard'
|
||||
| 'design-system-selection'
|
||||
| 'example-use-prompt'
|
||||
| 'conversation-persistence'
|
||||
| 'file-mention'
|
||||
| 'deep-link-preview'
|
||||
| 'file-upload-send'
|
||||
| 'design-files-upload'
|
||||
| 'design-files-delete'
|
||||
| 'design-files-tab-persistence'
|
||||
| 'conversation-delete-recovery'
|
||||
| 'question-form-selection-limit'
|
||||
| 'question-form-submit-persistence'
|
||||
| 'generation-does-not-create-extra-file'
|
||||
| 'comment-attachment-flow'
|
||||
| 'deck-pagination-next-prev-correctness'
|
||||
| 'deck-pagination-per-file-isolated'
|
||||
| 'uploaded-image-renders-in-preview'
|
||||
| 'python-source-preview';
|
||||
automated: boolean;
|
||||
description: string;
|
||||
create: {
|
||||
projectName: string;
|
||||
tab?: 'prototype' | 'deck' | 'template' | 'other';
|
||||
};
|
||||
prompt: string;
|
||||
secondaryPrompt?: string;
|
||||
mockArtifact?: MockArtifactScenario;
|
||||
notes?: string[];
|
||||
}
|
||||
|
||||
export function automatedUiScenarios(): UiScenario[] {
|
||||
return playwrightUiScenarios.filter((scenario) => scenario.automated);
|
||||
}
|
||||
Reference in New Issue
Block a user