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.

ci(webv2): gate on check:architecture like main

Josh Corbettd3c2fe7d0785
diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml
index fa1d9283b4..f660b84081 100644
--- a/.github/workflows/frontend-tests.yml
+++ b/.github/workflows/frontend-tests.yml
@@ -67,7 +67,7 @@ jobs:
frontend-webv2-tests:
runs-on: ubuntu-latest
- timeout-minutes: 20 # Includes browser suites, performance, project files, and accessibility.
+ timeout-minutes: 20 # Includes browser suites, performance sampling, and project-file journeys.
defaults:
run:
working-directory: invokeai/frontend/webv2
@@ -96,11 +96,9 @@ jobs:
run: 'pnpm exec playwright install --with-deps chromium'
shell: bash
- - name: release completion gates
+ - name: architecture completion gates
if: ${{ steps.changed-files.outputs.webv2_any_changed == 'true' || inputs.always_run == true }}
- run: |
- mkdir -p artifacts/accessibility
- pnpm check:release 2>&1 | tee artifacts/accessibility/release-check.log
+ run: 'pnpm check:architecture'
shell: bash
- name: upload architecture review artifacts
@@ -111,5 +109,4 @@ jobs:
path: |
invokeai/frontend/webv2/artifacts/architecture
invokeai/frontend/webv2/artifacts/architecture-performance
- invokeai/frontend/webv2/artifacts/accessibility
if-no-files-found: ignore
diff --git a/invokeai/frontend/webv2/scripts/run-accessibility-journeys.mjs b/invokeai/frontend/webv2/scripts/run-accessibility-journeys.mjs
index 6e7a46993f..b83074aa47 100644
--- a/invokeai/frontend/webv2/scripts/run-accessibility-journeys.mjs
+++ b/invokeai/frontend/webv2/scripts/run-accessibility-journeys.mjs
@@ -395,7 +395,7 @@ const runTopbarMenuJourney = async (browser) => {
try {
await waitForWorkbench(page);
- const leftWidgetRail = page.getByRole('navigation', { exact: true, name: 'Left widget visibility' });
+ const leftWidgetRail = page.getByRole('navigation', { exact: true, name: 'Create widget visibility' });
const upscaleWidget = leftWidgetRail.getByRole('button', { exact: true, name: 'Upscale' });
await upscaleWidget.click({ button: 'right' });
await page.getByRole('menuitem', { exact: true, name: 'Remove Upscale' }).click();