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(preview): remove brittle color assertion
joshistoasteddb695e9bce
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewHeaderActions.browser.test.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewHeaderActions.browser.test.tsxindex 5cf693a8d0..47661e67c8 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewHeaderActions.browser.test.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewHeaderActions.browser.test.tsx@@ -115,9 +115,6 @@ describe('preview header toggles', () => {expect(control.getAttribute('aria-pressed'), control.ariaLabel ?? '').toBe('true');}- const [filmstripOn, progressOn] = bothOn.map((control) => getComputedStyle(control).backgroundColor);- expect(filmstripOn).toBe(progressOn);-state.filmstripVisible = false;state.showProgressImagesInViewer = false;await render();@@ -126,10 +123,6 @@ describe('preview header toggles', () => {for (const control of bothOff) {expect(control.getAttribute('aria-pressed'), control.ariaLabel ?? '').toBe('false');}-- const [filmstripOff, progressOff] = bothOff.map((control) => getComputedStyle(control).backgroundColor);- expect(filmstripOff).toBe(progressOff);- expect(filmstripOff).not.toBe(filmstripOn);});it('still toggles the setting each one owns', async () => {