mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
@@ -17,7 +17,7 @@
|
||||
|
||||
import {
|
||||
ApiService,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
NotificationHistoryPage,
|
||||
StringUtil,
|
||||
UserModel,
|
||||
@@ -31,7 +31,7 @@ import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
|
||||
describe('Create folder directive', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const contentServicesPage = new ContentServicesPage();
|
||||
const createFolderDialog = new FolderDialogPage();
|
||||
const notificationHistoryPage = new NotificationHistoryPage();
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiService, BrowserActions, LoginSSOPage, StringUtil, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ApiService, BrowserActions, LoginPage, StringUtil, UserModel, UsersActions } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/content-services.page';
|
||||
import { CreateLibraryDialogPage } from '../../pages/adf/dialog/create-library-dialog.page';
|
||||
import { CustomSourcesPage } from '../../pages/adf/demo-shell/custom-sources.page';
|
||||
@@ -24,7 +24,7 @@ import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
|
||||
describe('Create library directive', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const contentServicesPage = new ContentServicesPage();
|
||||
const createLibraryDialog = new CreateLibraryDialogPage();
|
||||
const customSourcesPage = new CustomSourcesPage();
|
||||
|
||||
@@ -20,7 +20,7 @@ import { FileModel } from '../../models/ACS/file.model';
|
||||
import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
PaginationPage,
|
||||
PermissionActions,
|
||||
StringUtil,
|
||||
@@ -34,7 +34,7 @@ import { FolderModel } from '../../models/ACS/folder.model';
|
||||
describe('Delete Directive', () => {
|
||||
|
||||
const apiService = new ApiService();
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const contentServicesPage = new ContentServicesPage();
|
||||
const paginationPage = new PaginationPage();
|
||||
const contentListPage = contentServicesPage.getDocumentList();
|
||||
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
ApiService,
|
||||
BrowserVisibility,
|
||||
FileBrowserUtil,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
@@ -32,7 +32,7 @@ import { FolderModel } from '../../models/ACS/folder.model';
|
||||
|
||||
describe('Version component actions', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const contentServicesPage = new ContentServicesPage();
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
const contentListPage = contentServicesPage.getDocumentList();
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
NotificationHistoryPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
@@ -33,7 +33,7 @@ import { FileModel } from '../../models/ACS/file.model';
|
||||
|
||||
describe('Edit folder directive', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const contentServicesPage = new ContentServicesPage();
|
||||
const editFolderDialog = new FolderDialogPage();
|
||||
const acsUser = new UserModel();
|
||||
@@ -229,7 +229,7 @@ describe('Edit folder directive', () => {
|
||||
describe('Edit Folder - no permission', () => {
|
||||
beforeEach(async () => {
|
||||
await loginPage.login(anotherAcsUser.email, anotherAcsUser.password);
|
||||
await BrowserActions.getUrl(browser.params.testConfig.adf.url + '/files/' + editFolder.entry.id);
|
||||
await BrowserActions.getUrl(browser.baseUrl + '/files/' + editFolder.entry.id);
|
||||
await contentServicesPage.getDocumentList().dataTablePage().waitTillContentLoaded();
|
||||
});
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
import {
|
||||
ApiService,
|
||||
ContentNodeSelectorDialogPage,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
@@ -34,7 +34,7 @@ import { TrashcanPage } from '../../pages/adf/trashcan.page';
|
||||
|
||||
describe('Favorite directive', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const contentServicesPage = new ContentServicesPage();
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
let acsUser: UserModel;
|
||||
|
||||
@@ -25,7 +25,7 @@ import {
|
||||
ApiService,
|
||||
BreadcrumbPage,
|
||||
BrowserActions,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
NotificationHistoryPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
@@ -35,7 +35,7 @@ import {
|
||||
|
||||
describe('Restore content directive', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const contentServicesPage = new ContentServicesPage();
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
const acsUser = new UserModel();
|
||||
|
||||
Reference in New Issue
Block a user