Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

test(webv2): reach library templates from the tabs in the project-file journey

Josh Corbettb602d19f2a50
diff --git a/invokeai/frontend/webv2/scripts/run-project-file-journey.mjs b/invokeai/frontend/webv2/scripts/run-project-file-journey.mjs
index d152e827c0..4b3ed6a0b6 100644
--- a/invokeai/frontend/webv2/scripts/run-project-file-journey.mjs
+++ b/invokeai/frontend/webv2/scripts/run-project-file-journey.mjs
@@ -563,9 +563,7 @@ const runWorkflowCollection = async ({ browser, contexts, errors, imported }) =>
false
);
- // Add workflow leads to the template tabs; the template becomes an independent copy in this project.
- await dialog.getByRole('button', { exact: true, name: 'Add workflow' }).click();
- await dialog.locator('[data-library-tab="default"]').waitFor();
+ // A template opened from the library tabs becomes an independent copy in this project.
await dialog.getByText('Yours', { exact: true }).click();
await dialog.locator('[data-library-tab="user"]').waitFor();
await dialog.locator(`[data-workflow-card="${template.workflow_id}"]`).click();