@camunda/e2e-test-suite 0.0.555 → 0.0.557
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.
|
@@ -123,6 +123,16 @@ class ModelerHomePage {
|
|
|
123
123
|
try {
|
|
124
124
|
await this.clickMessageBanner();
|
|
125
125
|
await (0, test_1.expect)(this.crossComponentProjectFolder).toBeVisible({ timeout });
|
|
126
|
+
// The WhatsNew modal renders lazily after page load and intercepts clicks.
|
|
127
|
+
// Explicitly wait for it to appear (up to 5s), dismiss it, then click.
|
|
128
|
+
await this.closeButton
|
|
129
|
+
.waitFor({ state: 'visible', timeout: 5000 })
|
|
130
|
+
.then(() => this.closeButton.click())
|
|
131
|
+
.catch(() => { });
|
|
132
|
+
await this.modalCloseButton
|
|
133
|
+
.waitFor({ state: 'visible', timeout: 2000 })
|
|
134
|
+
.then(() => this.modalCloseButton.click())
|
|
135
|
+
.catch(() => { });
|
|
126
136
|
await this.crossComponentProjectFolder.click();
|
|
127
137
|
await this.clickMessageBanner();
|
|
128
138
|
return;
|
|
@@ -133,6 +133,16 @@ class ModelerHomePage {
|
|
|
133
133
|
try {
|
|
134
134
|
await this.clickMessageBanner();
|
|
135
135
|
await (0, test_1.expect)(this.crossComponentProjectFolder).toBeVisible({ timeout });
|
|
136
|
+
// The WhatsNew modal renders lazily after page load and intercepts clicks.
|
|
137
|
+
// Explicitly wait for it to appear (up to 5s), dismiss it, then click.
|
|
138
|
+
await this.closeButton
|
|
139
|
+
.waitFor({ state: 'visible', timeout: 5000 })
|
|
140
|
+
.then(() => this.closeButton.click())
|
|
141
|
+
.catch(() => { });
|
|
142
|
+
await this.modalCloseButton
|
|
143
|
+
.waitFor({ state: 'visible', timeout: 2000 })
|
|
144
|
+
.then(() => this.modalCloseButton.click())
|
|
145
|
+
.catch(() => { });
|
|
136
146
|
await this.crossComponentProjectFolder.click();
|
|
137
147
|
await this.clickMessageBanner();
|
|
138
148
|
return;
|