fix(editor): Reintroduce user deletion actions in the members table in Users and Project settings page (#19604)

This commit is contained in:
Csaba Tuncsik
2025-09-18 17:15:05 +02:00
committed by GitHub
parent f0b48733ac
commit bcedf5c76f
22 changed files with 483 additions and 191 deletions

View File

@@ -15,7 +15,10 @@ export class ProjectSettingsPage extends BasePage {
}
async clickSaveButton() {
await this.clickButtonByName('Save');
await Promise.all([
this.waitForRestResponse(/\/rest\/projects\/[^/]+$/, 'PATCH'),
this.clickButtonByName('Save'),
]);
}
async clickCancelButton() {
@@ -76,4 +79,8 @@ export class ProjectSettingsPage extends BasePage {
const select = this.page.getByTestId('project-members-select');
await expect(select).toBeVisible();
}
async waitForProjectSettingsRestResponse() {
await this.waitForRestResponse(/\/rest\/projects\/[^/]+$/, 'GET');
}
}