|
|
@ -288,8 +288,7 @@ export class ToolbarFilterPage extends BasePage { |
|
|
|
.click(); |
|
|
|
.click(); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case UITypes.MultiSelect: |
|
|
|
case UITypes.MultiSelect: |
|
|
|
await this.get().locator('.nc-filter-value-select').waitFor(); |
|
|
|
await this.get().locator('.nc-filter-value-select').locator('.ant-select-arrow').click({ force: true }); |
|
|
|
await this.get().locator('.nc-filter-value-select').click(); |
|
|
|
|
|
|
|
// eslint-disable-next-line no-case-declarations
|
|
|
|
// eslint-disable-next-line no-case-declarations
|
|
|
|
const v = value.split(','); |
|
|
|
const v = value.split(','); |
|
|
|
for (let i = 0; i < v.length; i++) { |
|
|
|
for (let i = 0; i < v.length; i++) { |
|
|
@ -300,8 +299,7 @@ export class ToolbarFilterPage extends BasePage { |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case UITypes.SingleSelect: |
|
|
|
case UITypes.SingleSelect: |
|
|
|
await this.get().locator('.nc-filter-value-select').waitFor(); |
|
|
|
await this.get().locator('.nc-filter-value-select').locator('.ant-select-arrow').click({ force: true }); |
|
|
|
await this.get().locator('.nc-filter-value-select').click(); |
|
|
|
|
|
|
|
// check if value was an array
|
|
|
|
// check if value was an array
|
|
|
|
// eslint-disable-next-line no-case-declarations
|
|
|
|
// eslint-disable-next-line no-case-declarations
|
|
|
|
const val = value.split(','); |
|
|
|
const val = value.split(','); |
|
|
@ -321,8 +319,7 @@ export class ToolbarFilterPage extends BasePage { |
|
|
|
break; |
|
|
|
break; |
|
|
|
case UITypes.User: |
|
|
|
case UITypes.User: |
|
|
|
if (!['is blank', 'is not blank'].includes(operation)) { |
|
|
|
if (!['is blank', 'is not blank'].includes(operation)) { |
|
|
|
await this.get().locator('.nc-filter-value-select').waitFor(); |
|
|
|
await this.get().locator('.nc-filter-value-select').locator('.ant-select-arrow').click({ force: true }); |
|
|
|
await this.get().locator('.nc-filter-value-select').click(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const v = value.split(','); |
|
|
|
const v = value.split(','); |
|
|
|
for (let i = 0; i < v.length; i++) { |
|
|
|
for (let i = 0; i < v.length; i++) { |
|
|
|