Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(e2e): align marketplace plugin download URL (#40075)
yyh658d5e0dcf9a
diff --git a/e2e/support/marketplace-plugins.ts b/e2e/support/marketplace-plugins.tsindex cb8b837ef11..902371411fb 100644--- a/e2e/support/marketplace-plugins.ts+++ b/e2e/support/marketplace-plugins.ts@@ -100,7 +100,7 @@ const waitForPluginInstallTask = async (const getMarketplaceDownloadUrl = (pluginUniqueIdentifier: string) => {const url = new URL(- '/api/v1/plugins/download',+ '/api/v1/plugins/download-url',process.env.E2E_MARKETPLACE_API_URL || defaultMarketplaceApiUrl,)url.searchParams.set('unique_identifier', pluginUniqueIdentifier)diff --git a/e2e/tests/marketplace-plugins.test.ts b/e2e/tests/marketplace-plugins.test.tsindex dda4008adb7..4722212f657 100644--- a/e2e/tests/marketplace-plugins.test.ts+++ b/e2e/tests/marketplace-plugins.test.ts@@ -58,13 +58,16 @@ describe('bootstrapMarketplacePlugins', () => {it('uses generated package upload when the API process cannot download from Marketplace', async () => {vi.stubEnv('E2E_TEST_MARKETPLACE_PLUGIN_IDS', '')- vi.spyOn(globalThis, 'fetch').mockResolvedValue(new Response('plugin-package'))+ vi.stubEnv('E2E_MARKETPLACE_API_URL', 'https://marketplace.test')+ const marketplaceFetch = vi+ .spyOn(globalThis, 'fetch')+ .mockResolvedValue(new Response('plugin-package'))const { consoleClient, installPackage, uploadPackage } = createMarketplaceConsoleClient(new ORPCError('INTERNAL_SERVER_ERROR', {data: {body: {message:- 'Reached maximum retries (3) for URL https://marketplace.test/plugins/download',+ 'Reached maximum retries (3) for URL https://marketplace.test/api/v1/plugins/download-url',},},status: 500,@@ -73,6 +76,10 @@ describe('bootstrapMarketplacePlugins', () => {const result = await bootstrapTestPlugin(consoleClient)expect(result.status).toBe('verified')+ expect(marketplaceFetch).toHaveBeenCalledOnce()+ expect(marketplaceFetch).toHaveBeenCalledWith(+ 'https://marketplace.test/api/v1/plugins/download-url?unique_identifier=langgenius%2Ftest%3A1.0.0%40marketplace',+ )expect(uploadPackage).toHaveBeenCalledWith({body: { pkg: expect.any(File) },})