mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4587] Fix e2e tests (#4757)
* Fix user_info test * Removing duplication and hardcoded protocol * Fix linting and update script * Removing hardcoded protocol * Add protocol to scripts * Fix C260117 * Enable screenshots for cloud tests * Update process-services-cloud-e2e.sh
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
import { LoginSSOPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import TestConfig = require('../test.config');
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { UserInfoPage } from '@alfresco/adf-testing';
|
||||
import { IdentityService, ApiService } from '@alfresco/adf-testing';
|
||||
|
||||
@@ -25,7 +24,6 @@ describe('User Info - SSO', () => {
|
||||
|
||||
const settingsPage = new SettingsPage();
|
||||
const loginSSOPage = new LoginSSOPage();
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
const userInfoPage = new UserInfoPage();
|
||||
let silentLogin, identityUser;
|
||||
let identityService: IdentityService;
|
||||
@@ -54,7 +52,6 @@ describe('User Info - SSO', () => {
|
||||
});
|
||||
|
||||
it('[C290066] Should display UserInfo when login using SSO', () => {
|
||||
navigationBarPage.navigateToProcessServicesCloudPage();
|
||||
userInfoPage.clickUserProfile();
|
||||
expect(userInfoPage.getSsoHeaderTitle()).toEqual(identityUser.firstName + ' ' + identityUser.lastName);
|
||||
expect(userInfoPage.getSsoTitle()).toEqual(identityUser.firstName + ' ' + identityUser.lastName);
|
||||
|
Reference in New Issue
Block a user