We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d86d00 commit 0f400b8Copy full SHA for 0f400b8
tests/page-objects/dataset/DatasetPage.ts
@@ -343,8 +343,12 @@ class DatasetPage extends BasePage {
343
const newValue = value || `${originalValue}_modified`;
344
345
await fieldInput.locator('input').fill(newValue);
346
+ const validatePromise = this.page.waitForResponse((response) => {
347
+ return response.url().includes('/validateDataset');
348
+ });
349
await this.page.keyboard.press('Enter');
- await waitForBiValidateDatasetResponses(this.page, 5000);
350
+ await validatePromise;
351
+
352
return {newValue, originalValue};
353
}
354
0 commit comments