@eclipse-che/che-e2e 7.50.1-dev-073b203 → 7.50.1-dev-6c02e53

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,25 +12,24 @@ 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");
16
15
  const projectAndFileTests = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.ProjectAndFileTests);
17
16
  const browserTabsUtil = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.BrowserTabsUtil);
18
17
  const workspaceHandlingTests = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.WorkspaceHandlingTests);
19
18
  const devfileUrl = 'https://github.com/che-samples/web-nodejs-sample/tree/devfilev2';
20
- const factoryUrl = `${TestConstants_1.TestConstants.TS_SELENIUM_BASE_URL}#${devfileUrl}?new`;
19
+ const factoryUrl = `${TestConstants_1.TestConstants.TS_SELENIUM_BASE_URL}#${devfileUrl}`;
21
20
  const projectName = 'web-nodejs-sample';
21
+ const workspaceName = 'nodejs-web-app';
22
22
  const subRootFolder = 'app';
23
23
  suite('Load test suite', async () => {
24
24
  suite('Create workspace', async () => {
25
25
  test('Create workspace using factory', async () => {
26
26
  await browserTabsUtil.navigateTo(factoryUrl);
27
27
  });
28
- workspaceHandlingTests.obtainWorkspaceNameFromStartingPage();
29
28
  projectAndFileTests.waitWorkspaceReadiness(projectName, subRootFolder);
30
29
  });
31
30
  suite('Stopping and deleting the workspace', async () => {
32
31
  test('Stop and remove workspace', async () => {
33
- await workspaceHandlingTests.stopAndRemoveWorkspace(WorkspaceHandlingTests_1.WorkspaceHandlingTests.getWorkspaceName());
32
+ await workspaceHandlingTests.stopAndRemoveWorkspace(workspaceName);
34
33
  });
35
34
  });
36
35
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@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-che/che-e2e",
3
- "version": "7.50.1-dev-073b203",
3
+ "version": "7.50.1-dev-6c02e53",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -20,8 +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}#${devfileUrl}?new`;
23
+ const factoryUrl: string = `${TestConstants.TS_SELENIUM_BASE_URL}#${devfileUrl}`;
24
24
  const projectName: string = 'web-nodejs-sample';
25
+ const workspaceName: string = 'nodejs-web-app';
25
26
  const subRootFolder: string = 'app';
26
27
 
27
28
  suite('Load test suite', async () => {
@@ -30,14 +31,12 @@ suite('Load test suite', async () => {
30
31
  await browserTabsUtil.navigateTo(factoryUrl);
31
32
  });
32
33
 
33
- workspaceHandlingTests.obtainWorkspaceNameFromStartingPage();
34
-
35
34
  projectAndFileTests.waitWorkspaceReadiness(projectName, subRootFolder);
36
35
  });
37
36
 
38
37
  suite ('Stopping and deleting the workspace', async () => {
39
38
  test('Stop and remove workspace', async () => {
40
- await workspaceHandlingTests.stopAndRemoveWorkspace(WorkspaceHandlingTests.getWorkspaceName());
39
+ await workspaceHandlingTests.stopAndRemoveWorkspace(workspaceName);
41
40
  });
42
41
  });
43
42