mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACA-1920] automate tests for Create file from template (#1303)
* change component ancestor from ElementFinder to string for better usability better naming for some methods small code cleanup * add test components and automate tests for Create File from Template action * ignore e2e-downloads folder * add return types * enable check * enable check after issue got fixed
This commit is contained in:
committed by
Cilibiu Bogdan
parent
0bc4a3453b
commit
569ee98e8d
@@ -45,7 +45,7 @@ export class SearchFilters extends Component {
|
||||
location = new FacetFilter('Location');
|
||||
modifiedDate = new FacetFilter('Modified date');
|
||||
|
||||
constructor(ancestor?: ElementFinder) {
|
||||
constructor(ancestor?: string) {
|
||||
super(SearchFilters.selectors.root, ancestor);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ export class SearchInput extends Component {
|
||||
searchLibrariesOption: ElementFinder = this.searchOptionsArea.element(by.cssContainingText(SearchInput.selectors.optionCheckbox, 'Libraries'));
|
||||
clearSearchButton: ElementFinder = this.searchContainer.$(SearchInput.selectors.clearButton);
|
||||
|
||||
constructor(ancestor?: ElementFinder) {
|
||||
constructor(ancestor?: string) {
|
||||
super(SearchInput.selectors.root, ancestor);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ export class SearchSortingPicker extends Component {
|
||||
sortByDropdownExpanded: ElementFinder = browser.element(by.css('.mat-select-panel'));
|
||||
sortByList: ElementArrayFinder = this.sortByDropdownExpanded.all(by.css(SearchSortingPicker.selectors.sortByOption));
|
||||
|
||||
constructor(ancestor?: ElementFinder) {
|
||||
constructor(ancestor?: string) {
|
||||
super(SearchSortingPicker.selectors.root, ancestor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user