From c0e6846d66e47c012b8acc499fb779c4e517a0d4 Mon Sep 17 00:00:00 2001 From: christian-byrne Date: Fri, 25 Sep 2026 04:43:28 -0700 Subject: [PATCH] test(assets): run the media-type-filter suite on the cloud project The 5-test `Assets sidebar - media type filter` suite has been behind `test.fixme(true, 'Requires DISTRIBUTION=cloud build with auth bypass')` since #10784. Both halves of that blocker have since landed: - `ci-tests-e2e.yaml` builds `frontend-dist-cloud` and runs `playwright test --project=cloud` against it, so the `isCloud`-gated filter button is present. - The `comfyPage` fixture calls `cloudAuth.mockAuth()` for any test tagged `@cloud`, so the suite gets an authenticated session with no per-suite setup. Tagging the describe `@cloud` routes it there, matching the 15+ suites already on that path. No test-body changes. --- browser_tests/tests/sidebar/assets.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/browser_tests/tests/sidebar/assets.spec.ts b/browser_tests/tests/sidebar/assets.spec.ts index ec2d9e731e1..5b57e975ead 100644 --- a/browser_tests/tests/sidebar/assets.spec.ts +++ b/browser_tests/tests/sidebar/assets.spec.ts @@ -1141,10 +1141,10 @@ const MIXED_MEDIA_JOBS: RawJobListItem[] = [ }) ] -// Filter button is guarded by isCloud; cloud CI needs authenticated setup. -test.describe('Assets sidebar - media type filter', () => { - test.fixme(true, 'Requires DISTRIBUTION=cloud build with auth bypass') - +// The filter button is isCloud-gated, so this suite runs on the cloud project: +// CI serves the DISTRIBUTION=cloud build there, and the comfyPage fixture +// mocks auth for any @cloud-tagged test. +test.describe('Assets sidebar - media type filter', { tag: '@cloud' }, () => { test.beforeEach(async ({ comfyPage }) => { await comfyPage.assets.mockOutputHistory(MIXED_MEDIA_JOBS) await comfyPage.assets.mockInputFiles([])