@camunda/e2e-test-suite 0.0.517 → 0.0.518

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.
@@ -108,6 +108,16 @@ class ModelerHomePage {
108
108
  try {
109
109
  await this.clickMessageBanner();
110
110
  await (0, test_1.expect)(this.crossComponentProjectFolder).toBeVisible({ timeout });
111
+ // The WhatsNew modal renders lazily after page load and intercepts clicks.
112
+ // Explicitly wait for it to appear (up to 5s), dismiss it, then click.
113
+ await this.closeButton
114
+ .waitFor({ state: 'visible', timeout: 5000 })
115
+ .then(() => this.closeButton.click())
116
+ .catch(() => { });
117
+ await this.modalCloseButton
118
+ .waitFor({ state: 'visible', timeout: 2000 })
119
+ .then(() => this.modalCloseButton.click())
120
+ .catch(() => { });
111
121
  await this.crossComponentProjectFolder.click();
112
122
  await this.clickMessageBanner();
113
123
  return;
@@ -117,7 +127,7 @@ class ModelerHomePage {
117
127
  if (attempts < maxAttempts) {
118
128
  console.log(`Attempt ${attempts} failed. Reloading page and retrying...`);
119
129
  await this.page.reload();
120
- await this.page.waitForLoadState('domcontentloaded');
130
+ await this.page.waitForLoadState('networkidle');
121
131
  }
122
132
  else {
123
133
  throw new Error('Failed to click crossComponentProjectFolder after 3 attempts.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.517",
3
+ "version": "0.0.518",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",