@eclipse-che/che-e2e 7.46.1-dev-21b7d9f → 7.46.1-dev-deca6d7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,14 +12,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const inversify_config_1 = require("../../inversify.config");
13
13
  const inversify_types_1 = require("../../inversify.types");
14
14
  const TestConstants_1 = require("../../TestConstants");
15
+ const WorkspaceHandlingTests_1 = require("../../testsLibrary/WorkspaceHandlingTests");
15
16
  const projectAndFileTests = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.ProjectAndFileTests);
16
17
  const browserTabsUtil = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.BrowserTabsUtil);
17
18
  const workspaceHandlingTests = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.WorkspaceHandlingTests);
18
19
  const devfileUrl = 'https://github.com/che-samples/web-nodejs-sample/tree/devfilev2';
19
- const factoryUrl = `${TestConstants_1.TestConstants.TS_SELENIUM_BASE_URL}/f?url=${devfileUrl}`;
20
+ const factoryUrl = `${TestConstants_1.TestConstants.TS_SELENIUM_BASE_URL}#${devfileUrl}?new`;
20
21
  const projectName = 'web-nodejs-sample';
21
22
  const subRootFolder = 'app';
22
- let workspaceName = 'nodejs-web-app';
23
23
  suite('Load test suite', async () => {
24
24
  suite('Create workspace', async () => {
25
25
  test('Create workspace using factory', async () => {
@@ -30,7 +30,7 @@ suite('Load test suite', async () => {
30
30
  });
31
31
  suite('Stopping and deleting the workspace', async () => {
32
32
  test('Stop and remove workspace', async () => {
33
- await workspaceHandlingTests.stopAndRemoveWorkspace(workspaceName);
33
+ await workspaceHandlingTests.stopAndRemoveWorkspace(WorkspaceHandlingTests_1.WorkspaceHandlingTests.getWorkspaceName());
34
34
  });
35
35
  });
36
36
  });
@@ -1 +1 @@
1
- {"version":3,"file":"LoadTest.spec.js","sourceRoot":"","sources":["../../../tests/load_test/LoadTest.spec.ts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che-e2e",
3
- "version": "7.46.1-dev-21b7d9f",
3
+ "version": "7.46.1-dev-deca6d7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -20,10 +20,9 @@ const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUti
20
20
  const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
21
21
 
22
22
  const devfileUrl: string = 'https://github.com/che-samples/web-nodejs-sample/tree/devfilev2';
23
- const factoryUrl: string = `${TestConstants.TS_SELENIUM_BASE_URL}/f?url=${devfileUrl}`;
23
+ const factoryUrl: string = `${TestConstants.TS_SELENIUM_BASE_URL}#${devfileUrl}?new`;
24
24
  const projectName: string = 'web-nodejs-sample';
25
25
  const subRootFolder: string = 'app';
26
- let workspaceName: string = 'nodejs-web-app';
27
26
 
28
27
  suite('Load test suite', async () => {
29
28
  suite('Create workspace', async () => {
@@ -38,7 +37,7 @@ suite('Load test suite', async () => {
38
37
 
39
38
  suite ('Stopping and deleting the workspace', async () => {
40
39
  test('Stop and remove workspace', async () => {
41
- await workspaceHandlingTests.stopAndRemoveWorkspace(workspaceName);
40
+ await workspaceHandlingTests.stopAndRemoveWorkspace(WorkspaceHandlingTests.getWorkspaceName());
42
41
  });
43
42
  });
44
43