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
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('About Content Services', () => {
|
describe('About Content Services', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,14 +15,21 @@
|
|||||||
* limitations under the License.
|
* 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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { CommentsPage } from '../../pages/adf/comments.page';
|
import { CommentsPage } from '../../pages/adf/comments.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import CONSTANTS = require('../../util/constants');
|
import CONSTANTS = require('../../util/constants');
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Comment Component', () => {
|
describe('Comment Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,13 +15,19 @@
|
|||||||
* limitations under the License.
|
* 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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { FolderDialogPage } from '../../pages/adf/dialog/folder-dialog.page';
|
import { FolderDialogPage } from '../../pages/adf/dialog/folder-dialog.page';
|
||||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||||
import { browser, Key } from 'protractor';
|
import { browser, Key } from 'protractor';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Create folder directive', () => {
|
describe('Create folder directive', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,13 +15,12 @@
|
|||||||
* limitations under the License.
|
* 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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { CreateLibraryDialogPage } from '../../pages/adf/dialog/create-library-dialog.page';
|
import { CreateLibraryDialogPage } from '../../pages/adf/dialog/create-library-dialog.page';
|
||||||
import { CustomSourcesPage } from '../../pages/adf/demo-shell/custom-sources.page';
|
import { CustomSourcesPage } from '../../pages/adf/demo-shell/custom-sources.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Create library directive', () => {
|
describe('Create library directive', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -18,17 +18,18 @@
|
|||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import {
|
import {
|
||||||
|
ApiService,
|
||||||
BrowserActions,
|
BrowserActions,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
UploadActions,
|
|
||||||
PaginationPage,
|
PaginationPage,
|
||||||
StringUtil,
|
|
||||||
PermissionActions,
|
PermissionActions,
|
||||||
ApiService, UserModel
|
StringUtil,
|
||||||
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { FolderModel } from '../../models/ACS/folder.model';
|
import { FolderModel } from '../../models/ACS/folder.model';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Delete Directive', () => {
|
describe('Delete Directive', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -18,17 +18,17 @@
|
|||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import {
|
import {
|
||||||
LoginSSOPage,
|
ApiService,
|
||||||
UploadActions,
|
|
||||||
BrowserVisibility,
|
BrowserVisibility,
|
||||||
FileBrowserUtil,
|
FileBrowserUtil,
|
||||||
ApiService,
|
LoginSSOPage,
|
||||||
UserModel
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { FolderModel } from '../../models/ACS/folder.model';
|
import { FolderModel } from '../../models/ACS/folder.model';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Version component actions', () => {
|
describe('Version component actions', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -21,14 +21,15 @@ import {
|
|||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
NotificationHistoryPage,
|
NotificationHistoryPage,
|
||||||
StringUtil,
|
StringUtil,
|
||||||
UploadActions, UserModel
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { FolderDialogPage } from '../../pages/adf/dialog/folder-dialog.page';
|
import { FolderDialogPage } from '../../pages/adf/dialog/folder-dialog.page';
|
||||||
import { browser, protractor } from 'protractor';
|
import { browser, protractor } from 'protractor';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Edit folder directive', () => {
|
describe('Edit folder directive', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,9 @@ import {
|
|||||||
ContentNodeSelectorDialogPage,
|
ContentNodeSelectorDialogPage,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
StringUtil,
|
StringUtil,
|
||||||
UploadActions, UserModel
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
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 { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { CustomSourcesPage } from '../../pages/adf/demo-shell/custom-sources.page';
|
import { CustomSourcesPage } from '../../pages/adf/demo-shell/custom-sources.page';
|
||||||
import { TrashcanPage } from '../../pages/adf/trashcan.page';
|
import { TrashcanPage } from '../../pages/adf/trashcan.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Favorite directive', () => {
|
describe('Favorite directive', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -22,15 +22,16 @@ import { FileModel } from '../../models/ACS/file.model';
|
|||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { TrashcanPage } from '../../pages/adf/trashcan.page';
|
import { TrashcanPage } from '../../pages/adf/trashcan.page';
|
||||||
import {
|
import {
|
||||||
|
ApiService,
|
||||||
|
BreadcrumbPage,
|
||||||
|
BrowserActions,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
NotificationHistoryPage,
|
NotificationHistoryPage,
|
||||||
StringUtil,
|
StringUtil,
|
||||||
UploadActions,
|
UploadActions,
|
||||||
BrowserActions,
|
UserModel,
|
||||||
BreadcrumbPage,
|
UsersActions
|
||||||
ApiService, UserModel
|
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Restore content directive', () => {
|
describe('Restore content directive', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,13 +17,16 @@
|
|||||||
|
|
||||||
import { browser, by, element } from 'protractor';
|
import { browser, by, element } from 'protractor';
|
||||||
import {
|
import {
|
||||||
|
ApiService,
|
||||||
BreadcrumbPage,
|
BreadcrumbPage,
|
||||||
|
ContentNodeSelectorDialogPage,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
PaginationPage,
|
PaginationPage,
|
||||||
UploadActions,
|
|
||||||
StringUtil,
|
StringUtil,
|
||||||
ContentNodeSelectorDialogPage,
|
UploadActions,
|
||||||
ViewerPage, ApiService, UserModel
|
UserModel,
|
||||||
|
UsersActions,
|
||||||
|
ViewerPage
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.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 { BreadCrumbDropdownPage } from '../../pages/adf/content-services/breadcrumb/bread-crumb-dropdown.page';
|
||||||
import { InfinitePaginationPage } from '../../pages/adf/core/infinite-pagination.page';
|
import { InfinitePaginationPage } from '../../pages/adf/core/infinite-pagination.page';
|
||||||
import { FolderModel } from '../../models/ACS/folder.model';
|
import { FolderModel } from '../../models/ACS/folder.model';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Document List Component - Actions', () => {
|
describe('Document List Component - Actions', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,10 +17,9 @@
|
|||||||
|
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { browser } from 'protractor';
|
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 { FileModel } from '../../models/ACS/file.model';
|
||||||
import moment from 'moment-es6';
|
import moment from 'moment-es6';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Document List Component', () => {
|
describe('Document List Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,17 +17,20 @@
|
|||||||
|
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import {
|
import {
|
||||||
LoginSSOPage,
|
ApiService,
|
||||||
UploadActions,
|
BrowserActions,
|
||||||
StringUtil,
|
|
||||||
ContentNodeSelectorDialogPage,
|
ContentNodeSelectorDialogPage,
|
||||||
NotificationHistoryPage, BrowserActions, ApiService, UserModel
|
LoginSSOPage,
|
||||||
|
NotificationHistoryPage,
|
||||||
|
StringUtil,
|
||||||
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import CONSTANTS = require('../../util/constants');
|
import CONSTANTS = require('../../util/constants');
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Document List Component', () => {
|
describe('Document List Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,10 +17,9 @@
|
|||||||
|
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { browser } from 'protractor';
|
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 { FileModel } from '../../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Document List Component', () => {
|
describe('Document List Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,14 +16,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
ApiService,
|
||||||
ArrayUtil,
|
ArrayUtil,
|
||||||
StringUtil,
|
|
||||||
LoginSSOPage,
|
|
||||||
UploadActions,
|
|
||||||
PaginationPage,
|
|
||||||
LocalStorageUtil,
|
|
||||||
FileBrowserUtil,
|
FileBrowserUtil,
|
||||||
ApiService, UserModel
|
LocalStorageUtil,
|
||||||
|
LoginSSOPage,
|
||||||
|
PaginationPage,
|
||||||
|
StringUtil,
|
||||||
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.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 { browser } from 'protractor';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Document List - Pagination', () => {
|
describe('Document List - Pagination', () => {
|
||||||
const pagination = {
|
const pagination = {
|
||||||
|
|||||||
@@ -18,8 +18,7 @@
|
|||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { LoginSSOPage, ErrorPage, StringUtil, BrowserActions, ApiService } from '@alfresco/adf-testing';
|
import { ApiService, BrowserActions, ErrorPage, LoginSSOPage, StringUtil, UsersActions } from '@alfresco/adf-testing';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Document List Component', () => {
|
describe('Document List Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,12 +15,11 @@
|
|||||||
* limitations under the License.
|
* 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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Document List Component - Properties', () => {
|
describe('Document List Component - Properties', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,14 +15,13 @@
|
|||||||
* limitations under the License.
|
* 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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { FolderModel } from '../../models/ACS/folder.model';
|
import { FolderModel } from '../../models/ACS/folder.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Document List - Selection', () => {
|
describe('Document List - Selection', () => {
|
||||||
const loginPage = new LoginSSOPage();
|
const loginPage = new LoginSSOPage();
|
||||||
|
|||||||
@@ -17,10 +17,9 @@
|
|||||||
|
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { browser } from 'protractor';
|
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 { FileModel } from '../../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Document List Component', () => {
|
describe('Document List Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,14 +15,13 @@
|
|||||||
* limitations under the License.
|
* 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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
||||||
import { LockFilePage } from '../pages/adf/lock-file.page';
|
import { LockFilePage } from '../pages/adf/lock-file.page';
|
||||||
import { FileModel } from '../models/ACS/file.model';
|
import { FileModel } from '../models/ACS/file.model';
|
||||||
import CONSTANTS = require('../util/constants');
|
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Lock File', () => {
|
describe('Lock File', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,19 +16,20 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
ApiService,
|
||||||
CheckboxPage,
|
CheckboxPage,
|
||||||
|
LocalStorageUtil,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
UploadActions,
|
UploadActions,
|
||||||
LocalStorageUtil,
|
UserModel,
|
||||||
ViewerPage,
|
UsersActions,
|
||||||
ApiService, UserModel
|
ViewerPage
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Aspect oriented config', () => {
|
describe('Aspect oriented config', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,13 +15,20 @@
|
|||||||
* limitations under the License.
|
* 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 { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import CONSTANTS = require('../../util/constants');
|
import CONSTANTS = require('../../util/constants');
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('permissions', () => {
|
describe('permissions', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,13 +15,20 @@
|
|||||||
* limitations under the License.
|
* 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 { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('CardView Component - properties', () => {
|
describe('CardView Component - properties', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,20 +16,22 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
LoginSSOPage,
|
ApiService,
|
||||||
LocalStorageUtil,
|
|
||||||
BrowserActions,
|
BrowserActions,
|
||||||
|
LocalStorageUtil,
|
||||||
|
LoginSSOPage,
|
||||||
|
StringUtil,
|
||||||
UploadActions,
|
UploadActions,
|
||||||
ViewerPage,
|
UserModel,
|
||||||
StringUtil, ApiService, UserModel
|
UsersActions,
|
||||||
|
ViewerPage
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import moment = require('moment');
|
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
import moment = require('moment');
|
||||||
|
|
||||||
describe('Metadata component', () => {
|
describe('Metadata component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -19,20 +19,21 @@ import { PermissionsPage } from '../../pages/adf/permissions.page';
|
|||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import {
|
import {
|
||||||
StringUtil,
|
ApiService,
|
||||||
BrowserActions,
|
BrowserActions,
|
||||||
NotificationHistoryPage,
|
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
|
NotificationHistoryPage,
|
||||||
|
StringUtil,
|
||||||
UploadActions,
|
UploadActions,
|
||||||
ViewerPage,
|
UserModel,
|
||||||
ApiService, UserModel
|
UsersActions,
|
||||||
|
ViewerPage
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { FolderModel } from '../../models/ACS/folder.model';
|
import { FolderModel } from '../../models/ACS/folder.model';
|
||||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Permissions Component', () => {
|
describe('Permissions Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,22 +17,24 @@
|
|||||||
|
|
||||||
import { PermissionsPage } from '../../pages/adf/permissions.page';
|
import { PermissionsPage } from '../../pages/adf/permissions.page';
|
||||||
import {
|
import {
|
||||||
LoginSSOPage,
|
ApiService,
|
||||||
BrowserActions,
|
BrowserActions,
|
||||||
UploadActions,
|
LoginSSOPage,
|
||||||
StringUtil,
|
|
||||||
NotificationHistoryPage,
|
NotificationHistoryPage,
|
||||||
ViewerPage, ApiService, UserModel
|
StringUtil,
|
||||||
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions,
|
||||||
|
ViewerPage
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import CONSTANTS = require('../../util/constants');
|
|
||||||
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
import { MetadataViewPage } from '../../pages/adf/metadata-view.page';
|
||||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
import CONSTANTS = require('../../util/constants');
|
||||||
|
|
||||||
describe('Permissions Component', () => {
|
describe('Permissions Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,12 +16,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
LoginSSOPage,
|
ApiService,
|
||||||
|
ApiUtil,
|
||||||
BrowserActions,
|
BrowserActions,
|
||||||
LocalStorageUtil,
|
LocalStorageUtil,
|
||||||
|
LoginSSOPage,
|
||||||
NotificationHistoryPage,
|
NotificationHistoryPage,
|
||||||
UploadActions,
|
UploadActions,
|
||||||
ViewerPage, ApiUtil, ApiService, UserModel
|
UserModel,
|
||||||
|
UsersActions,
|
||||||
|
ViewerPage
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.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 { browser } from 'protractor';
|
||||||
import { SharedLinkEntry, SharedLinkPaging } from '@alfresco/js-api';
|
import { SharedLinkEntry, SharedLinkPaging } from '@alfresco/js-api';
|
||||||
import { CustomSourcesPage } from '../../pages/adf/demo-shell/custom-sources.page';
|
import { CustomSourcesPage } from '../../pages/adf/demo-shell/custom-sources.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Share file', () => {
|
describe('Share file', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,19 +17,21 @@
|
|||||||
|
|
||||||
import CONSTANTS = require('../../util/constants');
|
import CONSTANTS = require('../../util/constants');
|
||||||
import {
|
import {
|
||||||
StringUtil,
|
ApiService,
|
||||||
BrowserActions,
|
BrowserActions,
|
||||||
NotificationHistoryPage,
|
|
||||||
LoginSSOPage,
|
|
||||||
ErrorPage,
|
ErrorPage,
|
||||||
UploadActions, ApiService, UserModel
|
LoginSSOPage,
|
||||||
|
NotificationHistoryPage,
|
||||||
|
StringUtil,
|
||||||
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { ShareDialogPage } from '../../pages/adf/dialog/share-dialog.page';
|
import { ShareDialogPage } from '../../pages/adf/dialog/share-dialog.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Unshare file', () => {
|
describe('Unshare file', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,12 +15,19 @@
|
|||||||
* limitations under the License.
|
* 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 { FileModel } from '../../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { SocialPage } from '../../pages/adf/demo-shell/social.page';
|
import { SocialPage } from '../../pages/adf/demo-shell/social.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Social component', () => {
|
describe('Social component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -20,16 +20,16 @@ import { browser } from 'protractor';
|
|||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import {
|
import {
|
||||||
ApiService,
|
ApiService,
|
||||||
LoginSSOPage,
|
FileBrowserUtil,
|
||||||
UploadActions,
|
|
||||||
IdentityService,
|
IdentityService,
|
||||||
|
LoginSSOPage,
|
||||||
SettingsPage,
|
SettingsPage,
|
||||||
StringUtil,
|
StringUtil,
|
||||||
FileBrowserUtil,
|
UploadActions,
|
||||||
|
UsersActions,
|
||||||
ViewerPage
|
ViewerPage
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
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', () => {
|
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 { 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 { TagPage } from '../pages/adf/tag.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Tag component', () => {
|
describe('Tag component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,12 +15,19 @@
|
|||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { FolderModel } from '../models/ACS/folder.model';
|
import { FolderModel } from '../models/ACS/folder.model';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { TrashcanPage } from '../pages/adf/trashcan.page';
|
import { TrashcanPage } from '../pages/adf/trashcan.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Trashcan - Pagination', () => {
|
describe('Trashcan - Pagination', () => {
|
||||||
const pagination = {
|
const pagination = {
|
||||||
|
|||||||
@@ -15,11 +15,10 @@
|
|||||||
* limitations under the License.
|
* 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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { TreeViewPage } from '../pages/adf/content-services/tree-view.page';
|
import { TreeViewPage } from '../pages/adf/content-services/tree-view.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Tree View Component', () => {
|
describe('Tree View Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,12 +16,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||||
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.page';
|
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Upload component', async () => {
|
describe('Upload component', async () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,15 +15,21 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { element, by, browser } from 'protractor';
|
import { browser, by, element } from 'protractor';
|
||||||
import { DropActions, LoginSSOPage, LocalStorageUtil, ApiService, UserModel } from '@alfresco/adf-testing';
|
import {
|
||||||
|
ApiService,
|
||||||
|
DropActions,
|
||||||
|
LocalStorageUtil,
|
||||||
|
LoginSSOPage,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||||
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.page';
|
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { FolderModel } from '../../models/ACS/folder.model';
|
import { FolderModel } from '../../models/ACS/folder.model';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Upload component - Excluded Files', () => {
|
describe('Upload component - Excluded Files', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,14 @@
|
|||||||
* limitations under the License.
|
* 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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||||
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.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 { browser } from 'protractor';
|
||||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||||
import { FolderModel } from '../../models/ACS/folder.model';
|
import { FolderModel } from '../../models/ACS/folder.model';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Upload component', () => {
|
describe('Upload component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,15 +15,22 @@
|
|||||||
* limitations under the License.
|
* 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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||||
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.page';
|
import { UploadTogglesPage } from '../../pages/adf/dialog/upload-toggles.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Upload component', () => {
|
describe('Upload component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,13 +16,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
import { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import CONSTANTS = require('../../util/constants');
|
import CONSTANTS = require('../../util/constants');
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Upload - User permission', () => {
|
describe('Upload - User permission', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,9 @@ import {
|
|||||||
BrowserVisibility,
|
BrowserVisibility,
|
||||||
FileBrowserUtil,
|
FileBrowserUtil,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
UploadActions, UserModel
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { browser, by, element } from 'protractor';
|
import { browser, by, element } from 'protractor';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
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 { UploadDialogPage } from '../../pages/adf/dialog/upload-dialog.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Version component actions', () => {
|
describe('Version component actions', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,14 +15,16 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { element, by, browser } from 'protractor';
|
import { browser, by, element } from 'protractor';
|
||||||
import {
|
import {
|
||||||
LoginSSOPage,
|
ApiService,
|
||||||
BrowserActions,
|
BrowserActions,
|
||||||
UploadActions,
|
LoginSSOPage,
|
||||||
StringUtil,
|
|
||||||
NotificationHistoryPage,
|
NotificationHistoryPage,
|
||||||
ApiService, UserModel
|
StringUtil,
|
||||||
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { VersionManagePage } from '../../pages/adf/version-manager.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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import CONSTANTS = require('../../util/constants');
|
import CONSTANTS = require('../../util/constants');
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Version component permissions', () => {
|
describe('Version component permissions', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,20 +15,20 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { by, element, browser } from 'protractor';
|
import { browser, by, element } from 'protractor';
|
||||||
import {
|
import {
|
||||||
|
ApiService,
|
||||||
|
BrowserActions,
|
||||||
|
BrowserVisibility,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
UploadActions,
|
UploadActions,
|
||||||
BrowserVisibility,
|
UserModel,
|
||||||
BrowserActions,
|
UsersActions
|
||||||
ApiService,
|
|
||||||
UserModel
|
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Version Properties', () => {
|
describe('Version Properties', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,18 +17,18 @@
|
|||||||
|
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import {
|
import {
|
||||||
|
ApiService,
|
||||||
|
BrowserActions,
|
||||||
|
BrowserVisibility,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
UploadActions,
|
UploadActions,
|
||||||
BrowserVisibility,
|
UserModel,
|
||||||
BrowserActions,
|
UsersActions
|
||||||
ApiService,
|
|
||||||
UserModel
|
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
import { VersionManagePage } from '../../pages/adf/version-manager.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Version component', () => {
|
describe('Version component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,11 +15,10 @@
|
|||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { DataTablePage } from '../../pages/adf/demo-shell/data-table.page';
|
import { DataTablePage } from '../../pages/adf/demo-shell/data-table.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Datatable component - selection', () => {
|
describe('Datatable component - selection', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,12 +15,18 @@
|
|||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { DataTablePage } from '../../pages/adf/demo-shell/data-table.page';
|
import { DataTablePage } from '../../pages/adf/demo-shell/data-table.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Datatable component', () => {
|
describe('Datatable component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,10 +15,9 @@
|
|||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Error Component', () => {
|
describe('Error Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -14,10 +14,9 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Header Component', () => {
|
describe('Header Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,11 +15,10 @@
|
|||||||
* limitations under the License.
|
* 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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { IconsPage } from '../pages/adf/icons.page';
|
import { IconsPage } from '../pages/adf/icons.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Universal Icon component', () => {
|
describe('Universal Icon component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,13 +15,20 @@
|
|||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { FolderModel } from '../models/ACS/folder.model';
|
import { FolderModel } from '../models/ACS/folder.model';
|
||||||
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
||||||
import { InfinitePaginationPage } from '../pages/adf/core/infinite-pagination.page';
|
import { InfinitePaginationPage } from '../pages/adf/core/infinite-pagination.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Enable infinite scrolling', () => {
|
describe('Enable infinite scrolling', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -21,14 +21,14 @@ import {
|
|||||||
ErrorPage,
|
ErrorPage,
|
||||||
LocalStorageUtil,
|
LocalStorageUtil,
|
||||||
UserInfoPage,
|
UserInfoPage,
|
||||||
UserModel
|
UserModel,
|
||||||
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { ProcessServicesPage } from '../../pages/adf/process-services/process-services.page';
|
import { ProcessServicesPage } from '../../pages/adf/process-services/process-services.page';
|
||||||
import { LoginPage } from '../../pages/adf/demo-shell/login.page';
|
import { LoginPage } from '../../pages/adf/demo-shell/login.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Login component', () => {
|
describe('Login component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,13 +17,19 @@
|
|||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { ProcessServicesPage } from '../../pages/adf/process-services/process-services.page';
|
import { ProcessServicesPage } from '../../pages/adf/process-services/process-services.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { LogoutPage } from '../../pages/adf/demo-shell/logout.page';
|
import { LogoutPage } from '../../pages/adf/demo-shell/logout.page';
|
||||||
import { LoginPage } from '../../pages/adf/demo-shell/login.page';
|
import { LoginPage } from '../../pages/adf/demo-shell/login.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Login component - Redirect', () => {
|
describe('Login component - Redirect', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,11 +15,10 @@
|
|||||||
* limitations under the License.
|
* 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 { NotificationDemoPage } from '../pages/adf/demo-shell/notification.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Notifications Component', () => {
|
describe('Notifications Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,20 +16,20 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
ApiService,
|
||||||
ArrayUtil,
|
ArrayUtil,
|
||||||
StringUtil,
|
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
PaginationPage,
|
PaginationPage,
|
||||||
|
StringUtil,
|
||||||
UploadActions,
|
UploadActions,
|
||||||
ViewerPage,
|
UserModel,
|
||||||
ApiService,
|
UsersActions,
|
||||||
UserModel
|
ViewerPage
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { FileModel } from '../models/ACS/file.model';
|
import { FileModel } from '../models/ACS/file.model';
|
||||||
import { FolderModel } from '../models/ACS/folder.model';
|
import { FolderModel } from '../models/ACS/folder.model';
|
||||||
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Pagination - returns to previous page when current is empty', () => {
|
describe('Pagination - returns to previous page when current is empty', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,14 +15,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import { ApiService, LoginSSOPage, SettingsPage, UserInfoPage, UsersActions } from '@alfresco/adf-testing';
|
||||||
ApiService,
|
|
||||||
LoginSSOPage,
|
|
||||||
SettingsPage,
|
|
||||||
UserInfoPage
|
|
||||||
} from '@alfresco/adf-testing';
|
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('User Info - SSO', () => {
|
describe('User Info - SSO', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { PeopleApi } from '@alfresco/js-api';
|
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 { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { FileModel } from '../models/ACS/file.model';
|
import { FileModel } from '../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
|
|||||||
@@ -16,12 +16,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||||
import CONSTANTS = require('../../../util/constants');
|
|
||||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||||
import { NavigationBarPage } from '../../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../../actions/users.actions';
|
import CONSTANTS = require('../../../util/constants');
|
||||||
|
|
||||||
describe('Viewer', () => {
|
describe('Viewer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,13 +16,20 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||||
import CONSTANTS = require('../../../util/constants');
|
|
||||||
import { FileModel } from '../../../models/ACS/file.model';
|
import { FileModel } from '../../../models/ACS/file.model';
|
||||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||||
import { NavigationBarPage } from '../../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../../actions/users.actions';
|
import CONSTANTS = require('../../../util/constants');
|
||||||
|
|
||||||
describe('Viewer', () => {
|
describe('Viewer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,11 +16,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||||
import CONSTANTS = require('../../../util/constants');
|
|
||||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||||
import { UsersActions } from '../../../actions/users.actions';
|
import CONSTANTS = require('../../../util/constants');
|
||||||
|
|
||||||
describe('Viewer', () => {
|
describe('Viewer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,11 +16,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||||
import CONSTANTS = require('../../../util/constants');
|
|
||||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||||
import { UsersActions } from '../../../actions/users.actions';
|
import CONSTANTS = require('../../../util/constants');
|
||||||
|
|
||||||
describe('Viewer', () => {
|
describe('Viewer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,12 +15,19 @@
|
|||||||
* limitations under the License.
|
* 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 { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||||
import CONSTANTS = require('../../../util/constants');
|
|
||||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../../../actions/users.actions';
|
import CONSTANTS = require('../../../util/constants');
|
||||||
|
|
||||||
describe('Viewer', () => {
|
describe('Viewer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,11 +16,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||||
import CONSTANTS = require('../../../util/constants');
|
|
||||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||||
import { UsersActions } from '../../../actions/users.actions';
|
import CONSTANTS = require('../../../util/constants');
|
||||||
|
|
||||||
describe('Viewer', () => {
|
describe('Viewer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,12 +16,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../../pages/adf/content-services.page';
|
||||||
import CONSTANTS = require('../../../util/constants');
|
|
||||||
import { FolderModel } from '../../../models/ACS/folder.model';
|
import { FolderModel } from '../../../models/ACS/folder.model';
|
||||||
import { NavigationBarPage } from '../../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../../actions/users.actions';
|
import CONSTANTS = require('../../../util/constants');
|
||||||
|
|
||||||
describe('Viewer', () => {
|
describe('Viewer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,12 +16,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import CONSTANTS = require('../../util/constants');
|
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
import CONSTANTS = require('../../util/constants');
|
||||||
|
|
||||||
describe('Info Drawer', () => {
|
describe('Info Drawer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,11 +16,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Content Services Viewer', () => {
|
describe('Content Services Viewer', () => {
|
||||||
const acsUser = new UserModel();
|
const acsUser = new UserModel();
|
||||||
|
|||||||
@@ -16,11 +16,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Viewer', () => {
|
describe('Viewer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,11 +16,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Viewer - properties', () => {
|
describe('Viewer - properties', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,14 +15,22 @@
|
|||||||
* limitations under the License.
|
* 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 { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||||
import { ShareDialogPage } from '../../pages/adf/dialog/share-dialog.page';
|
import { ShareDialogPage } from '../../pages/adf/dialog/share-dialog.page';
|
||||||
import CONSTANTS = require('../../util/constants');
|
|
||||||
import { FileModel } from '../../models/ACS/file.model';
|
import { FileModel } from '../../models/ACS/file.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../../actions/users.actions';
|
import CONSTANTS = require('../../util/constants');
|
||||||
|
|
||||||
describe('Viewer', () => {
|
describe('Viewer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,13 +15,12 @@
|
|||||||
* limitations under the License.
|
* 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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { AnalyticsPage } from '../pages/adf/process-services/analytics.page';
|
import { AnalyticsPage } from '../pages/adf/process-services/analytics.page';
|
||||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Analytics Smoke Test', () => {
|
describe('Analytics Smoke Test', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -14,9 +14,8 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
|
|
||||||
describe('About Process Services', () => {
|
describe('About Process Services', () => {
|
||||||
|
|||||||
@@ -16,12 +16,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.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 { ModelsActions } from '../actions/APS/models.actions';
|
||||||
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Modify applications', () => {
|
describe('Modify applications', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -20,15 +20,17 @@ import {
|
|||||||
ApplicationsUtil,
|
ApplicationsUtil,
|
||||||
ContentNodeSelectorDialogPage,
|
ContentNodeSelectorDialogPage,
|
||||||
ExternalNodeSelectorDialogPage,
|
ExternalNodeSelectorDialogPage,
|
||||||
IntegrationService, LocalStorageUtil,
|
IntegrationService,
|
||||||
|
LocalStorageUtil,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
UploadActions, UserModel,
|
UploadActions,
|
||||||
|
UserModel,
|
||||||
|
UsersActions,
|
||||||
Widget
|
Widget
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import CONSTANTS = require('../util/constants');
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Attach File - Content service', () => {
|
describe('Attach File - Content service', () => {
|
||||||
|
|||||||
@@ -15,13 +15,20 @@
|
|||||||
* limitations under the License.
|
* 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 { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import CONSTANTS = require('../util/constants');
|
|
||||||
import { FileModel } from '../models/ACS/file.model';
|
import { FileModel } from '../models/ACS/file.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Start Task - Task App', () => {
|
describe('Start Task - Task App', () => {
|
||||||
const app = browser.params.resources.Files.WIDGETS_SMOKE_TEST;
|
const app = browser.params.resources.Files.WIDGETS_SMOKE_TEST;
|
||||||
|
|||||||
@@ -19,14 +19,16 @@ import {
|
|||||||
ApiService,
|
ApiService,
|
||||||
ApplicationsUtil,
|
ApplicationsUtil,
|
||||||
ContentNodeSelectorDialogPage,
|
ContentNodeSelectorDialogPage,
|
||||||
IntegrationService, LocalStorageUtil,
|
IntegrationService,
|
||||||
LoginSSOPage, UserModel,
|
LocalStorageUtil,
|
||||||
|
LoginSSOPage,
|
||||||
|
UserModel,
|
||||||
|
UsersActions,
|
||||||
Widget
|
Widget
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import CONSTANTS = require('../util/constants');
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Attach Folder', () => {
|
describe('Attach Folder', () => {
|
||||||
|
|||||||
@@ -15,15 +15,14 @@
|
|||||||
* limitations under the License.
|
* 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 { browser, by } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { AttachFormPage } from '../pages/adf/process-services/attach-form.page';
|
import { AttachFormPage } from '../pages/adf/process-services/attach-form.page';
|
||||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import { TaskDetailsPage } from '../pages/adf/process-services/task-details.page';
|
import { TaskDetailsPage } from '../pages/adf/process-services/task-details.page';
|
||||||
import CONSTANTS = require('../util/constants');
|
|
||||||
import { TaskRepresentation } from '@alfresco/js-api';
|
import { TaskRepresentation } from '@alfresco/js-api';
|
||||||
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Attach Form Component', () => {
|
describe('Attach Form Component', () => {
|
||||||
const app = browser.params.resources.Files.SIMPLE_APP_WITH_USER_FORM;
|
const app = browser.params.resources.Files.SIMPLE_APP_WITH_USER_FORM;
|
||||||
|
|||||||
@@ -15,17 +15,16 @@
|
|||||||
* limitations under the License.
|
* 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 { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||||
import { ChecklistDialog } from '../pages/adf/process-services/dialog/create-checklist-dialog.page';
|
import { ChecklistDialog } from '../pages/adf/process-services/dialog/create-checklist-dialog.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import CONSTANTS = require('../util/constants');
|
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import { TaskRepresentation } from '@alfresco/js-api';
|
import { TaskRepresentation } from '@alfresco/js-api';
|
||||||
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Checklist component', () => {
|
describe('Checklist component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,11 +16,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
import { CommentsPage } from '../pages/adf/comments.page';
|
import { CommentsPage } from '../pages/adf/comments.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Comment component for Processes', () => {
|
describe('Comment component for Processes', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,13 +17,13 @@
|
|||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import { CommentsPage } from '../pages/adf/comments.page';
|
import { CommentsPage } from '../pages/adf/comments.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.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 { TaskRepresentation } from '@alfresco/js-api';
|
||||||
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Comment component for Processes', () => {
|
describe('Comment component for Processes', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,11 +17,10 @@
|
|||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
import { FiltersPage } from '../pages/adf/process-services/filters.page';
|
import { FiltersPage } from '../pages/adf/process-services/filters.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Sorting for process filters', () => {
|
describe('Sorting for process filters', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,14 +17,12 @@
|
|||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.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 { AppSettingsTogglesPage } from '../pages/adf/process-services/dialog/app-settings-toggles.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
|
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('New Process Filters', () => {
|
describe('New Process Filters', () => {
|
||||||
|
|
||||||
const loginPage = new LoginSSOPage();
|
const loginPage = new LoginSSOPage();
|
||||||
|
|||||||
@@ -16,21 +16,21 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
ApiService,
|
||||||
|
ApplicationsUtil,
|
||||||
ArrayUtil,
|
ArrayUtil,
|
||||||
DateUtil,
|
DateUtil,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
PaginationPage,
|
PaginationPage,
|
||||||
ApplicationsUtil,
|
|
||||||
ProcessUtil,
|
ProcessUtil,
|
||||||
ApiService
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { AppsRuntimeActions } from '../actions/APS/apps-runtime.actions';
|
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 { TaskListDemoPage } from '../pages/adf/demo-shell/process-services/task-list-demo.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import moment = require('moment');
|
|
||||||
import { TaskRepresentation } from '@alfresco/js-api';
|
import { TaskRepresentation } from '@alfresco/js-api';
|
||||||
|
import moment = require('moment');
|
||||||
|
|
||||||
describe('Start Task - Custom App', () => {
|
describe('Start Task - Custom App', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,18 +16,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
LoginSSOPage,
|
ApiService,
|
||||||
Widget,
|
ApplicationsUtil,
|
||||||
DatePickerCalendarPage,
|
DatePickerCalendarPage,
|
||||||
DateUtil,
|
DateUtil,
|
||||||
ApplicationsUtil,
|
LoginSSOPage,
|
||||||
ApiService
|
UsersActions,
|
||||||
|
Widget
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Dynamic Table', () => {
|
describe('Dynamic Table', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,13 +16,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||||
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Empty Process List Test', () => {
|
describe('Empty Process List Test', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,10 +15,9 @@
|
|||||||
* limitations under the License.
|
* 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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Form Component', () => {
|
describe('Form Component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,12 +15,18 @@
|
|||||||
* limitations under the License.
|
* 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 { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||||
import { TaskDetailsPage } from '../pages/adf/process-services/task-details.page';
|
import { TaskDetailsPage } from '../pages/adf/process-services/task-details.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||||
|
|
||||||
|
|||||||
@@ -15,13 +15,20 @@
|
|||||||
* limitations under the License.
|
* 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 { 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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { browser } from 'protractor';
|
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();
|
const formInstance = new FormDefinitionModel();
|
||||||
|
|
||||||
|
|||||||
@@ -16,24 +16,25 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
ApiService,
|
||||||
|
ApplicationsUtil,
|
||||||
BrowserActions,
|
BrowserActions,
|
||||||
BrowserVisibility,
|
BrowserVisibility,
|
||||||
LocalStorageUtil,
|
LocalStorageUtil,
|
||||||
LoginSSOPage,
|
LoginSSOPage,
|
||||||
StringUtil,
|
StringUtil,
|
||||||
ApplicationsUtil,
|
UserModel,
|
||||||
ApiService, UserModel
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { AppDefinitionRepresentation } from '@alfresco/js-api';
|
import { AppDefinitionRepresentation } from '@alfresco/js-api';
|
||||||
import { browser, by, element } from 'protractor';
|
import { browser, by, element } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { TasksPage } from '../pages/adf/process-services/tasks.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 { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
import { infoDrawerConfiguration } from './config/task.config';
|
import { infoDrawerConfiguration } from './config/task.config';
|
||||||
|
import CONSTANTS = require('../util/constants');
|
||||||
|
import moment = require('moment');
|
||||||
|
|
||||||
describe('Info Drawer', () => {
|
describe('Info Drawer', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,9 +15,15 @@
|
|||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
|
|||||||
@@ -15,9 +15,15 @@
|
|||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import CONSTANTS = require('../util/constants');
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|||||||
@@ -15,16 +15,15 @@
|
|||||||
* limitations under the License.
|
* 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 { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||||
import CONSTANTS = require('../util/constants');
|
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import { TaskRepresentation } from '@alfresco/js-api';
|
import { TaskRepresentation } from '@alfresco/js-api';
|
||||||
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('People component', () => {
|
describe('People component', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -16,18 +16,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
LoginSSOPage,
|
ApiService,
|
||||||
FileBrowserUtil,
|
|
||||||
ViewerPage,
|
|
||||||
ApplicationsUtil,
|
ApplicationsUtil,
|
||||||
|
FileBrowserUtil,
|
||||||
|
LoginSSOPage,
|
||||||
ProcessUtil,
|
ProcessUtil,
|
||||||
ApiService
|
UsersActions,
|
||||||
|
ViewerPage
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||||
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { FileModel } from '../models/ACS/file.model';
|
import { FileModel } from '../models/ACS/file.model';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
|
|
||||||
|
|||||||
@@ -15,16 +15,21 @@
|
|||||||
* limitations under the License.
|
* 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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||||
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
||||||
|
|
||||||
import { UserProcessInstanceFilterRepresentation } from '@alfresco/js-api';
|
import { UserProcessInstanceFilterRepresentation } from '@alfresco/js-api';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { ProcessListDemoPage } from '../pages/adf/demo-shell/process-services/process-list-demo.page';
|
import { ProcessListDemoPage } from '../pages/adf/demo-shell/process-services/process-list-demo.page';
|
||||||
import CONSTANTS = require('../util/constants');
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|||||||
@@ -16,9 +16,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { 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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||||
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
||||||
|
|||||||
@@ -15,10 +15,16 @@
|
|||||||
* limitations under the License.
|
* 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 { ProcessListDemoPage } from '../pages/adf/demo-shell/process-services/process-list-demo.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
|
|
||||||
describe('Process List Test', () => {
|
describe('Process List Test', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,9 +15,15 @@
|
|||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||||
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
import { ProcessFiltersPage } from '../pages/adf/process-services/process-filters.page';
|
||||||
|
|||||||
@@ -15,13 +15,19 @@
|
|||||||
* limitations under the License.
|
* 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 { browser } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import CONSTANTS = require('../util/constants');
|
|
||||||
import { TaskRepresentation } from '@alfresco/js-api';
|
import { TaskRepresentation } from '@alfresco/js-api';
|
||||||
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Task List Pagination - Sorting', () => {
|
describe('Task List Pagination - Sorting', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,14 +17,13 @@
|
|||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.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 fs from 'fs';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
|
import CONSTANTS = require('../util/constants');
|
||||||
|
import Task = require('../models/APS/Task');
|
||||||
|
|
||||||
describe('Start Task - Task App', () => {
|
describe('Start Task - Task App', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -17,13 +17,18 @@
|
|||||||
|
|
||||||
import CONSTANTS = require('../util/constants');
|
import CONSTANTS = require('../util/constants');
|
||||||
import {
|
import {
|
||||||
FileBrowserUtil,
|
ApiService,
|
||||||
LoginSSOPage, SelectAppsDialog,
|
|
||||||
ProcessInstanceTasksPage,
|
|
||||||
StringUtil,
|
|
||||||
Widget,
|
|
||||||
ApplicationsUtil,
|
ApplicationsUtil,
|
||||||
StartProcessPage, ApiService, UserModel, LocalStorageUtil
|
FileBrowserUtil,
|
||||||
|
LocalStorageUtil,
|
||||||
|
LoginSSOPage,
|
||||||
|
ProcessInstanceTasksPage,
|
||||||
|
SelectAppsDialog,
|
||||||
|
StartProcessPage,
|
||||||
|
StringUtil,
|
||||||
|
UserModel,
|
||||||
|
UsersActions,
|
||||||
|
Widget
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { FileModel } from '../models/ACS/file.model';
|
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 { ProcessServicesPage } from '../pages/adf/process-services/process-services.page';
|
||||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||||
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
import { ContentServicesPage } from '../pages/adf/content-services.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { UploadDialogPage } from '../pages/adf/dialog/upload-dialog.page';
|
import { UploadDialogPage } from '../pages/adf/dialog/upload-dialog.page';
|
||||||
|
|
||||||
describe('Start Process Component', () => {
|
describe('Start Process Component', () => {
|
||||||
|
|||||||
@@ -15,9 +15,9 @@
|
|||||||
* limitations under the License.
|
* 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 { browser, by } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { FileModel } from '../models/ACS/file.model';
|
import { FileModel } from '../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
||||||
|
|||||||
@@ -15,19 +15,18 @@
|
|||||||
* limitations under the License.
|
* 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 { browser, by } from 'protractor';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { FileModel } from '../models/ACS/file.model';
|
import { FileModel } from '../models/ACS/file.model';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
||||||
import { ChecklistDialog } from '../pages/adf/process-services/dialog/create-checklist-dialog.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 { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import CONSTANTS = require('../util/constants');
|
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import { TaskRepresentation } from '@alfresco/js-api';
|
import { TaskRepresentation } from '@alfresco/js-api';
|
||||||
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Start Task - Task App', () => {
|
describe('Start Task - Task App', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { UsersActions } from '../actions/users.actions';
|
import {
|
||||||
import { LoginSSOPage, ApplicationsUtil, StartProcessPage, ApiService, UserModel } from '@alfresco/adf-testing';
|
ApiService,
|
||||||
|
ApplicationsUtil,
|
||||||
|
LoginSSOPage,
|
||||||
|
StartProcessPage,
|
||||||
|
UserModel,
|
||||||
|
UsersActions
|
||||||
|
} from '@alfresco/adf-testing';
|
||||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
|
|||||||
@@ -16,12 +16,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
LoginSSOPage,
|
ApiService,
|
||||||
ApplicationsUtil,
|
ApplicationsUtil,
|
||||||
|
LoginSSOPage,
|
||||||
ProcessUtil,
|
ProcessUtil,
|
||||||
StartProcessPage,
|
StartProcessPage,
|
||||||
ApiService,
|
UserModel,
|
||||||
UserModel
|
UsersActions
|
||||||
} from '@alfresco/adf-testing';
|
} from '@alfresco/adf-testing';
|
||||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { ProcessServicesPage } from '../pages/adf/process-services/process-services.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 { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||||
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
import { ProcessDetailsPage } from '../pages/adf/process-services/process-details.page';
|
||||||
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
import { ProcessListPage } from '../pages/adf/process-services/process-list.page';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import CONSTANTS = require('../util/constants');
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|||||||
@@ -16,16 +16,22 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
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 { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||||
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
||||||
import CONSTANTS = require('../util/constants');
|
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import { UsersActions } from '../actions/users.actions';
|
|
||||||
import { FileModel } from '../models/ACS/file.model';
|
import { FileModel } from '../models/ACS/file.model';
|
||||||
import { TaskRepresentation } from '@alfresco/js-api';
|
import { TaskRepresentation } from '@alfresco/js-api';
|
||||||
|
import CONSTANTS = require('../util/constants');
|
||||||
|
|
||||||
describe('Attachment list action menu for tasks', () => {
|
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