@camunda/e2e-test-suite 0.0.1293 → 0.0.1294

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.
@@ -181,7 +181,26 @@ _8_9_1.test.describe('Console User Flow Tests @tasklistV2', () => {
181
181
  await modelerHomePage.clickCrossComponentProjectFolder();
182
182
  await modelerHomePage.clickProcessDiagram(processName);
183
183
  await modelerCreatePage.runProcessInstance(alertFlowClusterName);
184
- await (0, sleep_1.sleep)(10000);
184
+ // Straight into the next run, no wait. The email assertion below expects
185
+ // ONE mail reporting "New Incidents: 2", which only happens when both
186
+ // incidents fall inside the same alert evaluation cycle; the 10s sleep
187
+ // that used to be here pushed them into separate cycles and Console sent
188
+ // a "New Incidents: 1" mail for each (nightly: "3 email(s) present",
189
+ // none matching). Ported from 8.8 (647375e5d).
190
+ //
191
+ // Close the first run's toast before clicking again: camunda-hub 6813a7e
192
+ // made the "Instance started!" toast persistent whenever it carries the
193
+ // Operate action, so its action button covers "Deploy & run" and would
194
+ // swallow the second click.
195
+ const instanceStartedToast = page
196
+ .locator('[data-sonner-toast]')
197
+ .filter({ has: modelerCreatePage.viewProcessInstanceLink });
198
+ await instanceStartedToast
199
+ .locator('[data-close-button="true"]')
200
+ .click({ timeout: 30000 });
201
+ await (0, test_1.expect)(modelerCreatePage.viewProcessInstanceLink).toBeHidden({
202
+ timeout: 30000,
203
+ });
185
204
  await modelerCreatePage.runProcessInstance(alertFlowClusterName);
186
205
  });
187
206
  await _8_9_1.test.step('Navigate to Cluster Details', async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1293",
3
+ "version": "0.0.1294",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",