@camunda/e2e-test-suite 0.0.1499 → 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();
|