@camunda/e2e-test-suite 0.0.781 → 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
- // Hovering or selecting a bpmn element renders a floating create-pad next
1173
- // to it. When the next task to click sits under that pad, the pad's
1174
- // "Append task" entry intercepts the pointer event and the click never
1175
- // lands. Move the pointer off the canvas so the pad collapses and detaches
1176
- // before the next click.
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 })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.781",
3
+ "version": "0.0.783",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",