@eclipse-che/che-e2e
Advanced tools
Comparing version 7.94.0-next-3bef038 to 7.94.0-next-8cb40db
@@ -50,3 +50,3 @@ /** ******************************************************************* | ||
import { OauthPage } from '../pageobjects/git-providers/OauthPage'; | ||
import { DevfilesRegistryHelper } from '../utils/DevfilesRegistryHelper'; | ||
import { DevfilesHelper } from '../utils/DevfilesHelper'; | ||
import { Main as Generator } from '@eclipse-che/che-devworkspace-generator/lib/main'; | ||
@@ -88,3 +88,3 @@ import { ContainerTerminal, KubernetesCommandLineToolsExecutor } from '../utils/KubernetesCommandLineToolsExecutor'; | ||
e2eContainer.bind<RedHatLoginPage>(CLASSES.RedHatLoginPage).to(RedHatLoginPage); | ||
e2eContainer.bind<DevfilesRegistryHelper>(CLASSES.DevfilesRegistryHelper).to(DevfilesRegistryHelper); | ||
e2eContainer.bind<DevfilesHelper>(CLASSES.DevfilesRegistryHelper).to(DevfilesHelper); | ||
e2eContainer.bind<KubernetesCommandLineToolsExecutor>(CLASSES.KubernetesCommandLineToolsExecutor).to(KubernetesCommandLineToolsExecutor); | ||
@@ -91,0 +91,0 @@ e2eContainer.bind<ShellExecutor>(CLASSES.ShellExecutor).to(ShellExecutor); |
@@ -47,3 +47,3 @@ "use strict"; | ||
const OauthPage_1 = require("../pageobjects/git-providers/OauthPage"); | ||
const DevfilesRegistryHelper_1 = require("../utils/DevfilesRegistryHelper"); | ||
const DevfilesHelper_1 = require("../utils/DevfilesHelper"); | ||
const main_1 = require("@eclipse-che/che-devworkspace-generator/lib/main"); | ||
@@ -84,3 +84,3 @@ const KubernetesCommandLineToolsExecutor_1 = require("../utils/KubernetesCommandLineToolsExecutor"); | ||
e2eContainer.bind(inversify_types_1.CLASSES.RedHatLoginPage).to(RedHatLoginPage_1.RedHatLoginPage); | ||
e2eContainer.bind(inversify_types_1.CLASSES.DevfilesRegistryHelper).to(DevfilesRegistryHelper_1.DevfilesRegistryHelper); | ||
e2eContainer.bind(inversify_types_1.CLASSES.DevfilesRegistryHelper).to(DevfilesHelper_1.DevfilesHelper); | ||
e2eContainer.bind(inversify_types_1.CLASSES.KubernetesCommandLineToolsExecutor).to(KubernetesCommandLineToolsExecutor_1.KubernetesCommandLineToolsExecutor); | ||
@@ -87,0 +87,0 @@ e2eContainer.bind(inversify_types_1.CLASSES.ShellExecutor).to(ShellExecutor_1.ShellExecutor); |
@@ -38,3 +38,3 @@ "use strict"; | ||
__exportStar(require("./utils/DevWorkspaceConfigurationHelper"), exports); | ||
__exportStar(require("./utils/DevfilesRegistryHelper"), exports); | ||
__exportStar(require("./utils/DevfilesHelper"), exports); | ||
__exportStar(require("./utils/DriverHelper"), exports); | ||
@@ -41,0 +41,0 @@ __exportStar(require("./utils/IContextParams"), exports); |
@@ -24,4 +24,5 @@ "use strict"; | ||
const devfileContent = 'schemaVersion: 2.2.0\n' + 'metadata:\n' + ` name: ${workspaceName}\n`; | ||
const editorContent = ''; | ||
devWorkspaceConfigurationHelper = new DevWorkspaceConfigurationHelper_1.DevWorkspaceConfigurationHelper({ | ||
devfileContent | ||
devfileContent, editorContent | ||
}); | ||
@@ -28,0 +29,0 @@ devfileContext = await devWorkspaceConfigurationHelper.generateDevfileContext(); |
@@ -9,3 +9,3 @@ import * as inversifyConfig from './configs/inversify.config'; | ||
export * from './utils/DevWorkspaceConfigurationHelper'; | ||
export * from './utils/DevfilesRegistryHelper'; | ||
export * from './utils/DevfilesHelper'; | ||
export * from './utils/DriverHelper'; | ||
@@ -12,0 +12,0 @@ export * from './utils/IContextParams'; |
{ | ||
"name": "@eclipse-che/che-e2e", | ||
"version": "7.94.0-next-3bef038", | ||
"version": "7.94.0-next-8cb40db", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -19,3 +19,3 @@ /** ******************************************************************* | ||
import { CLASSES } from '../../configs/inversify.types'; | ||
import { DevfilesRegistryHelper } from '../../utils/DevfilesRegistryHelper'; | ||
import { DevfilesHelper } from '../../utils/DevfilesHelper'; | ||
import { MOCHA_CONSTANTS } from '../../constants/MOCHA_CONSTANTS'; | ||
@@ -30,3 +30,3 @@ import { API_TEST_CONSTANTS } from '../../constants/API_TEST_CONSTANTS'; | ||
void (async function (): Promise<void> { | ||
const devfilesRegistryHelper: DevfilesRegistryHelper = e2eContainer.get(CLASSES.DevfilesRegistryHelper); | ||
const devfilesRegistryHelper: DevfilesHelper = e2eContainer.get(CLASSES.DevfilesRegistryHelper); | ||
@@ -33,0 +33,0 @@ let devfileSamples: any = []; |
@@ -37,5 +37,6 @@ /** ******************************************************************* | ||
const devfileContent: string = 'schemaVersion: 2.2.0\n' + 'metadata:\n' + ` name: ${workspaceName}\n`; | ||
const editorContent:string=''; | ||
devWorkspaceConfigurationHelper = new DevWorkspaceConfigurationHelper({ | ||
devfileContent | ||
devfileContent, editorContent | ||
}); | ||
@@ -42,0 +43,0 @@ devfileContext = await devWorkspaceConfigurationHelper.generateDevfileContext(); |
@@ -15,3 +15,3 @@ /** ******************************************************************* | ||
import { StringUtil } from '../../utils/StringUtil'; | ||
import { DevfilesRegistryHelper } from '../../utils/DevfilesRegistryHelper'; | ||
import { DevfilesHelper } from '../../utils/DevfilesHelper'; | ||
import { Logger } from '../../utils/Logger'; | ||
@@ -31,3 +31,3 @@ import { e2eContainer } from '../../configs/inversify.config'; | ||
void (async function (): Promise<void> { | ||
const devfilesRegistryHelper: DevfilesRegistryHelper = e2eContainer.get(CLASSES.DevfilesRegistryHelper); | ||
const devfilesRegistryHelper: DevfilesHelper = e2eContainer.get(CLASSES.DevfilesRegistryHelper); | ||
let devfileSamples: any; | ||
@@ -34,0 +34,0 @@ if (MOCHA_CONSTANTS.MOCHA_DELAYED_SUITE) { |
@@ -23,2 +23,3 @@ /** ******************************************************************* | ||
import getDecorators from 'inversify-inject-decorators'; | ||
import {DevfilesHelper} from "./DevfilesHelper"; | ||
@@ -102,2 +103,3 @@ const { lazyInject } = getDecorators(e2eContainer); | ||
} | ||
patchDevWorkspaceConfigWithBuildContainerAttribute(devfileContextDevWorkspace: any): void { | ||
@@ -104,0 +106,0 @@ Logger.debug(); |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 3 instances in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
1199839
310
17343
38