@camunda/e2e-test-suite 0.0.814 → 0.0.815

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.
@@ -509,13 +509,19 @@ class ConsoleOrganizationPage {
509
509
  await this.organizationManagementLink.click();
510
510
  }
511
511
  async deleteAllGroups() {
512
- // Delete groups one at a time: each confirmed deletion re-renders and
513
- // re-indexes the list, so always operate on the first remaining row
514
- // instead of iterating by index over a mutating collection.
515
- while ((await this.deleteButton.count()) > 0) {
512
+ // Delete groups one at a time. After each confirmed deletion the Console
513
+ // groups table refetches and re-renders asynchronously, so the row count
514
+ // can still include the just-deleted row for a moment. Wait for the count
515
+ // to actually drop before targeting the next row: clicking a delete button
516
+ // while its row is being removed detaches the element from the DOM and the
517
+ // click never lands (retries against a continuously re-rendering table).
518
+ let remaining = await this.deleteButton.count();
519
+ while (remaining > 0) {
516
520
  await this.deleteButton.first().click({ timeout: 60000 });
517
521
  await this.deleteSubButton.click({ timeout: 60000 });
518
522
  await (0, test_1.expect)(this.deleteSubButton).not.toBeVisible({ timeout: 60000 });
523
+ remaining -= 1;
524
+ await (0, test_1.expect)(this.deleteButton).toHaveCount(remaining, { timeout: 60000 });
519
525
  }
520
526
  }
521
527
  }
@@ -519,12 +519,13 @@ _8_7_1.test.describe('Web Modeler User Flow Tests', () => {
519
519
  password: password,
520
520
  });
521
521
  // navigateAfterInvitationLink lands the invited user in the SHARED org's
522
- // Modeler home (it logs in on the invitation flow rather than
523
- // re-authenticating into the personal org), so the shared project is
524
- // present. Assert its visibility directly no session-breaking reload.
525
- await (0, test_1.expect)(modelerHomePage.crossComponentProjectFolder).toBeVisible({
526
- timeout: 120000,
527
- });
522
+ // Modeler home. The project-collaborator grant propagates asynchronously,
523
+ // and the Modeler home fetches the project list only on load (it does not
524
+ // live-refresh), so the shared project can be absent from the first fetch
525
+ // (observed: the org's /projects returned an empty list right after the
526
+ // invited user logged in) and never appears without a reload. Reload and
527
+ // retry until the freshly granted project shows up.
528
+ await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(modelerHomePage, modelerHomePage.crossComponentProjectFolder, 'Cross Component Test Project', 90000, 8);
528
529
  });
529
530
  await _8_7_1.test.step('Log out from Second User', async () => {
530
531
  await settingsPage.clickOpenSettingsButton();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.814",
3
+ "version": "0.0.815",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",