mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-6140] reduce access to internal material classes (#9053)
* cleanup login (demo shell) * cleanup e2e from useless calls * [ci:force] cleanup e2e from useless calls * [ci:force] cleanup e2e from useless calls * [ci:force] improved uploader selectors * [ci:force] remove useless selectors when automation id provided * [ci:force] improved tests and selectors * [ci:force] improved tests and selectors * [ci:force] improved tests and selectors * [ci:force] improved tests and selectors * [ci:force] improved tests and selectors * [ci:force] improved tests and selectors * [ci:force] switch edit task filter to angular harness * [ci:force] switch edit process filter to angular harness * [ci:force] switch search chip list to angular harness * [ci:force] switch search panel to angular harness * [ci:force] switch search radio to angular harness * [ci:force] switch search text to angular harness * [ci:force] search logical filter * [ci:force] search form component * [ci:force] search filter container * [ci:force] fix viewer test * [ci:force] search facet chip harness * [ci:force] search facet chip harness * [ci:force] dropdown breadcrumb * [ci:force] search check list * [ci:force] folder dialog * [ci:force] search filter component * [ci:force] json cell * [ci:force] amount widget * [ci:force] checkbox widget * [ci:force] multiline-text widget * [ci:force] number widget * [ci:force] text widget * [ci:force] card view array item * add permission dialog * permission container component * permission list component * card view components * search widget chip * search facet chip * edit service task filter * card view components * sites dropdown * share dialog * header component * datetime widget * remove comments
This commit is contained in:
@@ -21,15 +21,14 @@ import { BrowserVisibility } from '../../../core/utils/browser-visibility';
|
||||
import { BrowserActions } from '../../../core/utils/browser-actions';
|
||||
|
||||
export class DateRangeFilterPage {
|
||||
|
||||
fromField = 'input[data-automation-id="date-range-from-input"]';
|
||||
fromDateToggle = 'mat-datepicker-toggle[data-automation-id="date-range-from-date-toggle"]';
|
||||
toField = 'input[data-automation-id="date-range-to-input"]';
|
||||
toDateToggle = 'mat-datepicker-toggle[data-automation-id="date-range-to-date-toggle"]';
|
||||
applyButton = 'button[data-automation-id="date-range-apply-btn"]';
|
||||
clearButton = 'button[data-automation-id="date-range-clear-btn"]';
|
||||
fromErrorMessage = 'mat-error[data-automation-id="date-range-from-error"]';
|
||||
toErrorMessage = 'mat-error[data-automation-id="date-range-to-error"]';
|
||||
fromField = '[data-automation-id="date-range-from-input"]';
|
||||
fromDateToggle = '[data-automation-id="date-range-from-date-toggle"]';
|
||||
toField = '[data-automation-id="date-range-to-input"]';
|
||||
toDateToggle = '[data-automation-id="date-range-to-date-toggle"]';
|
||||
applyButton = '[data-automation-id="date-range-apply-btn"]';
|
||||
clearButton = '[data-automation-id="date-range-clear-btn"]';
|
||||
fromErrorMessage = '[data-automation-id="date-range-from-error"]';
|
||||
toErrorMessage = '[data-automation-id="date-range-to-error"]';
|
||||
filter: ElementFinder;
|
||||
|
||||
constructor(filter: ElementFinder) {
|
||||
@@ -139,5 +138,4 @@ export class DateRangeFilterPage {
|
||||
async checkClearButtonIsDisplayed(): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.filter.$(this.clearButton));
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -20,15 +20,14 @@ import { BrowserActions } from '../../../core/utils/browser-actions';
|
||||
import { BrowserVisibility } from '../../../core/utils/browser-visibility';
|
||||
|
||||
export class NumberRangeFilterPage {
|
||||
|
||||
fromInput = 'input[data-automation-id="number-range-from-input"]';
|
||||
toInput = 'input[data-automation-id="number-range-to-input"]';
|
||||
applyButton = 'button[data-automation-id="number-range-btn-apply"]';
|
||||
clearButton = 'button[data-automation-id="number-range-btn-clear"]';
|
||||
fromErrorInvalid = 'mat-error[data-automation-id="number-range-from-error-invalid"]';
|
||||
fromErrorRequired = 'mat-error[data-automation-id="number-range-from-error-required"]';
|
||||
toErrorInvalid = 'mat-error[data-automation-id="number-range-to-error-invalid"]';
|
||||
toErrorRequired = 'mat-error[data-automation-id="number-range-to-error-required"]';
|
||||
fromInput = '[data-automation-id="number-range-from-input"]';
|
||||
toInput = '[data-automation-id="number-range-to-input"]';
|
||||
applyButton = '[data-automation-id="number-range-btn-apply"]';
|
||||
clearButton = '[data-automation-id="number-range-btn-clear"]';
|
||||
fromErrorInvalid = '[data-automation-id="number-range-from-error-invalid"]';
|
||||
fromErrorRequired = '[data-automation-id="number-range-from-error-required"]';
|
||||
toErrorInvalid = '[data-automation-id="number-range-to-error-invalid"]';
|
||||
toErrorRequired = '[data-automation-id="number-range-to-error-required"]';
|
||||
filter: ElementFinder;
|
||||
|
||||
constructor(filter: ElementFinder) {
|
||||
|
Reference in New Issue
Block a user