From 7a6229e2fe87b866e20c22637b181907d761198b Mon Sep 17 00:00:00 2001 From: delchev Date: Thu, 13 Aug 2026 19:24:44 +0300 Subject: [PATCH] perf(tests): one BPMN editor journey; the full new-file sweep leaves the PR gate Two consolidations in the ui/smoke IT set: BpmnEditorIT, BpmnEditorLoadsIT and BpmnEditorPropertyPopupIT each paid a Dirigible boot, a browser and ~30s of editor bring-up to look at the same freshly created .bpmn file - three sequential stations of one user journey. They are now ONE editor session in BpmnEditorIT (boot assertions -> property-popup lifecycle -> rename + save + published), keeping every assertion of all three classes. Measured: 59s for the merged journey vs ~200s of CI time for the three classes. CreateNewFileIT (the full 20-option sweep - every option opens its own editor, making it the single longest IT at 431s on CI) was tagged smoke, so every PR paid for it. The PR gate now runs the new CreateNewFileSmokeIT - one representative option per heavyweight editor family (Monaco, BPMN modeler, EDM modeler, form builder), 59s locally vs 187s for the sweep - while the exhaustive sweep keeps running nightly/master in the ui shard. (Closing each editor tab between options was tried first and measured: 183.8s vs 186.9s baseline - the cost is the per-editor bring-up itself, not iframe accumulation, so the sweep stays as-is.) CLAUDE_BPMN.md / CLAUDE_UI.md updated for the merged class. Co-Authored-By: Claude Fable 5 --- CLAUDE_BPMN.md | 16 +- CLAUDE_UI.md | 2 +- .../tests/ui/tests/BpmnEditorIT.java | 147 +++++++++++++++++- .../tests/ui/tests/BpmnEditorLoadsIT.java | 88 ----------- .../ui/tests/BpmnEditorPropertyPopupIT.java | 123 --------------- .../tests/ui/tests/CreateNewFileIT.java | 8 +- .../tests/ui/tests/CreateNewFileSmokeIT.java | 56 +++++++ 7 files changed, 204 insertions(+), 236 deletions(-) delete mode 100644 tests/tests-integrations/src/main/java/org/eclipse/dirigible/integration/tests/ui/tests/BpmnEditorLoadsIT.java delete mode 100644 tests/tests-integrations/src/main/java/org/eclipse/dirigible/integration/tests/ui/tests/BpmnEditorPropertyPopupIT.java create mode 100644 tests/tests-integrations/src/main/java/org/eclipse/dirigible/integration/tests/ui/tests/CreateNewFileSmokeIT.java diff --git a/CLAUDE_BPMN.md b/CLAUDE_BPMN.md index a9b8e5bf5e4..52fa7a7c59d 100644 --- a/CLAUDE_BPMN.md +++ b/CLAUDE_BPMN.md @@ -62,22 +62,10 @@ d0968c65dd Fix property-panel popup lock-up: $hide/$show + prefixEvent + displa - **Templates** - `…/editor-bpm/editor-app/configuration/properties/duedate-popup.html` — `bs-select` → `