mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ADF-5191] move reusable actions to testing package (#5842)
* [ADF-5191] move reusable actions to testing package * * tenant added * * improved logic * fix circular deps error and warns * fix unit test
This commit is contained in:
@@ -14,10 +14,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { LoginSSOPage, AboutPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import { AboutPage, ApiService, LoginSSOPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('About Content Services', () => {
|
||||
|
||||
|
||||
@@ -15,14 +15,21 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, UploadActions, StringUtil, ViewerPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { CommentsPage } from '../../pages/adf/comments.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Comment Component', () => {
|
||||
|
||||
|
||||
@@ -15,13 +15,19 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, LoginSSOPage, NotificationHistoryPage, StringUtil, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
NotificationHistoryPage,
|
||||
StringUtil,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { FolderDialogPage } from '../../pages/adf/dialog/folder-dialog.page';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||
import { browser, Key } from 'protractor';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Create folder directive', () => {
|
||||
|
||||
|
||||
@@ -15,13 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, BrowserActions, StringUtil, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, BrowserActions, LoginSSOPage, StringUtil, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { CreateLibraryDialogPage } from '../../pages/adf/dialog/create-library-dialog.page';
|
||||
import { CustomSourcesPage } from '../../pages/adf/demo-shell/custom-sources.page';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Create library directive', () => {
|
||||
|
||||
|
||||
@@ -18,17 +18,18 @@
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
PaginationPage,
|
||||
StringUtil,
|
||||
PermissionActions,
|
||||
ApiService, UserModel
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { FolderModel } from '../../models/ACS/folder.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Delete Directive', () => {
|
||||
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import {
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
ApiService,
|
||||
BrowserVisibility,
|
||||
FileBrowserUtil,
|
||||
ApiService,
|
||||
UserModel
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { FolderModel } from '../../models/ACS/folder.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Version component actions', () => {
|
||||
|
||||
|
||||
@@ -21,14 +21,15 @@ import {
|
||||
LoginSSOPage,
|
||||
NotificationHistoryPage,
|
||||
StringUtil,
|
||||
UploadActions, UserModel
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { FolderDialogPage } from '../../pages/adf/dialog/folder-dialog.page';
|
||||
import { browser, protractor } from 'protractor';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Edit folder directive', () => {
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ import {
|
||||
ContentNodeSelectorDialogPage,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions, UserModel
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
|
||||
@@ -29,7 +31,6 @@ import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { CustomSourcesPage } from '../../pages/adf/demo-shell/custom-sources.page';
|
||||
import { TrashcanPage } from '../../pages/adf/trashcan.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Favorite directive', () => {
|
||||
|
||||
|
||||
@@ -22,15 +22,16 @@ import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { TrashcanPage } from '../../pages/adf/trashcan.page';
|
||||
import {
|
||||
ApiService,
|
||||
BreadcrumbPage,
|
||||
BrowserActions,
|
||||
LoginSSOPage,
|
||||
NotificationHistoryPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
BrowserActions,
|
||||
BreadcrumbPage,
|
||||
ApiService, UserModel
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Restore content directive', () => {
|
||||
|
||||
|
||||
@@ -17,13 +17,16 @@
|
||||
|
||||
import { browser, by, element } from 'protractor';
|
||||
import {
|
||||
ApiService,
|
||||
BreadcrumbPage,
|
||||
ContentNodeSelectorDialogPage,
|
||||
LoginSSOPage,
|
||||
PaginationPage,
|
||||
UploadActions,
|
||||
StringUtil,
|
||||
ContentNodeSelectorDialogPage,
|
||||
ViewerPage, ApiService, UserModel
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
@@ -31,7 +34,6 @@ import { FileModel } from '../../models/ACS/file.model';
|
||||
import { BreadCrumbDropdownPage } from '../../pages/adf/content-services/breadcrumb/bread-crumb-dropdown.page';
|
||||
import { InfinitePaginationPage } from '../../pages/adf/core/infinite-pagination.page';
|
||||
import { FolderModel } from '../../models/ACS/folder.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Document List Component - Actions', () => {
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { browser } from 'protractor';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UploadActions, ViewerPage } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UploadActions, UsersActions, ViewerPage } from '@alfresco/adf-testing';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import moment from 'moment-es6';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Document List Component', () => {
|
||||
|
||||
|
||||
@@ -17,17 +17,20 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import {
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
StringUtil,
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
ContentNodeSelectorDialogPage,
|
||||
NotificationHistoryPage, BrowserActions, ApiService, UserModel
|
||||
LoginSSOPage,
|
||||
NotificationHistoryPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Document List Component', () => {
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { browser } from 'protractor';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UploadActions } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UploadActions, UsersActions } from '@alfresco/adf-testing';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Document List Component', () => {
|
||||
|
||||
|
||||
@@ -16,14 +16,16 @@
|
||||
*/
|
||||
|
||||
import {
|
||||
ApiService,
|
||||
ArrayUtil,
|
||||
StringUtil,
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
PaginationPage,
|
||||
LocalStorageUtil,
|
||||
FileBrowserUtil,
|
||||
ApiService, UserModel
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
PaginationPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
@@ -31,7 +33,6 @@ import { FolderModel } from '../../models/ACS/folder.model';
|
||||
import { browser } from 'protractor';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Document List - Pagination', () => {
|
||||
const pagination = {
|
||||
|
||||
@@ -18,8 +18,7 @@
|
||||
import { browser } from 'protractor';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { LoginSSOPage, ErrorPage, StringUtil, BrowserActions, ApiService } from '@alfresco/adf-testing';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
import { ApiService, BrowserActions, ErrorPage, LoginSSOPage, StringUtil, UsersActions } from '@alfresco/adf-testing';
|
||||
|
||||
describe('Document List Component', () => {
|
||||
|
||||
|
||||
@@ -15,12 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, DropActions, LoginSSOPage, UploadActions } from '@alfresco/adf-testing';
|
||||
import { ApiService, DropActions, LoginSSOPage, UploadActions, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { browser } from 'protractor';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Document List Component - Properties', () => {
|
||||
|
||||
|
||||
@@ -15,14 +15,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, LoginSSOPage, PaginationPage, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, PaginationPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { FolderModel } from '../../models/ACS/folder.model';
|
||||
import { browser } from 'protractor';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Document List - Selection', () => {
|
||||
const loginPage = new LoginSSOPage();
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { browser } from 'protractor';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UploadActions } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UploadActions, UsersActions } from '@alfresco/adf-testing';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Document List Component', () => {
|
||||
|
||||
|
||||
@@ -15,14 +15,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, UploadActions, StringUtil, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UploadActions, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
||||
import { LockFilePage } from '../pages/adf/lock-file.page';
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Lock File', () => {
|
||||
|
||||
|
||||
@@ -16,19 +16,20 @@
|
||||
*/
|
||||
|
||||
import {
|
||||
ApiService,
|
||||
CheckboxPage,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
LocalStorageUtil,
|
||||
ViewerPage,
|
||||
ApiService, UserModel
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Aspect oriented config', () => {
|
||||
|
||||
|
||||
@@ -15,13 +15,20 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, UploadActions, StringUtil, ViewerPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('permissions', () => {
|
||||
|
||||
|
||||
@@ -15,13 +15,20 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, CheckboxPage, LoginSSOPage, UploadActions, UserModel, ViewerPage } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
CheckboxPage,
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('CardView Component - properties', () => {
|
||||
|
||||
|
||||
@@ -16,20 +16,22 @@
|
||||
*/
|
||||
|
||||
import {
|
||||
LoginSSOPage,
|
||||
LocalStorageUtil,
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
ViewerPage,
|
||||
StringUtil, ApiService, UserModel
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import moment = require('moment');
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
import moment = require('moment');
|
||||
|
||||
describe('Metadata component', () => {
|
||||
|
||||
|
||||
@@ -19,20 +19,21 @@ import { PermissionsPage } from '../../pages/adf/permissions.page';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import {
|
||||
StringUtil,
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
NotificationHistoryPage,
|
||||
LoginSSOPage,
|
||||
NotificationHistoryPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
ViewerPage,
|
||||
ApiService, UserModel
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { FolderModel } from '../../models/ACS/folder.model';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Permissions Component', () => {
|
||||
|
||||
|
||||
@@ -17,22 +17,24 @@
|
||||
|
||||
import { PermissionsPage } from '../../pages/adf/permissions.page';
|
||||
import {
|
||||
LoginSSOPage,
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
UploadActions,
|
||||
StringUtil,
|
||||
LoginSSOPage,
|
||||
NotificationHistoryPage,
|
||||
ViewerPage, ApiService, UserModel
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
|
||||
describe('Permissions Component', () => {
|
||||
|
||||
|
||||
@@ -16,12 +16,16 @@
|
||||
*/
|
||||
|
||||
import {
|
||||
LoginSSOPage,
|
||||
ApiService,
|
||||
ApiUtil,
|
||||
BrowserActions,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
NotificationHistoryPage,
|
||||
UploadActions,
|
||||
ViewerPage, ApiUtil, ApiService, UserModel
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
@@ -30,7 +34,6 @@ import { FileModel } from '../../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import { SharedLinkEntry, SharedLinkPaging } from '@alfresco/js-api';
|
||||
import { CustomSourcesPage } from '../../pages/adf/demo-shell/custom-sources.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Share file', () => {
|
||||
|
||||
|
||||
@@ -17,19 +17,21 @@
|
||||
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
import {
|
||||
StringUtil,
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
NotificationHistoryPage,
|
||||
LoginSSOPage,
|
||||
ErrorPage,
|
||||
UploadActions, ApiService, UserModel
|
||||
LoginSSOPage,
|
||||
NotificationHistoryPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { ShareDialogPage } from '../../pages/adf/dialog/share-dialog.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Unshare file', () => {
|
||||
|
||||
|
||||
@@ -15,12 +15,19 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, LikePage, RatePage, UploadActions, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LikePage,
|
||||
LoginSSOPage,
|
||||
RatePage,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { SocialPage } from '../../pages/adf/demo-shell/social.page';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Social component', () => {
|
||||
|
||||
|
||||
@@ -20,16 +20,16 @@ import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
FileBrowserUtil,
|
||||
IdentityService,
|
||||
LoginSSOPage,
|
||||
SettingsPage,
|
||||
StringUtil,
|
||||
FileBrowserUtil,
|
||||
UploadActions,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('SSO in ADF using ACS and AIS, Download Directive, Viewer, DocumentList, implicitFlow true', () => {
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
*/
|
||||
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import { LoginSSOPage, UploadActions, StringUtil, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UploadActions, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { TagPage } from '../pages/adf/tag.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Tag component', () => {
|
||||
|
||||
|
||||
@@ -15,12 +15,19 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { StringUtil, LoginSSOPage, PaginationPage, UploadActions, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
PaginationPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { FolderModel } from '../models/ACS/folder.model';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { TrashcanPage } from '../pages/adf/trashcan.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Trashcan - Pagination', () => {
|
||||
const pagination = {
|
||||
|
||||
@@ -15,11 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, LoginSSOPage, UploadActions, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UploadActions, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { TreeViewPage } from '../pages/adf/content-services/tree-view.page';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Tree View Component', () => {
|
||||
|
||||
|
||||
@@ -16,12 +16,11 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { ApiService, LoginSSOPage, UploadActions, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UploadActions, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Upload component', async () => {
|
||||
|
||||
|
||||
@@ -15,15 +15,21 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { element, by, browser } from 'protractor';
|
||||
import { DropActions, LoginSSOPage, LocalStorageUtil, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import { browser, by, element } from 'protractor';
|
||||
import {
|
||||
ApiService,
|
||||
DropActions,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { FolderModel } from '../../models/ACS/folder.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Upload component - Excluded Files', () => {
|
||||
|
||||
|
||||
@@ -15,7 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, BrowserActions, LoginSSOPage, UploadActions, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.page';
|
||||
@@ -23,7 +30,6 @@ import { FileModel } from '../../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||
import { FolderModel } from '../../models/ACS/folder.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Upload component', () => {
|
||||
|
||||
|
||||
@@ -15,15 +15,22 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { element, by, browser } from 'protractor';
|
||||
import { browser, by, element } from 'protractor';
|
||||
|
||||
import { DropActions, LoginSSOPage, UploadActions, StringUtil, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
DropActions,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Upload component', () => {
|
||||
|
||||
|
||||
@@ -16,13 +16,12 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { StringUtil, LoginSSOPage, NotificationHistoryPage, ApiService } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, NotificationHistoryPage, StringUtil, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Upload - User permission', () => {
|
||||
|
||||
|
||||
@@ -21,7 +21,9 @@ import {
|
||||
BrowserVisibility,
|
||||
FileBrowserUtil,
|
||||
LoginSSOPage,
|
||||
UploadActions, UserModel
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser, by, element } from 'protractor';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
@@ -29,7 +31,6 @@ import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Version component actions', () => {
|
||||
|
||||
|
||||
@@ -15,14 +15,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { element, by, browser } from 'protractor';
|
||||
import { browser, by, element } from 'protractor';
|
||||
import {
|
||||
LoginSSOPage,
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
UploadActions,
|
||||
StringUtil,
|
||||
LoginSSOPage,
|
||||
NotificationHistoryPage,
|
||||
ApiService, UserModel
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||
@@ -30,7 +32,6 @@ import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Version component permissions', () => {
|
||||
|
||||
|
||||
@@ -15,20 +15,20 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { by, element, browser } from 'protractor';
|
||||
import { browser, by, element } from 'protractor';
|
||||
import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
BrowserVisibility,
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
BrowserVisibility,
|
||||
BrowserActions,
|
||||
ApiService,
|
||||
UserModel
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Version Properties', () => {
|
||||
|
||||
|
||||
@@ -17,18 +17,18 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
BrowserVisibility,
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
BrowserVisibility,
|
||||
BrowserActions,
|
||||
ApiService,
|
||||
UserModel
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Version component', () => {
|
||||
|
||||
|
||||
@@ -15,11 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, DataTableComponentPage, LoginSSOPage, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, DataTableComponentPage, LoginSSOPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { DataTablePage } from '../../pages/adf/demo-shell/data-table.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Datatable component - selection', () => {
|
||||
|
||||
|
||||
@@ -15,12 +15,18 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, DropActions, LoginSSOPage, NotificationHistoryPage, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
DropActions,
|
||||
LoginSSOPage,
|
||||
NotificationHistoryPage,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { DataTablePage } from '../../pages/adf/demo-shell/data-table.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Datatable component', () => {
|
||||
|
||||
|
||||
@@ -15,10 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, ErrorPage, BrowserActions, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, BrowserActions, ErrorPage, LoginSSOPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Error Component', () => {
|
||||
|
||||
|
||||
@@ -14,10 +14,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { ApiService, HeaderPage, LoginSSOPage, SettingsPage, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, HeaderPage, LoginSSOPage, SettingsPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Header Component', () => {
|
||||
|
||||
|
||||
@@ -15,11 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, LoginSSOPage, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { IconsPage } from '../pages/adf/icons.page';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Universal Icon component', () => {
|
||||
|
||||
|
||||
@@ -15,13 +15,20 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { StringUtil, LocalStorageUtil, LoginSSOPage, UploadActions, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { FolderModel } from '../models/ACS/folder.model';
|
||||
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
||||
import { InfinitePaginationPage } from '../pages/adf/core/infinite-pagination.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Enable infinite scrolling', () => {
|
||||
|
||||
|
||||
@@ -21,14 +21,14 @@ import {
|
||||
ErrorPage,
|
||||
LocalStorageUtil,
|
||||
UserInfoPage,
|
||||
UserModel
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { ProcessServicesPage } from '../../pages/adf/process-services/process-services.page';
|
||||
import { LoginPage } from '../../pages/adf/demo-shell/login.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Login component', () => {
|
||||
|
||||
|
||||
@@ -17,13 +17,19 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { SettingsPage, UploadActions, StringUtil, ApiService, LocalStorageUtil } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LocalStorageUtil,
|
||||
SettingsPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { ProcessServicesPage } from '../../pages/adf/process-services/process-services.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { LogoutPage } from '../../pages/adf/demo-shell/logout.page';
|
||||
import { LoginPage } from '../../pages/adf/demo-shell/login.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Login component - Redirect', () => {
|
||||
|
||||
|
||||
@@ -15,11 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, LoginSSOPage, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { NotificationDemoPage } from '../pages/adf/demo-shell/notification.page';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Notifications Component', () => {
|
||||
|
||||
|
||||
@@ -16,20 +16,20 @@
|
||||
*/
|
||||
|
||||
import {
|
||||
ApiService,
|
||||
ArrayUtil,
|
||||
StringUtil,
|
||||
LoginSSOPage,
|
||||
PaginationPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
ViewerPage,
|
||||
ApiService,
|
||||
UserModel
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import { FolderModel } from '../models/ACS/folder.model';
|
||||
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Pagination - returns to previous page when current is empty', () => {
|
||||
|
||||
|
||||
@@ -15,14 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
SettingsPage,
|
||||
UserInfoPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, SettingsPage, UserInfoPage, UsersActions } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('User Info - SSO', () => {
|
||||
|
||||
|
||||
@@ -16,9 +16,8 @@
|
||||
*/
|
||||
|
||||
import { PeopleApi } from '@alfresco/js-api';
|
||||
import { ApiService, LocalStorageUtil, LoginSSOPage, UserInfoPage } from '@alfresco/adf-testing';
|
||||
import { ApiService, LocalStorageUtil, LoginSSOPage, UserInfoPage, UsersActions } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import * as path from 'path';
|
||||
|
||||
@@ -16,12 +16,19 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage, UploadActions, StringUtil, ViewerPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||
import { NavigationBarPage } from '../../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../../actions/users.actions';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
|
||||
describe('Viewer', () => {
|
||||
|
||||
|
||||
@@ -16,13 +16,20 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage, UploadActions, StringUtil, ViewerPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
import { FileModel } from '../../../models/ACS/file.model';
|
||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||
import { NavigationBarPage } from '../../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../../actions/users.actions';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
|
||||
describe('Viewer', () => {
|
||||
|
||||
|
||||
@@ -16,11 +16,18 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UploadActions, ViewerPage, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||
import { UsersActions } from '../../../actions/users.actions';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
|
||||
describe('Viewer', () => {
|
||||
|
||||
|
||||
@@ -16,11 +16,18 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UploadActions, ViewerPage, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||
import { UsersActions } from '../../../actions/users.actions';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
|
||||
describe('Viewer', () => {
|
||||
|
||||
|
||||
@@ -15,12 +15,19 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, UploadActions, StringUtil, ViewerPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../../../actions/users.actions';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
|
||||
describe('Viewer', () => {
|
||||
|
||||
|
||||
@@ -16,11 +16,18 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage, UploadActions, StringUtil, ViewerPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||
import { UsersActions } from '../../../actions/users.actions';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
|
||||
describe('Viewer', () => {
|
||||
|
||||
|
||||
@@ -16,12 +16,19 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage, UploadActions, StringUtil, ViewerPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||
import { NavigationBarPage } from '../../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../../actions/users.actions';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
|
||||
describe('Viewer', () => {
|
||||
|
||||
|
||||
@@ -16,12 +16,19 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage, UploadActions, StringUtil, ViewerPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
|
||||
describe('Info Drawer', () => {
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { ApiService, LoginSSOPage, UploadActions, ViewerPage, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UploadActions, UserModel, UsersActions, ViewerPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Content Services Viewer', () => {
|
||||
const acsUser = new UserModel();
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { ApiService, LoginSSOPage, UploadActions, ViewerPage, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UploadActions, UserModel, UsersActions, ViewerPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Viewer', () => {
|
||||
|
||||
|
||||
@@ -16,11 +16,18 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage, UploadActions, DataTableComponentPage, ViewerPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
DataTableComponentPage,
|
||||
LoginSSOPage,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
|
||||
describe('Viewer - properties', () => {
|
||||
|
||||
|
||||
@@ -15,14 +15,22 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, UploadActions, StringUtil, BrowserActions, ViewerPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { ShareDialogPage } from '../../pages/adf/dialog/share-dialog.page';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
import { FileModel } from '../../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../../actions/users.actions';
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
|
||||
describe('Viewer', () => {
|
||||
|
||||
|
||||
@@ -15,13 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, LoginSSOPage, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { AnalyticsPage } from '../pages/adf/process-services/analytics.page';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Analytics Smoke Test', () => {
|
||||
|
||||
|
||||
@@ -14,9 +14,8 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { LoginSSOPage, AboutPage, ApiService } from '@alfresco/adf-testing';
|
||||
import { AboutPage, ApiService, LoginSSOPage, UsersActions } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
|
||||
describe('About Process Services', () => {
|
||||
|
||||
@@ -16,12 +16,11 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage, ApplicationsUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import { ApiService, ApplicationsUtil, LoginSSOPage, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { ModelsActions } from '../actions/APS/models.actions';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Modify applications', () => {
|
||||
|
||||
|
||||
@@ -20,15 +20,17 @@ import {
|
||||
ApplicationsUtil,
|
||||
ContentNodeSelectorDialogPage,
|
||||
ExternalNodeSelectorDialogPage,
|
||||
IntegrationService, LocalStorageUtil,
|
||||
IntegrationService,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
UploadActions, UserModel,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
Widget
|
||||
} from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Attach File - Content service', () => {
|
||||
|
||||
@@ -15,13 +15,20 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, Widget, ViewerPage, ApplicationsUtil, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
LoginSSOPage,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
ViewerPage,
|
||||
Widget
|
||||
} from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Start Task - Task App', () => {
|
||||
const app = browser.params.resources.Files.WIDGETS_SMOKE_TEST;
|
||||
|
||||
@@ -19,14 +19,16 @@ import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
ContentNodeSelectorDialogPage,
|
||||
IntegrationService, LocalStorageUtil,
|
||||
LoginSSOPage, UserModel,
|
||||
IntegrationService,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
Widget
|
||||
} from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Attach Folder', () => {
|
||||
|
||||
@@ -15,15 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormFields, LoginSSOPage, ApplicationsUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import { ApiService, ApplicationsUtil, FormFields, LoginSSOPage, UsersActions } from '@alfresco/adf-testing';
|
||||
import { browser, by } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { AttachFormPage } from '../pages/adf/process-services/attach-form.page';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import { TaskDetailsPage } from '../pages/adf/process-services/task-details.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Attach Form Component', () => {
|
||||
const app = browser.params.resources.Files.SIMPLE_APP_WITH_USER_FORM;
|
||||
|
||||
@@ -15,17 +15,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UsersActions } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||
import { ChecklistDialog } from '../pages/adf/process-services/dialog/create-checklist-dialog.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Checklist component', () => {
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage, ApplicationsUtil, ProcessUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import { ApiService, ApplicationsUtil, LoginSSOPage, ProcessUtil, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
import { CommentsPage } from '../pages/adf/comments.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Comment component for Processes', () => {
|
||||
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginSSOPage, ApplicationsUtil, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, ApplicationsUtil, LoginSSOPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import { CommentsPage } from '../pages/adf/comments.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Comment component for Processes', () => {
|
||||
|
||||
|
||||
@@ -17,11 +17,10 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginSSOPage, ApplicationsUtil, ProcessUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import { ApiService, ApplicationsUtil, LoginSSOPage, ProcessUtil, UsersActions } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
import { FiltersPage } from '../pages/adf/process-services/filters.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Sorting for process filters', () => {
|
||||
|
||||
|
||||
@@ -17,14 +17,12 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { ApiService, LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { AppSettingsTogglesPage } from '../pages/adf/process-services/dialog/app-settings-toggles.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('New Process Filters', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
|
||||
@@ -16,21 +16,21 @@
|
||||
*/
|
||||
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
ArrayUtil,
|
||||
DateUtil,
|
||||
LoginSSOPage,
|
||||
PaginationPage,
|
||||
ApplicationsUtil,
|
||||
ProcessUtil,
|
||||
ApiService
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { AppsRuntimeActions } from '../actions/APS/apps-runtime.actions';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { TaskListDemoPage } from '../pages/adf/demo-shell/process-services/task-list-demo.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import moment = require('moment');
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
import moment = require('moment');
|
||||
|
||||
describe('Start Task - Custom App', () => {
|
||||
|
||||
|
||||
@@ -16,18 +16,18 @@
|
||||
*/
|
||||
|
||||
import {
|
||||
LoginSSOPage,
|
||||
Widget,
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
DatePickerCalendarPage,
|
||||
DateUtil,
|
||||
ApplicationsUtil,
|
||||
ApiService
|
||||
LoginSSOPage,
|
||||
UsersActions,
|
||||
Widget
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Dynamic Table', () => {
|
||||
|
||||
|
||||
@@ -16,13 +16,12 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage, ApplicationsUtil, StartProcessPage, ApiService } from '@alfresco/adf-testing';
|
||||
import { ApiService, ApplicationsUtil, LoginSSOPage, StartProcessPage, UsersActions } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Empty Process List Test', () => {
|
||||
|
||||
|
||||
@@ -15,10 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, Widget, FormPage, ApiService } from '@alfresco/adf-testing';
|
||||
import { ApiService, FormPage, LoginSSOPage, UsersActions, Widget } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Form Component', () => {
|
||||
|
||||
|
||||
@@ -15,12 +15,18 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, Widget, ApplicationsUtil, StartProcessPage, ApiService } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
LoginSSOPage,
|
||||
StartProcessPage,
|
||||
UsersActions,
|
||||
Widget
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||
import { TaskDetailsPage } from '../pages/adf/process-services/task-details.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { browser } from 'protractor';
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
|
||||
|
||||
@@ -15,13 +15,20 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, BrowserActions, Widget, ApplicationsUtil, ProcessUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
BrowserActions,
|
||||
LoginSSOPage,
|
||||
ProcessUtil,
|
||||
UsersActions,
|
||||
Widget
|
||||
} from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import FormDefinitionModel = require('../models/APS/FormDefinitionModel');
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import FormDefinitionModel = require('../models/APS/FormDefinitionModel');
|
||||
|
||||
const formInstance = new FormDefinitionModel();
|
||||
|
||||
|
||||
@@ -16,24 +16,25 @@
|
||||
*/
|
||||
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
BrowserActions,
|
||||
BrowserVisibility,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
StringUtil,
|
||||
ApplicationsUtil,
|
||||
ApiService, UserModel
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { AppDefinitionRepresentation } from '@alfresco/js-api';
|
||||
import { browser, by, element } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import moment = require('moment');
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
import { infoDrawerConfiguration } from './config/task.config';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import moment = require('moment');
|
||||
|
||||
describe('Info Drawer', () => {
|
||||
|
||||
|
||||
@@ -15,9 +15,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, PaginationPage, ApplicationsUtil, ProcessUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
LoginSSOPage,
|
||||
PaginationPage,
|
||||
ProcessUtil,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
|
||||
@@ -15,9 +15,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, PaginationPage, ApplicationsUtil, ProcessUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
LoginSSOPage,
|
||||
PaginationPage,
|
||||
ProcessUtil,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
@@ -15,16 +15,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, LoginSSOPage, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('People component', () => {
|
||||
|
||||
|
||||
@@ -16,18 +16,18 @@
|
||||
*/
|
||||
|
||||
import {
|
||||
LoginSSOPage,
|
||||
FileBrowserUtil,
|
||||
ViewerPage,
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
FileBrowserUtil,
|
||||
LoginSSOPage,
|
||||
ProcessUtil,
|
||||
ApiService
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import { browser } from 'protractor';
|
||||
|
||||
|
||||
@@ -15,16 +15,21 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, BrowserActions, ApplicationsUtil, StartProcessPage, ApiService } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
BrowserActions,
|
||||
LoginSSOPage,
|
||||
StartProcessPage,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
||||
|
||||
import { UserProcessInstanceFilterRepresentation } from '@alfresco/js-api';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { browser } from 'protractor';
|
||||
import { ProcessListDemoPage } from '../pages/adf/demo-shell/process-services/process-list-demo.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
@@ -16,9 +16,8 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { ApiService, ApplicationsUtil, LoginSSOPage, ProcessUtil, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||
import { LoginSSOPage, ApplicationsUtil, ProcessUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
||||
|
||||
@@ -15,10 +15,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, BrowserActions, ProcessUtil, ApiService, ApplicationsUtil } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
BrowserActions,
|
||||
LoginSSOPage,
|
||||
ProcessUtil,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { ProcessListDemoPage } from '../pages/adf/demo-shell/process-services/process-list-demo.page';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
describe('Process List Test', () => {
|
||||
|
||||
|
||||
@@ -15,9 +15,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, PaginationPage, ApplicationsUtil, ProcessUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
LoginSSOPage,
|
||||
PaginationPage,
|
||||
ProcessUtil,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||
|
||||
@@ -15,13 +15,19 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { StringUtil, LoginSSOPage, PaginationPage, ApplicationsUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
LoginSSOPage,
|
||||
PaginationPage,
|
||||
StringUtil,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Task List Pagination - Sorting', () => {
|
||||
|
||||
|
||||
@@ -17,14 +17,13 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { ApiService, LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, UsersActions } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import Task = require('../models/APS/Task');
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import Task = require('../models/APS/Task');
|
||||
|
||||
describe('Start Task - Task App', () => {
|
||||
|
||||
|
||||
@@ -17,13 +17,18 @@
|
||||
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import {
|
||||
FileBrowserUtil,
|
||||
LoginSSOPage, SelectAppsDialog,
|
||||
ProcessInstanceTasksPage,
|
||||
StringUtil,
|
||||
Widget,
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
StartProcessPage, ApiService, UserModel, LocalStorageUtil
|
||||
FileBrowserUtil,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
ProcessInstanceTasksPage,
|
||||
SelectAppsDialog,
|
||||
StartProcessPage,
|
||||
StringUtil,
|
||||
UserModel,
|
||||
UsersActions,
|
||||
Widget
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
@@ -34,7 +39,6 @@ import { ProcessFiltersPage } from '../pages/adf/process-services/process-filter
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { UploadDialogPage } from '../pages/adf/dialog/upload-dialog.page';
|
||||
|
||||
describe('Start Process Component', () => {
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage, ApplicationsUtil, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, ApplicationsUtil, LoginSSOPage, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { browser, by } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
||||
|
||||
@@ -15,19 +15,18 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, LoginSSOPage, StringUtil, UserModel } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, StringUtil, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { browser, by } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
||||
import { ChecklistDialog } from '../pages/adf/process-services/dialog/create-checklist-dialog.page';
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Start Task - Task App', () => {
|
||||
|
||||
|
||||
@@ -15,8 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { LoginSSOPage, ApplicationsUtil, StartProcessPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
LoginSSOPage,
|
||||
StartProcessPage,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
|
||||
@@ -16,12 +16,13 @@
|
||||
*/
|
||||
|
||||
import {
|
||||
LoginSSOPage,
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
LoginSSOPage,
|
||||
ProcessUtil,
|
||||
StartProcessPage,
|
||||
ApiService,
|
||||
UserModel
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||
@@ -29,7 +30,6 @@ import { ProcessFiltersPage } from '../pages/adf/process-services/process-filter
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { browser } from 'protractor';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
@@ -16,16 +16,22 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage, FileBrowserUtil, ViewerPage, ApplicationsUtil, ApiService } from '@alfresco/adf-testing';
|
||||
import {
|
||||
ApiService,
|
||||
ApplicationsUtil,
|
||||
FileBrowserUtil,
|
||||
LoginSSOPage,
|
||||
UsersActions,
|
||||
ViewerPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
|
||||
describe('Attachment list action menu for tasks', () => {
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user