mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[no-issue] Parallel run e2e and e2e common action refactoring (#4702)
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { browser, protractor } from 'protractor';
|
||||
import { LoginPage, SettingsPage, BrowserActions } from '@alfresco/adf-testing';
|
||||
import { protractor } from 'protractor';
|
||||
import { AcsUserModel } from '../models/ACS/acsUserModel';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { ProcessServicesPage } from '../pages/adf/process-services/processServicesPage';
|
||||
@@ -49,7 +49,7 @@ describe('Settings component', () => {
|
||||
loginPage.waitForElements();
|
||||
});
|
||||
|
||||
it('[C291946] Should not save BPM Settings changes when User clicks Back button', () => {
|
||||
xit('[C291946] Should not save BPM Settings changes when User clicks Back button', () => {
|
||||
settingsPage.setProvider(settingsPage.getBpmOption(), 'BPM');
|
||||
settingsPage.setProcessServicesURL('http://myenvUrl.co.uk');
|
||||
settingsPage.clickBackButton();
|
||||
@@ -60,7 +60,7 @@ describe('Settings component', () => {
|
||||
|
||||
});
|
||||
|
||||
it('[C291947] Should not save ECM Settings changes when User clicks Back button', () => {
|
||||
xit('[C291947] Should not save ECM Settings changes when User clicks Back button', () => {
|
||||
settingsPage.setProvider(settingsPage.getEcmOption(), 'ECM');
|
||||
settingsPage.setContentServicesURL('http://myenvUrl.co.uk');
|
||||
settingsPage.clickBackButton();
|
||||
@@ -72,6 +72,8 @@ describe('Settings component', () => {
|
||||
});
|
||||
|
||||
it('[C291948] Should save ALL Settings changes when User clicks Apply button', () => {
|
||||
loginPage.goToLoginPage();
|
||||
loginPage.clickSettingsIcon();
|
||||
settingsPage.setProviderEcmBpm();
|
||||
loginPage.waitForElements();
|
||||
settingsPage.goToSettingsPage();
|
||||
@@ -170,7 +172,7 @@ describe('Settings component', () => {
|
||||
expect(settingsPage.getApplyButton().isEnabled()).toBe(true);
|
||||
settingsPage.clickBackButton();
|
||||
loginPage.waitForElements();
|
||||
browser.get(TestConfig.adf.url + '/activiti');
|
||||
BrowserActions.getUrl(TestConfig.adf.url + '/activiti');
|
||||
processServicesPage.checkApsContainer();
|
||||
processServicesPage.checkAppIsDisplayed('Task App');
|
||||
});
|
||||
@@ -197,7 +199,7 @@ describe('Settings component', () => {
|
||||
expect(settingsPage.getApplyButton().isEnabled()).toBe(true);
|
||||
settingsPage.clickBackButton();
|
||||
loginPage.waitForElements();
|
||||
browser.get(TestConfig.adf.url + '/files');
|
||||
BrowserActions.getUrl(TestConfig.adf.url + '/files');
|
||||
contentServicesPage.checkAcsContainer();
|
||||
});
|
||||
|
||||
@@ -227,9 +229,9 @@ describe('Settings component', () => {
|
||||
expect(settingsPage.getApplyButton().isEnabled()).toBe(true);
|
||||
settingsPage.clickBackButton();
|
||||
loginPage.waitForElements();
|
||||
browser.get(TestConfig.adf.url + '/files');
|
||||
BrowserActions.getUrl(TestConfig.adf.url + '/files');
|
||||
contentServicesPage.checkAcsContainer();
|
||||
browser.get(TestConfig.adf.url + '/activiti');
|
||||
BrowserActions.getUrl(TestConfig.adf.url + '/activiti');
|
||||
processServicesPage.checkApsContainer();
|
||||
processServicesPage.checkAppIsDisplayed('Task App');
|
||||
});
|
||||
|
Reference in New Issue
Block a user