|
|
@ -306,6 +306,11 @@ export class ColumnPageObject extends BasePage { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.click(); |
|
|
|
.click(); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case 'Date': |
|
|
|
|
|
|
|
// Date Format
|
|
|
|
|
|
|
|
await this.get().locator('.nc-date-select').click(); |
|
|
|
|
|
|
|
await this.rootPage.locator('.ant-select-item').locator(`[data-testid="nc-${dateFormat}"]`).click(); |
|
|
|
|
|
|
|
break; |
|
|
|
case 'DateTime': |
|
|
|
case 'DateTime': |
|
|
|
// Date Format
|
|
|
|
// Date Format
|
|
|
|
await this.get().locator('.nc-date-select').click(); |
|
|
|
await this.get().locator('.nc-date-select').click(); |
|
|
@ -314,11 +319,6 @@ export class ColumnPageObject extends BasePage { |
|
|
|
await this.get().locator('.nc-time-select').click(); |
|
|
|
await this.get().locator('.nc-time-select').click(); |
|
|
|
await this.rootPage.locator('.ant-select-item').locator(`[data-testid="nc-time-${timeFormat}"]`).click(); |
|
|
|
await this.rootPage.locator('.ant-select-item').locator(`[data-testid="nc-time-${timeFormat}"]`).click(); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'Date': |
|
|
|
|
|
|
|
// Date Format
|
|
|
|
|
|
|
|
await this.get().locator('.nc-date-select').click(); |
|
|
|
|
|
|
|
await this.rootPage.locator('.ant-select-item').locator(`[data-testid="nc-${dateFormat}"]`).click(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
default: |
|
|
|
default: |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|