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.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
test(canvas): wait for the saved board in the warm gallery listing
Josh Corbettf30435f21d8a
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/layerExportActions.test.ts b/invokeai/frontend/webv2/src/workbench/widgets/layers/layerExportActions.test.tsindex 311db812e9..9f3c5ed0de 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/layerExportActions.test.ts+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/layerExportActions.test.ts@@ -147,7 +147,7 @@ describe('saveLayerToBoard', () => {await client.fetchQuery(galleryBoardsOptions({ includeArchived: true }));const panel = new QueryObserver(client, galleryBoardsOptions(getGalleryListingBoardsQuery(getGallerySettings({}))));const unsubscribe = panel.subscribe(() => undefined);- await vi.waitFor(() => expect(panel.getCurrentResult().data).toHaveLength(2));+ await vi.waitFor(() => expect(panel.getCurrentResult().data?.some((board) => board.id === 'board-7')).toBe(true));const itemList = seedItemList(client, 'board-7');const exportLayer = exportsPixels();let uploadedFile: File | null = null;