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,10 +17,9 @@
import { browser } from 'protractor';
import { LoginPage, UploadActions, StringUtil, LocalStorageUtil, BrowserActions } from '@alfresco/adf-testing';
import { LoginPage, UploadActions, StringUtil, LocalStorageUtil, BrowserActions, ViewerPage } from '@alfresco/adf-testing';
import { SearchDialog } from '../pages/adf/dialog/searchDialog';
import { ContentServicesPage } from '../pages/adf/contentServicesPage';
import { ViewerPage } from '../pages/adf/viewerPage';
import { SearchResultsPage } from '../pages/adf/searchResultsPage';
import { AcsUserModel } from '../models/ACS/acsUserModel';
import { FileModel } from '../models/ACS/fileModel';