@camunda/e2e-test-suite 0.0.1767 → 0.0.1769

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.
@@ -1024,10 +1024,25 @@ class ModelerHomePage {
1024
1024
  await this.clickWorkspaceBreadcrumb();
1025
1025
  return;
1026
1026
  }
1027
- await this.page.goto(this.processApplicationUrl, {
1028
- waitUntil: 'domcontentloaded',
1029
- });
1030
- await this.processApplicationPage.waitForProcessApplication();
1027
+ // The deep link routes through Keycloak; while it is briefly unavailable
1028
+ // the page is stranded on an error or a stalled login-callback. Only a
1029
+ // fresh goto restarts that flow (page.reload() would not), so retry it.
1030
+ const maxAttempts = 3;
1031
+ for (let attempt = 1;; attempt++) {
1032
+ try {
1033
+ await this.page.goto(this.processApplicationUrl, {
1034
+ waitUntil: 'domcontentloaded',
1035
+ });
1036
+ await this.processApplicationPage.waitForProcessApplication(60000);
1037
+ break;
1038
+ }
1039
+ catch (error) {
1040
+ if (attempt >= maxAttempts) {
1041
+ throw error;
1042
+ }
1043
+ console.log(`returnToResourceContainer: process application not rendered after attempt ${attempt}, re-navigating...`);
1044
+ }
1045
+ }
1031
1046
  await this.clickMessageBanner();
1032
1047
  }
1033
1048
  // Single seam for "give me an empty BPMN diagram in this test's container".
@@ -43,7 +43,8 @@ _8_7_1.test.describe('Web Modeler User Flow Tests', () => {
43
43
  }
44
44
  });
45
45
  // Also tracked in https://github.com/camunda/product-hub/issues/3655
46
- (0, _8_7_1.test)('Form.js Integration with User Task and AI Generated Form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
46
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
47
+ _8_7_1.test.skip('Form.js Integration with User Task and AI Generated Form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
47
48
  _8_7_1.test.slow();
48
49
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
49
50
  const processName = 'User_Task_Process_With_AI_Form' + randomString;
@@ -315,7 +316,8 @@ _8_7_1.test.describe('Web Modeler User Flow Tests', () => {
315
316
  });
316
317
  });
317
318
  // Also tracked in https://github.com/camunda/product-hub/issues/3655
318
- (0, _8_7_1.test)('Form.js Integration with AI generated Start form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
319
+ // Skipped due to bug #4770: https://github.com/camunda/c8-cross-component-e2e-tests/issues/4770
320
+ _8_7_1.test.skip('Form.js Integration with AI generated Start form @ai-external', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
319
321
  _8_7_1.test.slow();
320
322
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
321
323
  const processName = 'AI-generated-Start-form' + randomString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1767",
3
+ "version": "0.0.1769",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",