mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-3908] use different selectors that are valid for ADW as well (#2091)
* use different selectors in order to be valid for ADW as well * trigger travis
This commit is contained in:
@@ -33,8 +33,9 @@ export class CreateOrEditFolderDialog extends GenericDialog {
|
||||
cancelButton = this.childElement(by.id('adf-folder-cancel-button'));
|
||||
updateButton = this.childElement(by.cssContainingText('.mat-dialog-actions button', 'Update'));
|
||||
|
||||
nameInput = this.rootElem.element(by.css('input[data-placeholder="Name" i]'));
|
||||
descriptionTextArea = this.rootElem.element(by.css('textarea[data-placeholder="Description" i]'));
|
||||
nameInput = this.rootElem.element(by.id('adf-folder-name-input'));
|
||||
titleInput = this.rootElem.element(by.id('adf-folder-title-input'));
|
||||
descriptionTextArea = this.rootElem.element(by.id('adf-folder-description-input'));
|
||||
validationMessage = this.rootElem.element(by.css('.mat-hint span'));
|
||||
|
||||
constructor() {
|
||||
|
@@ -32,9 +32,9 @@ export class CreateFromTemplateDialog extends GenericDialog {
|
||||
createButton = this.childElement(by.cssContainingText('.mat-dialog-actions button', 'Create'));
|
||||
cancelButton = this.childElement(by.cssContainingText('.mat-dialog-actions button', 'CANCEL'));
|
||||
|
||||
nameInput = this.childElement(by.css('input[data-placeholder="Name" i]'));
|
||||
titleInput = this.childElement(by.css('input[data-placeholder="Title" i]'));
|
||||
descriptionTextArea = this.childElement(by.css('textarea[data-placeholder="Description" i]'));
|
||||
nameInput = this.childElement(by.css('input[formcontrolname="name"]'));
|
||||
titleInput = this.childElement(by.css('input[formcontrolname="title"]'));
|
||||
descriptionTextArea = this.childElement(by.css('textarea[formcontrolname="description"]'));
|
||||
validationMessage = this.childElement(by.css('.mat-error'));
|
||||
|
||||
constructor() {
|
||||
|
@@ -32,9 +32,9 @@ export class CreateLibraryDialog extends GenericDialog {
|
||||
createButton = this.childElement(by.cssContainingText('.mat-dialog-actions button', 'Create'));
|
||||
cancelButton = this.childElement(by.cssContainingText('.mat-dialog-actions button', 'Cancel'));
|
||||
|
||||
nameInput = this.rootElem.element(by.css('input[data-placeholder="Name" i]'));
|
||||
libraryIdInput = this.rootElem.element(by.css('input[data-placeholder="Library ID" i]'));
|
||||
descriptionTextArea = this.rootElem.element(by.css('textarea[data-placeholder="Description" i]'));
|
||||
nameInput = this.rootElem.element(by.css('input[formcontrolname="title"]'));
|
||||
libraryIdInput = this.rootElem.element(by.css('input[formcontrolname="id"]'));
|
||||
descriptionTextArea = this.rootElem.element(by.css('textarea[formcontrolname="description"]'));
|
||||
visibilityPublic = this.rootElem.element(by.cssContainingText('.mat-radio-label', 'Public'));
|
||||
visibilityModerated = this.rootElem.element(by.cssContainingText('.mat-radio-label', 'Moderated'));
|
||||
visibilityPrivate = this.rootElem.element(by.cssContainingText('.mat-radio-label', 'Private'));
|
||||
|
@@ -32,7 +32,7 @@ export class FacetFilter extends GenericFilterPanel {
|
||||
checkbox: '.mat-checkbox',
|
||||
checkboxChecked: '.mat-checkbox.mat-checkbox-checked',
|
||||
button: '.adf-facet-buttons button',
|
||||
categoryInput: 'input[data-placeholder="Filter category"',
|
||||
categoryInput: 'input[data-automation-id^="facet-result-filter"]',
|
||||
facetsFilter: '.adf-facet-result-filter'
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user