mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-10468] e2es Task List fixes (#7797)
* [AAE-10468][ci:force] update selector * [ci:force] force first selector * [ci:force] try headless protractor * [ci:force] trigger travis * [ci:force] ci headless test
This commit is contained in:
@@ -28,7 +28,7 @@ env:
|
|||||||
#E2E VARIABLES
|
#E2E VARIABLES
|
||||||
- SAVE_SCREENSHOT=true
|
- SAVE_SCREENSHOT=true
|
||||||
- REDIRECT_URI=/
|
- REDIRECT_URI=/
|
||||||
- BROWSER_RUN=true
|
- BROWSER_RUN=false
|
||||||
- MAXINSTANCES=2
|
- MAXINSTANCES=2
|
||||||
- PROXY_HOST_ECM=$E2E_HOST
|
- PROXY_HOST_ECM=$E2E_HOST
|
||||||
- PROXY_HOST_BPM=$E2E_HOST
|
- PROXY_HOST_BPM=$E2E_HOST
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
const {LocalStorageUtil, Logger} = require('@alfresco/adf-testing');
|
const { LocalStorageUtil, Logger } = require('@alfresco/adf-testing');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const {SpecReporter} = require('jasmine-spec-reporter');
|
const { SpecReporter } = require('jasmine-spec-reporter');
|
||||||
const retry = require('protractor-retry-angular-cli').retry;
|
const retry = require('protractor-retry-angular-cli').retry;
|
||||||
const tsConfig = require('./tsconfig.e2e.json');
|
const tsConfig = require('./tsconfig.e2e.json');
|
||||||
const testConfig = require('./test.config');
|
const testConfig = require('./test.config');
|
||||||
@@ -9,7 +9,7 @@ const resolve = require('path').resolve;
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const smartRunnerFactory = require('./smartrunner-factory');
|
const smartRunnerFactory = require('./smartrunner-factory');
|
||||||
|
|
||||||
const {uploadScreenshot} = require('./protractor/save-remote');
|
const { uploadScreenshot } = require('./protractor/save-remote');
|
||||||
const argv = require('yargs').argv;
|
const argv = require('yargs').argv;
|
||||||
|
|
||||||
const width = 1657, height = 1657;
|
const width = 1657, height = 1657;
|
||||||
@@ -18,11 +18,11 @@ const ENV_FILE = process.env.ENV_FILE;
|
|||||||
const GROUP_SUFFIX = process.env.PREFIX || process.env.TRAVIS_BUILD_NUMBER || 'adf';
|
const GROUP_SUFFIX = process.env.PREFIX || process.env.TRAVIS_BUILD_NUMBER || 'adf';
|
||||||
|
|
||||||
if (ENV_FILE) {
|
if (ENV_FILE) {
|
||||||
require('dotenv').config({path: ENV_FILE});
|
require('dotenv').config({ path: ENV_FILE });
|
||||||
}
|
}
|
||||||
|
|
||||||
const HOST = process.env.URL_HOST_ADF;
|
const HOST = process.env.URL_HOST_ADF;
|
||||||
const BROWSER_RUN = !!process.env.BROWSER_RUN;
|
const BROWSER_RUN = ([true, 'true'].includes(process.env.BROWSER_RUN))
|
||||||
const FOLDER = process.env.FOLDER || '';
|
const FOLDER = process.env.FOLDER || '';
|
||||||
const SELENIUM_SERVER = process.env.SELENIUM_SERVER || '';
|
const SELENIUM_SERVER = process.env.SELENIUM_SERVER || '';
|
||||||
const MAXINSTANCES = process.env.MAXINSTANCES || 1;
|
const MAXINSTANCES = process.env.MAXINSTANCES || 1;
|
||||||
|
@@ -2,7 +2,5 @@
|
|||||||
"C269081": "https://alfresco.atlassian.net/browse/ADF-5385",
|
"C269081": "https://alfresco.atlassian.net/browse/ADF-5385",
|
||||||
"C272819": "https://alfresco.atlassian.net/browse/ADF-5385",
|
"C272819": "https://alfresco.atlassian.net/browse/ADF-5385",
|
||||||
"C362241": "https://alfresco.atlassian.net/browse/ADF-5385",
|
"C362241": "https://alfresco.atlassian.net/browse/ADF-5385",
|
||||||
"C260040": "https://alfresco.atlassian.net/browse/AAE-8041",
|
"C260040": "https://alfresco.atlassian.net/browse/AAE-8041"
|
||||||
"C292004": "https://alfresco.atlassian.net/browse/AAE-10468",
|
|
||||||
"C297613": "https://alfresco.atlassian.net/browse/AAE-10468"
|
|
||||||
}
|
}
|
||||||
|
@@ -76,7 +76,7 @@ export class DropdownPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async checkOptionsPanelIsDisplayed(): Promise<void> {
|
async checkOptionsPanelIsDisplayed(): Promise<void> {
|
||||||
await BrowserVisibility.waitUntilElementIsVisible($('.mat-select-panel'));
|
await BrowserVisibility.waitUntilElementIsVisible($$(`.mat-select-panel`).first());
|
||||||
}
|
}
|
||||||
|
|
||||||
async getSelectedOptionText(): Promise<string> {
|
async getSelectedOptionText(): Promise<string> {
|
||||||
|
Reference in New Issue
Block a user