@camunda/e2e-test-suite 0.0.1498 → 0.0.1500
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.
|
@@ -986,6 +986,7 @@ class ModelerCreatePage {
|
|
|
986
986
|
if (await this.diagramNameInput.isVisible()) {
|
|
987
987
|
await this.diagramNameInput.fill(name, { timeout: 60000 });
|
|
988
988
|
await this.diagramNameInput.press('Enter', { timeout: 60000 });
|
|
989
|
+
await this.waitForFileSavesToSettle();
|
|
989
990
|
return;
|
|
990
991
|
}
|
|
991
992
|
// Today the shell renders one kebab for the whole breadcrumb; camunda-hub
|
|
@@ -1016,6 +1017,10 @@ class ModelerCreatePage {
|
|
|
1016
1017
|
await this.renameInput.fill(name);
|
|
1017
1018
|
await this.renameSubmitButton.click();
|
|
1018
1019
|
await (0, test_1.expect)(this.renameInput).toBeHidden({ timeout: 10000 });
|
|
1020
|
+
// The rename is its own PATCH /files/{id}; an edit autosaved while it is
|
|
1021
|
+
// in flight gets a 409 and Hub force-refreshes the diagram, dropping the
|
|
1022
|
+
// edit.
|
|
1023
|
+
await this.waitForFileSavesToSettle();
|
|
1019
1024
|
}
|
|
1020
1025
|
async clickVariableInput() {
|
|
1021
1026
|
await this.variableInput.click();
|
|
@@ -1537,7 +1542,7 @@ class ModelerCreatePage {
|
|
|
1537
1542
|
});
|
|
1538
1543
|
const popup = this.page.locator('.djs-popup');
|
|
1539
1544
|
await popup
|
|
1540
|
-
.getByRole('option', { name:
|
|
1545
|
+
.getByRole('option', { name: /^(?:AI Agent Sub-process: )?OpenAI API$/ })
|
|
1541
1546
|
.click({ timeout: 30000 });
|
|
1542
1547
|
await (0, test_1.expect)(popup).toBeHidden({ timeout: 30000 });
|
|
1543
1548
|
await (0, test_1.expect)(this.page
|
|
@@ -1404,7 +1404,7 @@ class ModelerCreatePage {
|
|
|
1404
1404
|
});
|
|
1405
1405
|
const popup = this.page.locator('.djs-popup');
|
|
1406
1406
|
await popup
|
|
1407
|
-
.getByRole('option', { name:
|
|
1407
|
+
.getByRole('option', { name: /^(?:AI Agent Sub-process: )?OpenAI API$/ })
|
|
1408
1408
|
.click({ timeout: 30000 });
|
|
1409
1409
|
await (0, test_1.expect)(popup).toBeHidden({ timeout: 30000 });
|
|
1410
1410
|
await (0, test_1.expect)(this.page
|