E2E: Change waiting timeout to increase reliability e2e test (#14106)

7.20.x
Aleksandr Shmaraiev 2019-08-02 17:08:13 +03:00 committed by GitHub
parent 840d154626
commit e2fdea04a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -30,9 +30,9 @@ export const TestConstants = {
TS_SELENIUM_RESOLUTION_HEIGHT: Number(process.env.TS_SELENIUM_RESOLUTION_HEIGHT) || 1080,
/**
* Timeout in milliseconds waiting for install Eclipse Che by OperatorHub UI, "480 000" by default.
* Timeout in milliseconds waiting for install Eclipse Che by OperatorHub UI, "600 000" by default.
*/
TS_SELENIUM_INSTALL_ECLIPSE_CHE_TIMEOUT: Number(process.env.TS_SELENIUM_START_WORKSPACE_TIMEOUT) || 480000,
TS_SELENIUM_INSTALL_ECLIPSE_CHE_TIMEOUT: Number(process.env.TS_SELENIUM_START_WORKSPACE_TIMEOUT) || 600000,
/**
* Timeout in milliseconds waiting for workspace start, "240 000" by default.

View File

@ -45,7 +45,7 @@ export class OcpWebConsolePage {
async clickOnEclipseCheOperatorIcon () {
const catalogEclipseCheOperatorTitleLocator: By = By.css('a[data-test^=eclipse-che-preview-openshift]');
await this.driverHelper.waitAndClick(catalogEclipseCheOperatorTitleLocator);
await this.driverHelper.waitAndClick(catalogEclipseCheOperatorTitleLocator, TestConstants.TS_SELENIUM_LOAD_PAGE_TIMEOUT);
}
async clickOnInstallEclipseCheButton () {
const installEclipsCheOperatorButtonLocator: By = By.xpath('//button[text()=\'Install\']');