🎥 Make videos programmatically with React
Mock editor availability in timeline interaction test
JonnyBurger9916b97797bd
diff --git a/packages/example/e2e/timeline-right-edge.test.mts b/packages/example/e2e/timeline-right-edge.test.mtsindex d1c572a3d3..3c7d061c9a 100644--- a/packages/example/e2e/timeline-right-edge.test.mts+++ b/packages/example/e2e/timeline-right-edge.test.mts@@ -9,6 +9,23 @@ test('handles timeline layer edge geometry and interactions', async ({await startStudio();try {const openInEditorRequests: unknown[] = [];+ await page.route('**/api/default-editor-info', async (route) => {+ await route.fulfill({+ json: {+ success: true,+ data: {+ defaultEditor: 'vscode',+ installedEditors: [+ {+ id: 'vscode',+ name: 'Code',+ nameWithType: 'VS Code',+ },+ ],+ },+ },+ });+ });await page.route('**/api/open-in-editor', async (route) => {openInEditorRequests.push(route.request().postDataJSON());await route.fulfill({json: {success: true, data: {success: true}}});