|
|
@ -328,11 +328,17 @@ export class ToolbarFilterPage extends BasePage { |
|
|
|
|
|
|
|
|
|
|
|
const v = value.split(','); |
|
|
|
const v = value.split(','); |
|
|
|
for (let i = 0; i < v.length; i++) { |
|
|
|
for (let i = 0; i < v.length; i++) { |
|
|
|
await this.rootPage |
|
|
|
const selectUser = () => |
|
|
|
.locator(`.nc-dropdown-user-select-cell`) |
|
|
|
this.rootPage |
|
|
|
.getByTestId('select-option-User-filter') |
|
|
|
.locator(`.nc-dropdown-user-select-cell`) |
|
|
|
.getByText(v[i]) |
|
|
|
.getByTestId('select-option-User-filter') |
|
|
|
.click({ force: true }); |
|
|
|
.getByText(v[i]) |
|
|
|
|
|
|
|
.click({ force: true }); |
|
|
|
|
|
|
|
await this.waitForResponse({ |
|
|
|
|
|
|
|
uiAction: selectUser, |
|
|
|
|
|
|
|
httpMethodsToMatch: ['GET'], |
|
|
|
|
|
|
|
requestUrlPathToMatch: `/api/v1/db/data/noco/`, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|