added methods to view file, assert on File title in the viewer and cl… (#5196)

* added methods to view file, assert on File title in the viewer and close viewer.

* moved the ViewerPage file to ADF testing package

* removed the unnecessary methods as using the methods of the ViewerPage class.
This commit is contained in:
Geeta Mandakini Ayyalasomayajula
2019-10-28 20:02:47 +00:00
committed by Denys Vuika
parent 27fa7a4725
commit 4885e6bcee
31 changed files with 44 additions and 62 deletions

View File

@@ -17,9 +17,8 @@
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
import { AcsUserModel } from '../../models/ACS/acsUserModel';
import { ViewerPage } from '../../pages/adf/viewerPage';
import { browser } from 'protractor';
import { LoginPage, StringUtil, UploadActions } from '@alfresco/adf-testing';
import { LoginPage, StringUtil, UploadActions, ViewerPage } from '@alfresco/adf-testing';
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
import { FileModel } from '../../models/ACS/fileModel';
import moment from 'moment-es6';