mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[no-issue] fix e2e uploader (#3840)
* fix e2e upload move viewer subbfolder * fix CS services e2e test * add log for error in upload delete * aysnc get node * new tentative * attempt 2 * attempt 3 * new demo shell test travis change for test * excluded file tslint fix * remove desktop only class * renable tests * decrease time notification * add process service multiselect demo test fix e2e * remove log * add custom toolbar example
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import LoginPage = require('../../pages/adf/loginPage');
|
||||
import ViewerPage = require('../../pages/adf/viewerPage');
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import CardViewPage = require('../../pages/adf/metadataViewPage');
|
||||
import NavigationBarPage = require('../../pages/adf/navigationBarPage');
|
||||
import { ConfigEditorPage } from '../../pages/adf/configEditorPage';
|
||||
@@ -73,7 +73,7 @@ describe('Aspect oriented config', () => {
|
||||
|
||||
beforeEach(async(done) => {
|
||||
navigationBarPage.clickConfigEditorButton();
|
||||
configEditorPage.clickClearMetadataButton();
|
||||
configEditorPage.clickClearButton();
|
||||
done();
|
||||
});
|
||||
|
||||
@@ -87,7 +87,7 @@ describe('Aspect oriented config', () => {
|
||||
|
||||
it('[C261117] Should be possible restrict the display properties of one an aspect', () => {
|
||||
|
||||
configEditorPage.enterMetadataConfiguration('{ "presets": {' +
|
||||
configEditorPage.enterConfiguration('{ "presets": {' +
|
||||
' "default": [{' +
|
||||
' "title": "IMAGE",' +
|
||||
' "items": [' +
|
||||
@@ -98,7 +98,7 @@ describe('Aspect oriented config', () => {
|
||||
' }]' +
|
||||
' }');
|
||||
|
||||
configEditorPage.clickSaveMetadataButton();
|
||||
configEditorPage.clickSaveButton();
|
||||
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
@@ -121,7 +121,7 @@ describe('Aspect oriented config', () => {
|
||||
|
||||
it('[C260185] Should ignore not existing aspect when present in the configuration', () => {
|
||||
|
||||
configEditorPage.enterMetadataConfiguration(' {' +
|
||||
configEditorPage.enterConfiguration(' {' +
|
||||
' "presets": {' +
|
||||
' "default": {' +
|
||||
' "exif:exif": "*",' +
|
||||
@@ -131,7 +131,7 @@ describe('Aspect oriented config', () => {
|
||||
' }' +
|
||||
' }');
|
||||
|
||||
configEditorPage.clickSaveMetadataButton();
|
||||
configEditorPage.clickSaveButton();
|
||||
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
@@ -150,9 +150,9 @@ describe('Aspect oriented config', () => {
|
||||
|
||||
it('[C260183] Should show all the aspect if the content-metadata configuration is NOT provided' , () => {
|
||||
|
||||
configEditorPage.enterMetadataConfiguration('{ }');
|
||||
configEditorPage.enterConfiguration('{ }');
|
||||
|
||||
configEditorPage.clickSaveMetadataButton();
|
||||
configEditorPage.clickSaveButton();
|
||||
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
@@ -174,13 +174,13 @@ describe('Aspect oriented config', () => {
|
||||
|
||||
it('[C260182] Should show all the aspects if the default configuration contains the * symbol' , () => {
|
||||
|
||||
configEditorPage.enterMetadataConfiguration('{' +
|
||||
configEditorPage.enterConfiguration('{' +
|
||||
' "presets": {' +
|
||||
' "default": "*"' +
|
||||
' }' +
|
||||
'}');
|
||||
|
||||
configEditorPage.clickSaveMetadataButton();
|
||||
configEditorPage.clickSaveButton();
|
||||
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
@@ -203,7 +203,7 @@ describe('Aspect oriented config', () => {
|
||||
|
||||
it('[C268899] Should be possible use a Translation key as Title of a metadata group' , () => {
|
||||
|
||||
configEditorPage.enterMetadataConfiguration('{' +
|
||||
configEditorPage.enterConfiguration('{' +
|
||||
' "presets": {' +
|
||||
' "default": [' +
|
||||
' {' +
|
||||
@@ -231,7 +231,7 @@ describe('Aspect oriented config', () => {
|
||||
' }' +
|
||||
'}');
|
||||
|
||||
configEditorPage.clickSaveMetadataButton();
|
||||
configEditorPage.clickSaveButton();
|
||||
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
@@ -253,7 +253,7 @@ describe('Aspect oriented config', () => {
|
||||
|
||||
it('[C279968] Should be possible use a custom preset' , () => {
|
||||
|
||||
configEditorPage.enterMetadataConfiguration('{' +
|
||||
configEditorPage.enterConfiguration('{' +
|
||||
' "presets": {' +
|
||||
' "custom-preset": {' +
|
||||
' "exif:exif": "*",' +
|
||||
@@ -262,7 +262,7 @@ describe('Aspect oriented config', () => {
|
||||
' }' +
|
||||
'}');
|
||||
|
||||
configEditorPage.clickSaveMetadataButton();
|
||||
configEditorPage.clickSaveButton();
|
||||
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import LoginPage = require('../../pages/adf/loginPage');
|
||||
import ViewerPage = require('../../pages/adf/viewerPage');
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import CardViewPage = require('../../pages/adf/metadataViewPage');
|
||||
import NavigationBarPage = require('../../pages/adf/navigationBarPage');
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
|
||||
import LoginPage = require('../../pages/adf/loginPage');
|
||||
import ContentServicesPage = require('../../pages/adf/contentServicesPage');
|
||||
import ViewerPage = require('../../pages/adf/viewerPage');
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import CardViewPage = require('../../pages/adf/metadataViewPage');
|
||||
|
||||
import AcsUserModel = require('../../models/ACS/acsUserModel');
|
||||
|
@@ -19,7 +19,7 @@ import { browser } from 'protractor';
|
||||
|
||||
import LoginPage = require('../../pages/adf/loginPage');
|
||||
import ContentServicesPage = require('../../pages/adf/contentServicesPage');
|
||||
import ViewerPage = require('../../pages/adf/viewerPage');
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import CardViewPage = require('../../pages/adf/metadataViewPage');
|
||||
import ContentListPage = require('../../pages/adf/dialog/contentList');
|
||||
|
||||
|
@@ -21,7 +21,7 @@ import TestConfig = require('../test.config');
|
||||
|
||||
import LoginPage = require('../pages/adf/loginPage');
|
||||
import ContentServicesPage = require('../pages/adf/contentServicesPage');
|
||||
import ViewerPage = require('../pages/adf/viewerPage');
|
||||
import { ViewerPage } from '../pages/adf/viewerPage';
|
||||
|
||||
import resources = require('../util/resources');
|
||||
|
||||
|
Reference in New Issue
Block a user