@camunda/e2e-test-suite 0.0.782 → 0.0.783
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.
|
@@ -1169,12 +1169,15 @@ class ModelerCreatePage {
|
|
|
1169
1169
|
await this.firstPlaceRESTConnector.click({ timeout: 60000 });
|
|
1170
1170
|
}
|
|
1171
1171
|
async dismissCreatePad() {
|
|
1172
|
-
//
|
|
1173
|
-
//
|
|
1174
|
-
//
|
|
1175
|
-
// lands.
|
|
1176
|
-
//
|
|
1172
|
+
// Selecting a bpmn element renders a floating append create-pad anchored to
|
|
1173
|
+
// it. Once that pad is expanded (`.djs-create-pad.open`), its "Append task"
|
|
1174
|
+
// entry overlaps the neighbouring element and intercepts the pointer event,
|
|
1175
|
+
// so the next click never lands. Moving the pointer off the canvas does not
|
|
1176
|
+
// close an already-opened pad — only Escape (or an outside click) does.
|
|
1177
|
+
// Press Escape to close the pad and deselect, then move the pointer off the
|
|
1178
|
+
// canvas to clear any hover-triggered pad before the next click.
|
|
1177
1179
|
const createPad = this.page.locator('.djs-create-pad.open').first();
|
|
1180
|
+
await this.page.keyboard.press('Escape');
|
|
1178
1181
|
await this.page.mouse.move(0, 0);
|
|
1179
1182
|
await createPad
|
|
1180
1183
|
.waitFor({ state: 'hidden', timeout: 10000 })
|