@camunda/e2e-test-suite 0.0.573 → 0.0.574
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.
|
@@ -86,6 +86,9 @@ class ConnectorSettingsPage {
|
|
|
86
86
|
}
|
|
87
87
|
async fillUsernameInput(username) {
|
|
88
88
|
await this.usernameInput.fill(username, { timeout: 30000 });
|
|
89
|
+
// Press Tab to trigger blur, which commits the value and clears the
|
|
90
|
+
// "Username must not be empty." validation error in the FEEL expression field.
|
|
91
|
+
await this.usernameInput.press('Tab');
|
|
89
92
|
await (0, test_1.expect)(this.page.getByText('Username must not be empty.')).not.toBeVisible({ timeout: 30000 });
|
|
90
93
|
}
|
|
91
94
|
async clickPasswordInput() {
|
|
@@ -978,7 +978,10 @@ class ModelerCreatePage {
|
|
|
978
978
|
catch {
|
|
979
979
|
await this.nameInput.click();
|
|
980
980
|
await this.nameInput.fill(processName);
|
|
981
|
-
|
|
981
|
+
// Press Enter to commit the name into the BPMN model before focus moves
|
|
982
|
+
// away. Without this the value may not persist when the canvas element
|
|
983
|
+
// is clicked next (properties panel re-renders discarding uncommitted edits).
|
|
984
|
+
await this.nameInput.press('Enter');
|
|
982
985
|
}
|
|
983
986
|
}
|
|
984
987
|
async switchToImplementTab() {
|
|
@@ -149,6 +149,12 @@ async function modelRestConnector(modelerCreatePage, connectorSettingsPage, conn
|
|
|
149
149
|
await modelerCreatePage.enterDiagramName(processName);
|
|
150
150
|
await (0, sleep_1.sleep)(1000);
|
|
151
151
|
await modelerCreatePage.clickCanvas();
|
|
152
|
+
// Wait for the canvas click to register and the process-level General panel to
|
|
153
|
+
// become visible before interacting with it. Without this wait the panel may
|
|
154
|
+
// still reflect the previous element selection and the ID/name fills target
|
|
155
|
+
// the wrong (or a hidden) element, leaving the BPMN process name as the
|
|
156
|
+
// default "New BPMN diagram" when deployed.
|
|
157
|
+
await (0, test_1.expect)(modelerCreatePage.generalPanel).toBeVisible({ timeout: 60000 });
|
|
152
158
|
await modelerCreatePage.clickGeneralPropertiesPanel();
|
|
153
159
|
await modelerCreatePage.clickIdInput();
|
|
154
160
|
await modelerCreatePage.fillIdInput(processName);
|