mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Increase timeout and modify login async (#4795)
* increase timeout and modify login async * run e2e if testing is changed * improve cdk fix * fix travis update projects * disable ghostMode lite server * lint fix * fix timeout * multiple try * Update content-services-e2e.sh * Update search-e2e.sh * Update process-services-e2e.sh * Update core-e2e.sh * Update protractor.conf.ts * fix unit * remove async * increqase notification time * 3 parallel * dix path issue in save * small refactor protractor ts * fix save * create license check first script adf cli * modify regex check * refactor notification history component * decrease notification * fix notification message problem * fix test * update packages wit high risk * revert cahnge login sso e2e * fix dep * fix documentation duplication and issue * fix after review * fix after review * try 6 parallel test * back to 3 parallel test no real time improve with 6
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
export class MDNav {
|
||||
|
||||
|
||||
constructor(public root: any, public pos: number = 0) {}
|
||||
|
||||
find(test: (element: any) => boolean = () => true, index: number = 0): MDNav {
|
||||
@@ -25,7 +25,6 @@ export class MDNav {
|
||||
return new MDNav(this.root, this.root.children.length);
|
||||
}
|
||||
|
||||
|
||||
findAll(test: (element: any) => boolean = () => true, index: number = 0): MDNav[] {
|
||||
if (!this.root || !this.root.children) {
|
||||
return [];
|
||||
@@ -89,7 +88,7 @@ export class MDNav {
|
||||
return h.type === "link" && test(h);
|
||||
}, index);
|
||||
}
|
||||
|
||||
|
||||
list(test: (element: any) => boolean = () => true, index: number = 0): MDNav {
|
||||
return this.find((h) => {
|
||||
return h.type === "list" && test(h);
|
||||
@@ -165,7 +164,7 @@ export class MDNav {
|
||||
(this.pos >= this.root.children.length);
|
||||
}
|
||||
|
||||
|
||||
|
||||
get childNav(): MDNav {
|
||||
return new MDNav(this.item);
|
||||
}
|
||||
@@ -181,7 +180,7 @@ export class MDNav {
|
||||
|
||||
|
||||
get textValue() : string {
|
||||
if (this.item) {
|
||||
if (this.item) {
|
||||
if (this.item["value"]) {
|
||||
return this.item.value;
|
||||
} else if (
|
||||
@@ -197,4 +196,4 @@ export class MDNav {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user