mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
E2E - fixing
This commit is contained in:
@@ -20,7 +20,8 @@
|
|||||||
"zen-observable",
|
"zen-observable",
|
||||||
"subscriptions-transport-ws",
|
"subscriptions-transport-ws",
|
||||||
"d",
|
"d",
|
||||||
"chart.js"
|
"chart.js",
|
||||||
|
"cropperjs"
|
||||||
],
|
],
|
||||||
"outputPath": "dist/demo-shell",
|
"outputPath": "dist/demo-shell",
|
||||||
"index": "demo-shell/src/index.html",
|
"index": "demo-shell/src/index.html",
|
||||||
|
@@ -16,7 +16,8 @@
|
|||||||
"zen-observable",
|
"zen-observable",
|
||||||
"subscriptions-transport-ws",
|
"subscriptions-transport-ws",
|
||||||
"d",
|
"d",
|
||||||
"chart.js"
|
"chart.js",
|
||||||
|
"cropperjs"
|
||||||
],
|
],
|
||||||
"outputPath": "dist/demo-shell",
|
"outputPath": "dist/demo-shell",
|
||||||
"index": "demo-shell/src/index.html",
|
"index": "demo-shell/src/index.html",
|
||||||
|
@@ -208,7 +208,7 @@ export class MetadataViewPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async changeContentType(option: string, attempt = 0, maxAttempt = 3): Promise<boolean> {
|
async changeContentType(option: string, attempt = 0, maxAttempt = 3): Promise<boolean> {
|
||||||
const nodeType = TestElement.byCss('div[data-automation-id="header-nodeType"] .mat-select-trigger');
|
const nodeType = TestElement.byCss('div[data-automation-id="header-nodeType"] .mat-mdc-select-trigger');
|
||||||
if (attempt > maxAttempt) {
|
if (attempt > maxAttempt) {
|
||||||
Logger.error(`content type select option not found. check acs version may be lesser than 7.0.0`);
|
Logger.error(`content type select option not found. check acs version may be lesser than 7.0.0`);
|
||||||
return false;
|
return false;
|
||||||
|
@@ -131,7 +131,7 @@ describe('TaskHeaderCloudComponent', () => {
|
|||||||
xit('should display priority with default values', async () => {
|
xit('should display priority with default values', async () => {
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
|
|
||||||
const priorityEl = fixture.debugElement.nativeElement.querySelector('[data-automation-id="header-priority"] .mat-select-trigger');
|
const priorityEl = fixture.debugElement.nativeElement.querySelector('[data-automation-id="header-priority"] .mat-mdc-select-trigger');
|
||||||
expect(priorityEl).toBeDefined();
|
expect(priorityEl).toBeDefined();
|
||||||
expect(priorityEl).not.toBeNull();
|
expect(priorityEl).not.toBeNull();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user