@camunda/e2e-test-suite 0.0.1729 → 0.0.1731
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -307,11 +307,16 @@ class ProcessApplicationPage {
|
|
|
307
307
|
await this.defineDevelopmentStage(clusterName);
|
|
308
308
|
}
|
|
309
309
|
container.developmentCluster = clusterName;
|
|
310
|
-
await this.page.goto(returnTo, { waitUntil: 'domcontentloaded' });
|
|
311
310
|
// A full navigation on Hub bounces through /login and /login-callback
|
|
312
311
|
// before it lands back on returnTo, and goto() resolves on the first
|
|
313
|
-
// document.
|
|
314
|
-
|
|
312
|
+
// document. A transient gateway reset during that OAuth exchange leaves the
|
|
313
|
+
// page stuck on /login-callback ("upstream connect error ... connection
|
|
314
|
+
// termination"), which one long waitForURL can only sit out -- re-issuing
|
|
315
|
+
// the navigation retries the whole bounce instead.
|
|
316
|
+
await (0, test_1.expect)(async () => {
|
|
317
|
+
await this.page.goto(returnTo, { waitUntil: 'domcontentloaded' });
|
|
318
|
+
await this.page.waitForURL((url) => !/^\/login(-callback)?\/?$/.test(url.pathname), { timeout: 60000 });
|
|
319
|
+
}).toPass({ timeout: 180000, intervals: [1000, 2000, 5000] });
|
|
315
320
|
return true;
|
|
316
321
|
}
|
|
317
322
|
// Assigns the Environment backed by clusterName to the workspace, from
|
|
@@ -329,7 +329,8 @@ test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
329
329
|
});
|
|
330
330
|
return taskElementId;
|
|
331
331
|
};
|
|
332
|
-
|
|
332
|
+
// Skipped due to bug #10722: https://github.com/camunda/connectors/issues/10722
|
|
333
|
+
test.skip('AI Agent Marketplace Import User Flow', async ({ modelerHomePage, modelerCreatePage, connectorMarketplacePage, }) => {
|
|
333
334
|
test.slow();
|
|
334
335
|
const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
|
|
335
336
|
const taskElementId = await importAiAgentFromMarketplace({ modelerHomePage, modelerCreatePage, connectorMarketplacePage }, 'AI_Agent_Marketplace_Import_Process' + randomString);
|
|
@@ -337,7 +338,8 @@ test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
337
338
|
await modelerCreatePage.assertChangeElementTemplateListed(modelerCreatePage.aiAgentTaskConnectorOption, 'AI Agent', taskElementId);
|
|
338
339
|
});
|
|
339
340
|
});
|
|
340
|
-
|
|
341
|
+
// Skipped due to bug #10722: https://github.com/camunda/connectors/issues/10722
|
|
342
|
+
test.skip('AI Agent Sub-process Marketplace Import User Flow', async ({ modelerHomePage, modelerCreatePage, connectorMarketplacePage, }) => {
|
|
341
343
|
test.slow();
|
|
342
344
|
const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
|
|
343
345
|
const taskElementId = await importAiAgentFromMarketplace({ modelerHomePage, modelerCreatePage, connectorMarketplacePage }, 'AI_Agent_SubProcess_Import_Process' + randomString);
|