@eclipse-che/che-e2e
Advanced tools
Comparing version 7.90.1-next-84f8338 to 7.90.1-next-af69ec4
@@ -74,3 +74,3 @@ /** ******************************************************************* | ||
*/ | ||
TESTING_APPLICATION_VERSION: process.env.TESTING_APPLICATION_VERSION || '3.9', | ||
TESTING_APPLICATION_VERSION: process.env.TESTING_APPLICATION_VERSION || 'next', | ||
@@ -77,0 +77,0 @@ /** |
@@ -52,3 +52,3 @@ "use strict"; | ||
*/ | ||
TESTING_APPLICATION_VERSION: process.env.TESTING_APPLICATION_VERSION || '3.9', | ||
TESTING_APPLICATION_VERSION: process.env.TESTING_APPLICATION_VERSION || 'next', | ||
/** | ||
@@ -55,0 +55,0 @@ * is "https://access.redhat.com/documentation/en-us/red_hat_openshift_dev_spaces/{TESTING_APPLICATION_VERSION}/" available online |
@@ -35,2 +35,3 @@ "use strict"; | ||
const dashboard = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.Dashboard); | ||
const createWorkspace = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.CreateWorkspace); | ||
let projectSection; | ||
@@ -52,2 +53,3 @@ let scmProvider; | ||
await browserTabsUtil.navigateTo(FACTORY_TEST_CONSTANTS_1.FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_URL()); | ||
await createWorkspace.performTrustAuthorPopup(); | ||
}); | ||
@@ -54,0 +56,0 @@ if (OAUTH_CONSTANTS_1.OAUTH_CONSTANTS.TS_SELENIUM_GIT_PROVIDER_OAUTH) { |
@@ -35,2 +35,3 @@ "use strict"; | ||
const testWorkspaceUtil = inversify_config_1.e2eContainer.get(inversify_types_1.TYPES.WorkspaceUtil); | ||
const createWorkspace = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.CreateWorkspace); | ||
let projectSection; | ||
@@ -60,2 +61,3 @@ let scmProvider; | ||
await browserTabsUtil.navigateTo(FACTORY_TEST_CONSTANTS_1.FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_URL()); | ||
await createWorkspace.performTrustAuthorPopup(); | ||
}); | ||
@@ -62,0 +64,0 @@ if (FACTORY_TEST_CONSTANTS_1.FACTORY_TEST_CONSTANTS.TS_SELENIUM_IS_PRIVATE_FACTORY_GIT_REPO) { |
@@ -35,2 +35,3 @@ "use strict"; | ||
const dashboard = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.Dashboard); | ||
const createWorkspace = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.CreateWorkspace); | ||
let projectSection; | ||
@@ -55,2 +56,3 @@ let scmProvider; | ||
await browserTabsUtil.navigateTo(FACTORY_TEST_CONSTANTS_1.FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_URL()); | ||
await createWorkspace.performTrustAuthorPopup(); | ||
}); | ||
@@ -57,0 +59,0 @@ test(`Authorize with a ${FACTORY_TEST_CONSTANTS_1.FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_GIT_PROVIDER} OAuth and deny access`, async function () { |
@@ -32,2 +32,3 @@ "use strict"; | ||
const driverHelper = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.DriverHelper); | ||
const createWorkspace = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.CreateWorkspace); | ||
let podName = ''; | ||
@@ -46,2 +47,3 @@ suiteSetup(function () { | ||
await browserTabsUtil.navigateTo(factoryUrl); | ||
await createWorkspace.performTrustAuthorPopup(); | ||
await workspaceHandlingTests.obtainWorkspaceNameFromStartingPage(); | ||
@@ -48,0 +50,0 @@ (0, MochaHooks_1.registerRunningWorkspace)(WorkspaceHandlingTests_1.WorkspaceHandlingTests.getWorkspaceName()); |
@@ -79,3 +79,2 @@ "use strict"; | ||
async obtainWorkspaceNameFromStartingPage() { | ||
await this.createWorkspace.performTrustAuthorPopup(); | ||
const timeout = TIMEOUT_CONSTANTS_1.TIMEOUT_CONSTANTS.TS_SELENIUM_START_WORKSPACE_TIMEOUT; | ||
@@ -82,0 +81,0 @@ const polling = TIMEOUT_CONSTANTS_1.TIMEOUT_CONSTANTS.TS_SELENIUM_DEFAULT_POLLING; |
{ | ||
"name": "@eclipse-che/che-e2e", | ||
"version": "7.90.1-next-84f8338", | ||
"version": "7.90.1-next-af69ec4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -42,2 +42,3 @@ /** ******************************************************************* | ||
import { Dashboard } from '../../pageobjects/dashboard/Dashboard'; | ||
import { CreateWorkspace } from '../../pageobjects/dashboard/CreateWorkspace'; | ||
@@ -57,2 +58,3 @@ suite( | ||
const dashboard: Dashboard = e2eContainer.get(CLASSES.Dashboard); | ||
const createWorkspace: CreateWorkspace = e2eContainer.get(CLASSES.CreateWorkspace); | ||
@@ -77,2 +79,3 @@ let projectSection: ViewSection; | ||
await browserTabsUtil.navigateTo(FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_URL()); | ||
await createWorkspace.performTrustAuthorPopup(); | ||
}); | ||
@@ -79,0 +82,0 @@ |
@@ -43,2 +43,3 @@ /** ******************************************************************* | ||
import { ITestWorkspaceUtil } from '../../utils/workspace/ITestWorkspaceUtil'; | ||
import { CreateWorkspace } from '../../pageobjects/dashboard/CreateWorkspace'; | ||
@@ -58,2 +59,3 @@ suite( | ||
const testWorkspaceUtil: ITestWorkspaceUtil = e2eContainer.get(TYPES.WorkspaceUtil); | ||
const createWorkspace: CreateWorkspace = e2eContainer.get(CLASSES.CreateWorkspace); | ||
@@ -88,2 +90,3 @@ let projectSection: ViewSection; | ||
await browserTabsUtil.navigateTo(FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_URL()); | ||
await createWorkspace.performTrustAuthorPopup(); | ||
}); | ||
@@ -90,0 +93,0 @@ |
@@ -42,2 +42,3 @@ /** ******************************************************************* | ||
import { Dashboard } from '../../pageobjects/dashboard/Dashboard'; | ||
import { CreateWorkspace } from '../../pageobjects/dashboard/CreateWorkspace'; | ||
@@ -57,2 +58,3 @@ suite( | ||
const dashboard: Dashboard = e2eContainer.get(CLASSES.Dashboard); | ||
const createWorkspace: CreateWorkspace = e2eContainer.get(CLASSES.CreateWorkspace); | ||
@@ -81,2 +83,3 @@ let projectSection: ViewSection; | ||
await browserTabsUtil.navigateTo(FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_URL()); | ||
await createWorkspace.performTrustAuthorPopup(); | ||
}); | ||
@@ -83,0 +86,0 @@ |
@@ -28,2 +28,3 @@ /** ******************************************************************* | ||
import { FACTORY_TEST_CONSTANTS } from '../../constants/FACTORY_TEST_CONSTANTS'; | ||
import { CreateWorkspace } from '../../pageobjects/dashboard/CreateWorkspace'; | ||
@@ -42,2 +43,3 @@ suite(`Workspace using a parent test suite ${BASE_TEST_CONSTANTS.TEST_ENVIRONMENT}`, function (): void { | ||
const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper); | ||
const createWorkspace: CreateWorkspace = e2eContainer.get(CLASSES.CreateWorkspace); | ||
@@ -61,2 +63,3 @@ let podName: string = ''; | ||
await browserTabsUtil.navigateTo(factoryUrl); | ||
await createWorkspace.performTrustAuthorPopup(); | ||
await workspaceHandlingTests.obtainWorkspaceNameFromStartingPage(); | ||
@@ -63,0 +66,0 @@ registerRunningWorkspace(WorkspaceHandlingTests.getWorkspaceName()); |
@@ -80,4 +80,2 @@ /** ******************************************************************* | ||
async obtainWorkspaceNameFromStartingPage(): Promise<void> { | ||
await this.createWorkspace.performTrustAuthorPopup(); | ||
const timeout: number = TIMEOUT_CONSTANTS.TS_SELENIUM_START_WORKSPACE_TIMEOUT; | ||
@@ -84,0 +82,0 @@ const polling: number = TIMEOUT_CONSTANTS.TS_SELENIUM_DEFAULT_POLLING; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
1157032
301
16741
60