@camunda/e2e-test-suite 0.0.558 → 0.0.559
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.
|
@@ -193,12 +193,8 @@ class ModelerHomePage {
|
|
|
193
193
|
const banner = this.messageBanner
|
|
194
194
|
.or(this.closeButton)
|
|
195
195
|
.or(this.modalCloseButton);
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
199
|
-
else {
|
|
200
|
-
console.log('No banner or close button found to click');
|
|
201
|
-
}
|
|
196
|
+
await banner.waitFor({ state: 'visible', timeout: 5000 });
|
|
197
|
+
await banner.click();
|
|
202
198
|
}
|
|
203
199
|
catch {
|
|
204
200
|
console.log('No banner or close button found to click');
|
|
@@ -202,12 +202,8 @@ class ModelerHomePage {
|
|
|
202
202
|
const banner = this.messageBanner
|
|
203
203
|
.or(this.closeButton)
|
|
204
204
|
.or(this.modalCloseButton);
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
-
else {
|
|
209
|
-
console.log('No banner or close button found to click');
|
|
210
|
-
}
|
|
205
|
+
await banner.waitFor({ state: 'visible', timeout: 5000 });
|
|
206
|
+
await banner.click();
|
|
211
207
|
}
|
|
212
208
|
catch {
|
|
213
209
|
console.log('No banner or close button found to click');
|
|
@@ -214,12 +214,8 @@ class ModelerHomePage {
|
|
|
214
214
|
const banner = this.messageBanner
|
|
215
215
|
.or(this.closeButton)
|
|
216
216
|
.or(this.modalCloseButton);
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
else {
|
|
221
|
-
console.log('No banner or close button found to click');
|
|
222
|
-
}
|
|
217
|
+
await banner.waitFor({ state: 'visible', timeout: 5000 });
|
|
218
|
+
await banner.click();
|
|
223
219
|
}
|
|
224
220
|
catch {
|
|
225
221
|
console.log('No banner or close button found to click');
|