diff --git a/browser_tests/tests/agent/agentConversationReplay.spec.ts-snapshots/two-turn-dependent-edit-wired-cloud-linux.png b/browser_tests/tests/agent/agentConversationReplay.spec.ts-snapshots/two-turn-dependent-edit-wired-cloud-linux.png index cd6c3584f8f..2dfdbf351b4 100644 Binary files a/browser_tests/tests/agent/agentConversationReplay.spec.ts-snapshots/two-turn-dependent-edit-wired-cloud-linux.png and b/browser_tests/tests/agent/agentConversationReplay.spec.ts-snapshots/two-turn-dependent-edit-wired-cloud-linux.png differ diff --git a/browser_tests/tests/dialogs/shareWorkflowDialog.spec.ts b/browser_tests/tests/dialogs/shareWorkflowDialog.spec.ts index cbff04b30c0..dd54e9691d8 100644 --- a/browser_tests/tests/dialogs/shareWorkflowDialog.spec.ts +++ b/browser_tests/tests/dialogs/shareWorkflowDialog.spec.ts @@ -31,22 +31,6 @@ const PRIVATE_ASSET: AssetInfo = { const test = comfyPageFixture -/** - * Enable the workflow_sharing_enabled server feature flag at runtime. - * FeatureFlagHelper.mockServerFeatures() intercepts `/api/features` but the - * flags are already loaded by the time tests run, so direct mutation of the - * reactive ref is the only reliable approach for server-side flags. - */ -async function enableWorkflowSharing(page: Page): Promise { - await page.evaluate(() => { - const api = window.app!.api - api.serverFeatureFlags.value = { - ...api.serverFeatureFlags.value, - workflow_sharing_enabled: true - } - }) -} - async function mockPublishStatus( page: Page, record: PublishRecord | null @@ -150,7 +134,6 @@ async function saveAndWait( } async function openShareDialog(page: Page): Promise { - await enableWorkflowSharing(page) await dismissOverlays(page) const shareButton = page.getByRole('button', { name: 'Share workflow' }) await shareButton.click() diff --git a/src/components/TopMenuSection.vue b/src/components/TopMenuSection.vue index 197c025df34..2fd5658b007 100644 --- a/src/components/TopMenuSection.vue +++ b/src/components/TopMenuSection.vue @@ -86,7 +86,7 @@ />