test: improvements for windows os execution

This commit is contained in:
Jakub P
2025-04-01 00:28:12 +02:00
parent 59256480c6
commit 21b154112e
4 changed files with 103 additions and 71 deletions

View File

@@ -40,7 +40,12 @@ export class AdminApplicationSettingsPage extends AuthenticatedPage {
}
async saveSettings() {
await this.saveButton.click();
await Promise.all([
this.page.waitForResponse(
(resp) => resp.url().includes('/config') && resp.status() === 200
),
this.saveButton.click(),
]);
}
async expectOnlyOneSuccessSnackbarToBeVisible() {