mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Exporting base login page (#4483)
* Exporting base login page for e2e tests * fixed exporting and renamed pages as per standards * Added base login page to testing package * Fixed wrong import for the setting page * Removed old pages and using the one in the adf-testing package * fix after merge conflict * fix base url param
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import { CommentsPage } from '../../pages/adf/commentsPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { CreateFolderDialog } from '../../pages/adf/dialog/createFolderDialog';
|
||||
import { NotificationPage } from '../../pages/adf/notificationPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { CreateLibraryDialog } from '../../pages/adf/dialog/createLibraryDialog';
|
||||
import { CustomSources } from '../../pages/adf/demo-shell/customSourcesPage';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
import { AcsUserModel } from '../../models/ACS/acsUserModel';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
import { AcsUserModel } from '../../models/ACS/acsUserModel';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { PaginationPage } from '../../pages/adf/paginationPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { ContentServicesPage } from '../pages/adf/contentServicesPage';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { AcsUserModel } from '../models/ACS/acsUserModel';
|
||||
import TestConfig = require('../test.config');
|
||||
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { PermissionsPage } from '../../pages/adf/permissionsPage';
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { AcsUserModel } from '../../models/ACS/acsUserModel';
|
||||
import TestConfig = require('../../test.config');
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { PermissionsPage } from '../../pages/adf/permissionsPage';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
import CONSTANTS = require('../../util/constants');
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { ErrorPage } from '../../pages/adf/errorPage';
|
||||
import { ShareDialog } from '../../pages/adf/dialog/shareDialog';
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { SettingsPage } from '../../pages/adf/settingsPage';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import TestConfig = require('../../test.config');
|
||||
import { browser } from 'protractor';
|
||||
@@ -28,8 +27,7 @@ import resources = require('../../util/resources');
|
||||
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
|
||||
import * as path from 'path';
|
||||
import { Util } from '../../util/util';
|
||||
import { IdentityService } from '@alfresco/adf-testing';
|
||||
import { StringUtil, UserModel } from '@alfresco/adf-testing';
|
||||
import { IdentityService, SettingsPage, StringUtil, UserModel } from '@alfresco/adf-testing';
|
||||
|
||||
describe('SSO in ADF using ACS and AIS, Download Directive, Viewer, DocumentList, implicitFlow true', () => {
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
import { AcsUserModel } from '../models/ACS/acsUserModel';
|
||||
import { FileModel } from '../models/ACS/fileModel';
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TagPage } from '../pages/adf/tagPage';
|
||||
import { AppNavigationBarPage } from '../pages/adf/process-services/appNavigationBarPage';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TrashcanPage } from '../pages/adf/trashcanPage';
|
||||
|
||||
import { PaginationPage } from '../pages/adf/paginationPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { TreeViewPage } from '../pages/adf/content-services/treeViewPage';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { UploadDialog } from '../../pages/adf/dialog/uploadDialog';
|
||||
import { UploadToggles } from '../../pages/adf/dialog/uploadToggles';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { element, by, browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { UploadDialog } from '../../pages/adf/dialog/uploadDialog';
|
||||
import { UploadToggles } from '../../pages/adf/dialog/uploadToggles';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { UploadDialog } from '../../pages/adf/dialog/uploadDialog';
|
||||
import { UploadToggles } from '../../pages/adf/dialog/uploadToggles';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { element, by, browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { UploadDialog } from '../../pages/adf/dialog/uploadDialog';
|
||||
import { UploadToggles } from '../../pages/adf/dialog/uploadToggles';
|
||||
|
||||
@@ -19,7 +19,7 @@ import { browser } from 'protractor';
|
||||
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { UploadDialog } from '../../pages/adf/dialog/uploadDialog';
|
||||
import { UploadToggles } from '../../pages/adf/dialog/uploadToggles';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { by, element } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { VersionManagePage } from '../../pages/adf/versionManagerPage';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { element, by } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
import { VersionManagePage } from '../../pages/adf/versionManagerPage';
|
||||
import { UploadDialog } from '../../pages/adf/dialog/uploadDialog';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { by, element } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { VersionManagePage } from '../../pages/adf/versionManagerPage';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { VersionManagePage } from '../../pages/adf/versionManagerPage';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadataViewPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { element, by } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadataViewPage';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadataViewPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadataViewPage';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import { MetadataViewPage } from '../../pages/adf/metadataViewPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { DataTablePage } from '../../pages/adf/demo-shell/dataTablePage';
|
||||
import { DataTableComponentPage } from '@alfresco/adf-testing';
|
||||
import TestConfig = require('../../test.config');
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { DataTablePage } from '../../pages/adf/demo-shell/dataTablePage';
|
||||
import { DataTableComponentPage } from '@alfresco/adf-testing';
|
||||
import { AcsUserModel } from '../../models/ACS/acsUserModel';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { AcsUserModel } from '../models/ACS/acsUserModel';
|
||||
import TestConfig = require('../test.config');
|
||||
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
|
||||
|
||||
@@ -14,11 +14,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
import { HeaderPage } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { HeaderPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { IconsPage } from '../pages/adf/iconsPage';
|
||||
import { AcsUserModel } from '../models/ACS/acsUserModel';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../pages/adf/contentServicesPage';
|
||||
import { InfinitePaginationPage } from '../pages/adf/core/infinitePaginationPage';
|
||||
import { ConfigEditorPage } from '../pages/adf/configEditorPage';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { ProcessServicesPage } from '../../pages/adf/process-services/processServicesPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
@@ -27,7 +27,6 @@ import { UserInfoPage } from '@alfresco/adf-testing';
|
||||
import TestConfig = require('../../test.config');
|
||||
import { AcsUserModel } from '../../models/ACS/acsUserModel';
|
||||
|
||||
import { SettingsPage } from '../../pages/adf/settingsPage';
|
||||
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
|
||||
|
||||
import { Util } from '../../util/util';
|
||||
|
||||
@@ -15,12 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../../../pages/adf/settingsPage';
|
||||
import { LoginSSOPage, SettingsPage, LoginPage } from '@alfresco/adf-testing';
|
||||
import TestConfig = require('../../../test.config');
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../../../pages/adf/navigationBarPage';
|
||||
import { LoginPage } from '../../../pages/adf/loginPage';
|
||||
|
||||
describe('Login component - SSO', () => {
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { ProcessServicesPage } from '../../pages/adf/process-services/processServicesPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
@@ -25,8 +25,6 @@ import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
import TestConfig = require('../../test.config');
|
||||
import { AcsUserModel } from '../../models/ACS/acsUserModel';
|
||||
|
||||
import { SettingsPage } from '../../pages/adf/settingsPage';
|
||||
|
||||
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
|
||||
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { SettingsPage } from '../../pages/adf/settingsPage';
|
||||
import { LoginPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
|
||||
describe('Login component - Remember Me', () => {
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../pages/adf/contentServicesPage';
|
||||
import { PaginationPage } from '../pages/adf/paginationPage';
|
||||
import { ViewerPage } from '../pages/adf/viewerPage';
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { LoginPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { browser, protractor } from 'protractor';
|
||||
import { AcsUserModel } from '../models/ACS/acsUserModel';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { LoginSSOPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import TestConfig = require('../test.config');
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { UserInfoPage } from '@alfresco/adf-testing';
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { UserInfoPage } from '@alfresco/adf-testing';
|
||||
|
||||
import { AcsUserModel } from '../models/ACS/acsUserModel';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import TestConfig = require('../../test.config');
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import TestConfig = require('../../test.config');
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
|
||||
@@ -19,7 +19,7 @@ import { browser } from 'protractor';
|
||||
|
||||
import TestConfig = require('../../test.config');
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import TestConfig = require('../../test.config');
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import TestConfig = require('../../test.config');
|
||||
|
||||
import { LoginPage } from '../../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { ViewerPage } from '../../pages/adf/viewerPage';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { AnalyticsPage } from '../pages/adf/process-services/analyticsPage';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/processServicesPage';
|
||||
|
||||
@@ -15,11 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { EditTaskFilterCloudComponentPage, TaskFiltersCloudComponentPage } from '@alfresco/adf-testing';
|
||||
import { FormControllersPage } from '../../material/formControllersPage';
|
||||
|
||||
import { element, by, browser } from 'protractor';
|
||||
import { BrowserVisibility, TaskListCloudComponentPage } from '@alfresco/adf-testing';
|
||||
import { FormControllersPage, TaskFiltersCloudComponentPage, EditTaskFilterCloudComponentPage, BrowserVisibility, TaskListCloudComponentPage } from '@alfresco/adf-testing';
|
||||
|
||||
export class TasksCloudDemoPage {
|
||||
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
*/
|
||||
|
||||
import { element, by } from 'protractor';
|
||||
import { FormControllersPage } from '../material/formControllersPage';
|
||||
import { BrowserVisibility } from '@alfresco/adf-testing';
|
||||
import { BrowserVisibility, FormControllersPage } from '@alfresco/adf-testing';
|
||||
|
||||
export class ShareDialog {
|
||||
|
||||
|
||||
@@ -15,10 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormControllersPage } from '../material/formControllersPage';
|
||||
|
||||
import { by, element, protractor } from 'protractor';
|
||||
import { BrowserVisibility } from '@alfresco/adf-testing';
|
||||
import { BrowserVisibility, FormControllersPage } from '@alfresco/adf-testing';
|
||||
|
||||
export class UploadToggles {
|
||||
|
||||
|
||||
@@ -1,263 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2019 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormControllersPage } from './material/formControllersPage';
|
||||
|
||||
import { SettingsPage } from './settingsPage';
|
||||
import { browser, by, element, protractor } from 'protractor';
|
||||
import TestConfig = require('../../test.config');
|
||||
import { BrowserVisibility } from '@alfresco/adf-testing';
|
||||
|
||||
export class LoginPage {
|
||||
|
||||
formControllersPage = new FormControllersPage();
|
||||
txtUsername = element(by.css('input[id="username"]'));
|
||||
txtPassword = element(by.css('input[id="password"]'));
|
||||
logoImg = element(by.css('img[id="adf-login-img-logo"]'));
|
||||
successRouteTxt = element(by.css('input[data-automation-id="adf-success-route"]'));
|
||||
logoTxt = element(by.css('input[data-automation-id="adf-url-logo"]'));
|
||||
usernameTooltip = element(by.css('span[data-automation-id="username-error"]'));
|
||||
passwordTooltip = element(by.css('span[data-automation-id="password-required"]'));
|
||||
loginTooltip = element(by.css('span[class="adf-login-error-message"]'));
|
||||
usernameInactive = element(by.css('input[id="username"][aria-invalid="false"]'));
|
||||
passwordInactive = element(by.css('input[id="password"][aria-invalid="false"]'));
|
||||
adfLogo = element(by.css('img[class="adf-img-logo ng-star-inserted"]'));
|
||||
usernameHighlighted = element(by.css('input[id="username"][aria-invalid="true"]'));
|
||||
passwordHighlighted = element(by.css('input[id="password"][aria-invalid="true"]'));
|
||||
signInButton = element(by.id('login-button'));
|
||||
showPasswordElement = element(by.css('mat-icon[data-automation-id="show_password"]'));
|
||||
hidePasswordElement = element(by.css('mat-icon[data-automation-id="hide_password"]'));
|
||||
rememberMe = element(by.css('mat-checkbox[id="adf-login-remember"]'));
|
||||
needHelp = element(by.css('div[id="adf-login-action-left"]'));
|
||||
register = element(by.css('div[id="adf-login-action-right"]'));
|
||||
footerSwitch = element(by.id('switch4'));
|
||||
rememberMeSwitch = element(by.id('adf-toggle-show-rememberme'));
|
||||
successRouteSwitch = element(by.id('adf-toggle-show-successRoute'));
|
||||
logoSwitch = element(by.id('adf-toggle-logo'));
|
||||
header = element(by.id('adf-header'));
|
||||
settingsPage = new SettingsPage();
|
||||
settingsIcon = element(by.cssContainingText('a[data-automation-id="settings"] mat-icon', 'settings'));
|
||||
|
||||
waitForElements() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.txtUsername);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.txtPassword);
|
||||
return this;
|
||||
}
|
||||
|
||||
enterUsername(username) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.txtUsername);
|
||||
this.txtUsername.sendKeys('');
|
||||
this.txtUsername.clear();
|
||||
return this.txtUsername.sendKeys(username);
|
||||
}
|
||||
|
||||
enterPassword(password) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.txtPassword);
|
||||
this.txtPassword.clear();
|
||||
return this.txtPassword.sendKeys(password);
|
||||
}
|
||||
|
||||
clearUsername() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.txtUsername);
|
||||
this.txtUsername.click();
|
||||
this.txtUsername.getAttribute('value').then((value) => {
|
||||
for (let i = value.length; i >= 0; i--) {
|
||||
this.txtUsername.sendKeys(protractor.Key.BACK_SPACE);
|
||||
}
|
||||
});
|
||||
return this;
|
||||
}
|
||||
|
||||
clearPassword() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.txtPassword);
|
||||
this.txtPassword.getAttribute('value').then((value) => {
|
||||
for (let i = value.length; i >= 0; i--) {
|
||||
this.txtPassword.sendKeys(protractor.Key.BACK_SPACE);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
getUsernameTooltip() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.usernameTooltip);
|
||||
return this.usernameTooltip.getText();
|
||||
}
|
||||
|
||||
getPasswordTooltip() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.passwordTooltip);
|
||||
return this.passwordTooltip.getText();
|
||||
}
|
||||
|
||||
getLoginError() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.loginTooltip);
|
||||
return this.loginTooltip.getText();
|
||||
}
|
||||
|
||||
checkLoginImgURL() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.logoImg);
|
||||
return this.logoImg.getAttribute('src');
|
||||
}
|
||||
|
||||
checkUsernameInactive() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.usernameInactive);
|
||||
}
|
||||
|
||||
checkPasswordInactive() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.passwordInactive);
|
||||
}
|
||||
|
||||
checkUsernameHighlighted() {
|
||||
this.adfLogo.click();
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.usernameHighlighted);
|
||||
}
|
||||
|
||||
checkPasswordHighlighted() {
|
||||
this.adfLogo.click();
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.passwordHighlighted);
|
||||
}
|
||||
|
||||
checkUsernameTooltipIsNotVisible() {
|
||||
BrowserVisibility.waitUntilElementIsNotVisible(this.usernameTooltip);
|
||||
}
|
||||
|
||||
checkPasswordTooltipIsNotVisible() {
|
||||
BrowserVisibility.waitUntilElementIsNotVisible(this.passwordTooltip);
|
||||
}
|
||||
|
||||
getSignInButtonIsEnabled() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.signInButton);
|
||||
return this.signInButton.isEnabled();
|
||||
}
|
||||
|
||||
loginToProcessServicesUsingUserModel(userModel) {
|
||||
this.settingsPage.setProviderBpm();
|
||||
this.waitForElements();
|
||||
this.login(userModel.email, userModel.password);
|
||||
}
|
||||
|
||||
loginToContentServicesUsingUserModel(userModel) {
|
||||
this.settingsPage.setProviderEcm();
|
||||
this.waitForElements();
|
||||
|
||||
this.login(userModel.getId(), userModel.getPassword());
|
||||
}
|
||||
|
||||
loginToContentServices(username, password) {
|
||||
this.settingsPage.setProviderEcm();
|
||||
this.waitForElements();
|
||||
this.login(username, password);
|
||||
}
|
||||
|
||||
goToLoginPage() {
|
||||
browser.waitForAngularEnabled(true);
|
||||
browser.driver.get(TestConfig.adf.url + TestConfig.adf.port + '/login');
|
||||
this.waitForElements();
|
||||
}
|
||||
|
||||
clickSignInButton() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.signInButton);
|
||||
this.signInButton.click();
|
||||
}
|
||||
|
||||
clickSettingsIcon() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.settingsIcon);
|
||||
this.settingsIcon.click();
|
||||
}
|
||||
|
||||
showPassword() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.showPasswordElement);
|
||||
this.showPasswordElement.click();
|
||||
}
|
||||
|
||||
hidePassword() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.hidePasswordElement);
|
||||
this.hidePasswordElement.click();
|
||||
}
|
||||
|
||||
getShownPassword() {
|
||||
return this.txtPassword.getAttribute('value');
|
||||
}
|
||||
|
||||
checkPasswordIsHidden() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.txtPassword);
|
||||
}
|
||||
|
||||
checkRememberIsDisplayed() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.rememberMe);
|
||||
}
|
||||
|
||||
checkRememberIsNotDisplayed() {
|
||||
BrowserVisibility.waitUntilElementIsNotVisible(this.rememberMe);
|
||||
}
|
||||
|
||||
checkNeedHelpIsDisplayed() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.needHelp);
|
||||
}
|
||||
|
||||
checkNeedHelpIsNotDisplayed() {
|
||||
BrowserVisibility.waitUntilElementIsNotVisible(this.needHelp);
|
||||
}
|
||||
|
||||
checkRegisterDisplayed() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.register);
|
||||
}
|
||||
|
||||
checkRegisterIsNotDisplayed() {
|
||||
BrowserVisibility.waitUntilElementIsNotVisible(this.register);
|
||||
}
|
||||
|
||||
enableFooter() {
|
||||
this.formControllersPage.enableToggle(this.footerSwitch);
|
||||
}
|
||||
|
||||
disableFooter() {
|
||||
this.formControllersPage.disableToggle(this.footerSwitch);
|
||||
}
|
||||
|
||||
disableRememberMe() {
|
||||
this.formControllersPage.disableToggle(this.rememberMeSwitch);
|
||||
}
|
||||
|
||||
enableSuccessRouteSwitch() {
|
||||
this.formControllersPage.enableToggle(this.successRouteSwitch);
|
||||
}
|
||||
|
||||
enableLogoSwitch() {
|
||||
this.formControllersPage.enableToggle(this.logoSwitch);
|
||||
}
|
||||
|
||||
enterSuccessRoute(route) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.successRouteTxt);
|
||||
this.successRouteTxt.sendKeys('');
|
||||
this.successRouteTxt.clear();
|
||||
return this.successRouteTxt.sendKeys(route);
|
||||
}
|
||||
|
||||
enterLogo(logo) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.logoTxt);
|
||||
this.logoTxt.sendKeys('');
|
||||
this.logoTxt.clear();
|
||||
return this.logoTxt.sendKeys(logo);
|
||||
}
|
||||
|
||||
login(username, password) {
|
||||
this.waitForElements();
|
||||
this.enterUsername(username);
|
||||
this.enterPassword(password);
|
||||
this.clickSignInButton();
|
||||
return BrowserVisibility.waitUntilElementIsVisible(this.header);
|
||||
}
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2019 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { by } from 'protractor';
|
||||
import { BrowserVisibility } from '@alfresco/adf-testing';
|
||||
|
||||
export class FormControllersPage {
|
||||
|
||||
enableToggle(toggle) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(toggle);
|
||||
toggle.getAttribute('class').then((check) => {
|
||||
if (check.indexOf('mat-checked') < 0) {
|
||||
BrowserVisibility.waitUntilElementIsClickable(toggle.all(by.css('div')).first());
|
||||
toggle.all(by.css('div')).first().click();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
disableToggle(toggle) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(toggle);
|
||||
toggle.getAttribute('class').then((check) => {
|
||||
if (check.indexOf('mat-checked') >= 0) {
|
||||
BrowserVisibility.waitUntilElementIsClickable(toggle.all(by.css('div')).first());
|
||||
toggle.all(by.css('div')).first().click();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormControllersPage } from '../../material/formControllersPage';
|
||||
import { FormControllersPage } from '@alfresco/adf-testing';
|
||||
import { element, by } from 'protractor';
|
||||
|
||||
export class AppSettingsToggles {
|
||||
|
||||
@@ -1,302 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2019 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import TestConfig = require('../../test.config');
|
||||
import { browser, by, element, protractor } from 'protractor';
|
||||
import { BrowserVisibility } from '@alfresco/adf-testing';
|
||||
|
||||
export class SettingsPage {
|
||||
|
||||
settingsURL = TestConfig.adf.url + TestConfig.adf.port + '/settings';
|
||||
providerDropdown = element(by.css('mat-select[id="adf-provider-selector"] div[class="mat-select-arrow-wrapper"]'));
|
||||
ecmAndBpm = {
|
||||
option: element(by.xpath('//SPAN[@class="mat-option-text"][contains(text(),"ALL")]')),
|
||||
text: 'ALL'
|
||||
};
|
||||
bpm = {
|
||||
option: element(by.xpath('//SPAN[@class="mat-option-text"][contains(text(),"BPM") and not (contains(text(),"and"))]')),
|
||||
text: 'BPM'
|
||||
};
|
||||
ecm = {
|
||||
option: element(by.xpath('//SPAN[@class="mat-option-text"][contains(text(),"ECM") and not (contains(text(),"and"))]')),
|
||||
text: 'ECM'
|
||||
};
|
||||
oauth = {
|
||||
option: element(by.xpath('//SPAN[@class="mat-option-text"][contains(text(),"OAUTH")]')),
|
||||
text: 'OAUTH'
|
||||
};
|
||||
selectedOption = element(by.css('span[class*="mat-select-value-text"]'));
|
||||
ecmText = element(by.css('input[data-automation-id*="ecmHost"]'));
|
||||
bpmText = element(by.css('input[data-automation-id*="bpmHost"]'));
|
||||
clientIdText = element(by.css('input[id="clientId"]'));
|
||||
authHostText = element(by.css('input[id="oauthHost"]'));
|
||||
logoutUrlText = element(by.css('input[id="logout-url"]'));
|
||||
basicAuthRadioButton = element(by.cssContainingText('mat-radio-button[id*="mat-radio"]', 'Basic Authentication'));
|
||||
identityHostText = element(by.css('input[id="identityHost"]'));
|
||||
ssoRadioButton = element(by.cssContainingText('[id*="mat-radio"]', 'SSO'));
|
||||
silentLoginToggleLabel = element(by.css('mat-slide-toggle[name="silentLogin"] label'));
|
||||
silentLoginToggleElement = element(by.css('mat-slide-toggle[name="silentLogin"]'));
|
||||
implicitFlowLabel = element(by.css('mat-slide-toggle[name="implicitFlow"] label'));
|
||||
implicitFlowElement = element(by.css('mat-slide-toggle[name="implicitFlow"]'));
|
||||
applyButton = element(by.css('button[data-automation-id*="host-button"]'));
|
||||
backButton = element(by.cssContainingText('button span[class="mat-button-wrapper"]', 'Back'));
|
||||
validationMessage = element(by.cssContainingText('mat-error', 'This field is required'));
|
||||
|
||||
goToSettingsPage() {
|
||||
browser.waitForAngularEnabled(true);
|
||||
browser.driver.get(this.settingsURL);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.providerDropdown);
|
||||
return this;
|
||||
}
|
||||
|
||||
setProvider(option, selected) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.providerDropdown);
|
||||
this.providerDropdown.click();
|
||||
BrowserVisibility.waitUntilElementIsVisible(option);
|
||||
option.click();
|
||||
return expect(this.selectedOption.getText()).toEqual(selected);
|
||||
}
|
||||
|
||||
getSelectedOptionText() {
|
||||
return this.selectedOption.getText();
|
||||
}
|
||||
|
||||
getBpmHostUrl() {
|
||||
return this.bpmText.getAttribute('value');
|
||||
}
|
||||
|
||||
getEcmHostUrl() {
|
||||
return this.ecmText.getAttribute('value');
|
||||
}
|
||||
|
||||
getBpmOption() {
|
||||
return this.bpm.option;
|
||||
}
|
||||
|
||||
getEcmOption() {
|
||||
return this.ecm.option;
|
||||
}
|
||||
|
||||
getEcmAndBpmOption() {
|
||||
return this.ecmAndBpm.option;
|
||||
}
|
||||
|
||||
setProviderEcmBpm() {
|
||||
this.goToSettingsPage();
|
||||
this.setProvider(this.ecmAndBpm.option, this.ecmAndBpm.text);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.bpmText);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.ecmText);
|
||||
this.clickApply();
|
||||
return this;
|
||||
}
|
||||
|
||||
setProviderBpm() {
|
||||
this.goToSettingsPage();
|
||||
this.setProvider(this.bpm.option, this.bpm.text);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.bpmText);
|
||||
this.clickApply();
|
||||
return this;
|
||||
}
|
||||
|
||||
setProviderEcm() {
|
||||
this.goToSettingsPage();
|
||||
this.setProvider(this.ecm.option, this.ecm.text);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.ecmText);
|
||||
expect(this.bpmText.isPresent()).toBe(false);
|
||||
this.clickApply();
|
||||
return this;
|
||||
}
|
||||
|
||||
setProviderOauth() {
|
||||
this.goToSettingsPage();
|
||||
this.setProvider(this.oauth.option, this.oauth.text);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.bpmText);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.ecmText);
|
||||
expect(this.authHostText.isPresent()).toBe(true);
|
||||
this.clickApply();
|
||||
return this;
|
||||
}
|
||||
|
||||
async clickBackButton() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.backButton);
|
||||
await this.backButton.click();
|
||||
}
|
||||
|
||||
async clickSsoRadioButton() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.ssoRadioButton);
|
||||
await this.ssoRadioButton.click();
|
||||
}
|
||||
|
||||
async setProviderEcmSso(contentServiceURL, authHost, identityHost, silentLogin = true, implicitFlow = true, clientId?: string, logoutUr: string = '/logout') {
|
||||
this.goToSettingsPage();
|
||||
this.setProvider(this.ecm.option, this.ecm.text);
|
||||
BrowserVisibility.waitUntilElementIsNotOnPage(this.bpmText);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.ecmText);
|
||||
await this.clickSsoRadioButton();
|
||||
await this.setClientId(clientId);
|
||||
await this.setContentServicesURL(contentServiceURL);
|
||||
await this.setAuthHost(authHost);
|
||||
await this.setIdentityHost(identityHost);
|
||||
await this.setSilentLogin(silentLogin);
|
||||
await this.setImplicitFlow(implicitFlow);
|
||||
await this.setLogoutUrl(logoutUr);
|
||||
await this.clickApply();
|
||||
}
|
||||
|
||||
async setProviderBpmSso(processServiceURL, authHost, identityHost, silentLogin = true, implicitFlow = true) {
|
||||
this.goToSettingsPage();
|
||||
this.setProvider(this.bpm.option, this.bpm.text);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.bpmText);
|
||||
BrowserVisibility.waitUntilElementIsNotOnPage(this.ecmText);
|
||||
await this.clickSsoRadioButton();
|
||||
await this.setClientId();
|
||||
await this.setProcessServicesURL(processServiceURL);
|
||||
await this.setAuthHost(authHost);
|
||||
await this.setIdentityHost(identityHost);
|
||||
await this.setSilentLogin(silentLogin);
|
||||
await this.setImplicitFlow(implicitFlow);
|
||||
await this.clickApply();
|
||||
}
|
||||
|
||||
async setLogoutUrl(logoutUrl) {
|
||||
BrowserVisibility.waitUntilElementIsPresent(this.logoutUrlText);
|
||||
this.logoutUrlText.clear();
|
||||
this.logoutUrlText.sendKeys(logoutUrl);
|
||||
}
|
||||
|
||||
async setProcessServicesURL(processServiceURL) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.bpmText);
|
||||
this.bpmText.clear();
|
||||
this.bpmText.sendKeys(processServiceURL);
|
||||
}
|
||||
|
||||
async setClientId(clientId: string = TestConfig.adf_aps.clientIdSso) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.clientIdText);
|
||||
this.clientIdText.clear();
|
||||
this.clientIdText.sendKeys(clientId);
|
||||
}
|
||||
|
||||
async setContentServicesURL(contentServiceURL) {
|
||||
BrowserVisibility.waitUntilElementIsClickable(this.ecmText);
|
||||
this.ecmText.clear();
|
||||
this.ecmText.sendKeys(contentServiceURL);
|
||||
}
|
||||
|
||||
clearContentServicesURL() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.ecmText);
|
||||
this.ecmText.clear();
|
||||
this.ecmText.sendKeys('a');
|
||||
this.ecmText.sendKeys(protractor.Key.BACK_SPACE);
|
||||
}
|
||||
|
||||
clearProcessServicesURL() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.bpmText);
|
||||
this.bpmText.clear();
|
||||
this.bpmText.sendKeys('a');
|
||||
this.bpmText.sendKeys(protractor.Key.BACK_SPACE);
|
||||
}
|
||||
|
||||
async setAuthHost(authHostURL) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.authHostText);
|
||||
await this.authHostText.clear();
|
||||
await this.authHostText.sendKeys(authHostURL);
|
||||
}
|
||||
|
||||
async setIdentityHost(identityHost) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.identityHostText);
|
||||
await this.identityHostText.clear();
|
||||
await this.identityHostText.sendKeys(identityHost);
|
||||
}
|
||||
|
||||
async clickApply() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.applyButton);
|
||||
await this.applyButton.click();
|
||||
}
|
||||
|
||||
async setSilentLogin(enableToggle) {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.silentLoginToggleElement);
|
||||
|
||||
const isChecked = (await this.silentLoginToggleElement.getAttribute('class')).includes('mat-checked');
|
||||
|
||||
if (isChecked && !enableToggle || !isChecked && enableToggle) {
|
||||
return this.silentLoginToggleLabel.click();
|
||||
}
|
||||
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
async setImplicitFlow(enableToggle) {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.implicitFlowElement);
|
||||
|
||||
const isChecked = (await this.implicitFlowElement.getAttribute('class')).includes('mat-checked');
|
||||
|
||||
if (isChecked && !enableToggle || !isChecked && enableToggle) {
|
||||
return this.implicitFlowLabel.click();
|
||||
}
|
||||
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
checkApplyButtonIsDisabled() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.applyButton.getAttribute('disabled'));
|
||||
return this;
|
||||
}
|
||||
|
||||
checkProviderDropdownIsDisplayed() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.providerDropdown);
|
||||
}
|
||||
|
||||
checkValidationMessageIsDisplayed() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.validationMessage);
|
||||
}
|
||||
|
||||
checkProviderOptions() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.providerDropdown);
|
||||
this.providerDropdown.click();
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.ecmAndBpm.option);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.ecm.option);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.bpm.option);
|
||||
}
|
||||
|
||||
getBasicAuthRadioButton() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.basicAuthRadioButton);
|
||||
return this.basicAuthRadioButton;
|
||||
}
|
||||
|
||||
getSsoRadioButton() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.ssoRadioButton);
|
||||
return this.ssoRadioButton;
|
||||
}
|
||||
|
||||
getBackButton() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.backButton);
|
||||
return this.backButton;
|
||||
}
|
||||
|
||||
getApplyButton() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.applyButton);
|
||||
return this.applyButton;
|
||||
}
|
||||
|
||||
checkBasicAuthRadioIsSelected() {
|
||||
expect(this.getBasicAuthRadioButton().getAttribute('class')).toContain('mat-radio-checked');
|
||||
}
|
||||
|
||||
checkSsoRadioIsNotSelected() {
|
||||
expect(this.getSsoRadioButton().getAttribute('class')).not.toContain('mat-radio-checked');
|
||||
}
|
||||
}
|
||||
@@ -19,7 +19,7 @@ import TestConfig = require('../../test.config');
|
||||
import path = require('path');
|
||||
import remote = require('selenium-webdriver/remote');
|
||||
import { browser, by, element, protractor } from 'protractor';
|
||||
import { FormControllersPage } from './material/formControllersPage';
|
||||
import { FormControllersPage } from '@alfresco/adf-testing';
|
||||
import { BrowserVisibility } from '@alfresco/adf-testing';
|
||||
|
||||
export class VersionManagePage {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { TabsPage } from '@alfresco/adf-testing';
|
||||
import { FormControllersPage } from './material/formControllersPage';
|
||||
import { FormControllersPage } from '@alfresco/adf-testing';
|
||||
import { element, by, browser, protractor } from 'protractor';
|
||||
import { BrowserVisibility } from '@alfresco/adf-testing';
|
||||
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { LoginSSOPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
import TestConfig = require('../test.config');
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
import { LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { LoginSSOPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
import { ProcessCloudDemoPage } from '../pages/adf/demo-shell/process-services/processCloudDemoPage';
|
||||
|
||||
@@ -17,12 +17,9 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
import { ApiService, LoginSSOPage, TasksService } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { AppListCloudPage, StringUtil, ApiService, LoginSSOPage, TasksService, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { SettingsPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { PeopleGroupCloudComponentPage } from '../pages/adf/demo-shell/process-services/peopleGroupCloudComponentPage';
|
||||
import { GroupCloudComponentPage, PeopleCloudComponentPage } from '@alfresco/adf-testing';
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
import { TasksService, QueryService, ProcessDefinitionsService, ProcessInstancesService, LoginSSOPage, ApiService } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { TasksService, QueryService, ProcessDefinitionsService, ProcessInstancesService,
|
||||
LoginSSOPage, ApiService, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { ProcessCloudDemoPage } from '../pages/adf/demo-shell/process-services/processCloudDemoPage';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
import { TasksService, QueryService, ProcessDefinitionsService, ProcessInstancesService, LoginSSOPage, ApiService } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { TasksService, QueryService, ProcessDefinitionsService, ProcessInstancesService, LoginSSOPage, ApiService, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { ProcessCloudDemoPage } from '../pages/adf/demo-shell/process-services/processCloudDemoPage';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
|
||||
@@ -20,8 +20,7 @@ import CONSTANTS = require('../util/constants');
|
||||
import moment = require('moment');
|
||||
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { ApiService, StringUtil, LoginSSOPage, ProcessDefinitionsService, ProcessInstancesService, QueryService } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { ApiService, StringUtil, LoginSSOPage, ProcessDefinitionsService, ProcessInstancesService, QueryService, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
import { ProcessHeaderCloudPage } from '@alfresco/adf-testing';
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
*/
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
import { ProcessDefinitionsService, ProcessInstancesService, LoginSSOPage, ApiService } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { ProcessDefinitionsService, ProcessInstancesService, LoginSSOPage, ApiService, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { ProcessCloudDemoPage } from '../pages/adf/demo-shell/process-services/processCloudDemoPage';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { LoginSSOPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
import TestConfig = require('../test.config');
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -15,11 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import TestConfig = require('../test.config');
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
import { LoginSSOPage, AppListCloudPage, StringUtil, TaskHeaderCloudPage,
|
||||
import { LoginSSOPage, SettingsPage, AppListCloudPage, StringUtil, TaskHeaderCloudPage,
|
||||
StartTasksCloudPage, PeopleCloudComponentPage } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
|
||||
|
||||
@@ -17,12 +17,9 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
import { LoginSSOPage, TasksService, ApiService } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { LoginSSOPage, TasksService, ApiService, SettingsPage, AppListCloudPage, StringUtil } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
|
||||
describe('Task filters cloud', () => {
|
||||
|
||||
@@ -21,11 +21,8 @@ import { ApiService, StringUtil } from '@alfresco/adf-testing';
|
||||
import moment = require('moment');
|
||||
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
import { LoginSSOPage, SettingsPage, AppListCloudPage, TaskHeaderCloudPage, TasksService } from '@alfresco/adf-testing';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
import { TaskHeaderCloudPage, TasksService } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
|
||||
describe('Task Header cloud component', () => {
|
||||
|
||||
@@ -17,11 +17,12 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
import { StringUtil, TasksService, ProcessDefinitionsService, ProcessInstancesService, LoginSSOPage, ApiService } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { StringUtil, TasksService,
|
||||
ProcessDefinitionsService, ProcessInstancesService,
|
||||
LoginSSOPage, ApiService,
|
||||
SettingsPage, AppListCloudPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
import { ConfigEditorPage } from '../pages/adf/configEditorPage';
|
||||
import { TaskListCloudConfiguration } from './taskListCloud.config';
|
||||
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
import { ApiService, LoginSSOPage, TasksService } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { ApiService, LoginSSOPage, TasksService, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
import { StringUtil, TasksService, QueryService, ProcessDefinitionsService, ProcessInstancesService, LoginSSOPage, ApiService } from '@alfresco/adf-testing';
|
||||
import { SettingsPage } from '../pages/adf/settingsPage';
|
||||
import { StringUtil, TasksService, QueryService, ProcessDefinitionsService, ProcessInstancesService, LoginSSOPage, ApiService, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/processServicesPage';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { Widget } from '../pages/adf/process-services/widgets/widget';
|
||||
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
import { AttachFormPage } from '../pages/adf/process-services/attachFormPage';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/processServicesPage';
|
||||
import { ChecklistDialog } from '../pages/adf/process-services/dialog/createChecklistDialog';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/processFiltersPage';
|
||||
import { CommentsPage } from '../pages/adf/commentsPage';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
import { CommentsPage } from '../pages/adf/commentsPage';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/processFiltersPage';
|
||||
import { FiltersPage } from '../pages/adf/process-services/filtersPage';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/processFiltersPage';
|
||||
import { AppNavigationBarPage } from '../pages/adf/process-services/appNavigationBarPage';
|
||||
import { AppSettingsToggles } from '../pages/adf/process-services/dialog/appSettingsToggles';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { TaskListDemoPage } from '../pages/adf/demo-shell/process-services/taskListDemoPage';
|
||||
import { PaginationPage } from '../pages/adf/paginationPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/processFiltersPage';
|
||||
import { AppNavigationBarPage } from '../pages/adf/process-services/appNavigationBarPage';
|
||||
import { DynamicTableWidget } from '../pages/adf/process-services/widgets/dynamicTableWidget';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
import resources = require('../util/resources');
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/processServicesPage';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/processFiltersPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { FormPage } from '../pages/adf/process-services/formPage';
|
||||
import { DateWidget } from '../pages/adf/process-services/widgets/dateWidget';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/processFiltersPage';
|
||||
import { Widget } from '../pages/adf/process-services/widgets/widget';
|
||||
import { StartProcessPage } from '../pages/adf/process-services/startProcessPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
import { Widget } from '../pages/adf/process-services/widgets/widget';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { PaginationPage } from '../pages/adf/paginationPage';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/processFiltersPage';
|
||||
import { ProcessDetailsPage } from '../pages/adf/process-services/processDetailsPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
import { PaginationPage } from '../pages/adf/paginationPage';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/processServicesPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/processFiltersPage';
|
||||
import { ProcessDetailsPage } from '../pages/adf/process-services/processDetailsPage';
|
||||
import { AttachmentListPage } from '../pages/adf/process-services/attachmentListPage';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
import resources = require('../util/resources');
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/processServicesPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { ProcessListDemoPage } from '../pages/adf/demo-shell/process-services/processListDemoPage';
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { PaginationPage } from '../pages/adf/paginationPage';
|
||||
import { ProcessFiltersPage } from '../pages/adf/process-services/processFiltersPage';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { PaginationPage } from '../pages/adf/paginationPage';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import { Util } from '../util/util';
|
||||
import TestConfig = require('../test.config');
|
||||
import resources = require('../util/resources');
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/processServicesPage';
|
||||
import { StartProcessPage } from '../pages/adf/process-services/startProcessPage';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { by } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
import { AttachmentListPage } from '../pages/adf/process-services/attachmentListPage';
|
||||
import { AppNavigationBarPage } from '../pages/adf/process-services/appNavigationBarPage';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import { by } from 'protractor';
|
||||
|
||||
import { LoginPage } from '../pages/adf/loginPage';
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasksPage';
|
||||
import { AttachmentListPage } from '../pages/adf/process-services/attachmentListPage';
|
||||
import { AppNavigationBarPage } from '../pages/adf/process-services/appNavigationBarPage';
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user