diff --git a/e2e/TestConstants.ts b/e2e/TestConstants.ts index f39af4c9e0..bc710f8188 100644 --- a/e2e/TestConstants.ts +++ b/e2e/TestConstants.ts @@ -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. diff --git a/e2e/pageobjects/openshift/OcpWebConsolePage.ts b/e2e/pageobjects/openshift/OcpWebConsolePage.ts index fa99c13185..34d5de6990 100644 --- a/e2e/pageobjects/openshift/OcpWebConsolePage.ts +++ b/e2e/pageobjects/openshift/OcpWebConsolePage.ts @@ -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\']');