E2E: Change waiting timeout to increase reliability e2e test (#14106)
parent
840d154626
commit
e2fdea04a9
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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\']');
|
||||
|
|
|
|||
Loading…
Reference in New Issue