@eclipse-che/che-e2e 7.46.1-dev-54d33e9 → 7.46.1-dev-e59785f

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.
Files changed (51) hide show
  1. package/dist/driver/CheReporter.js +1 -1
  2. package/dist/driver/CheReporter.js.map +1 -1
  3. package/dist/index.js +2 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/inversify.config.js +3 -1
  6. package/dist/inversify.config.js.map +1 -1
  7. package/dist/inversify.types.js +5 -3
  8. package/dist/inversify.types.js.map +1 -1
  9. package/dist/pageobjects/dashboard/Dashboard.js +1 -1
  10. package/dist/pageobjects/dashboard/Dashboard.js.map +1 -1
  11. package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js +4 -2
  12. package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js.map +1 -1
  13. package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.js +4 -2
  14. package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.js.map +1 -1
  15. package/dist/tests/e2e/FactoryUrl.spec.js +1 -1
  16. package/dist/tests/e2e/FactoryUrl.spec.js.map +1 -1
  17. package/dist/tests/e2e/GitPublishBranch.spec.js +1 -1
  18. package/dist/tests/e2e/GitPublishBranch.spec.js.map +1 -1
  19. package/dist/tests/e2e/GitSelfSignCert.spec.js +1 -1
  20. package/dist/tests/e2e/GitSelfSignCert.spec.js.map +1 -1
  21. package/dist/tests/e2e/GitSsh.spec.js +1 -1
  22. package/dist/tests/e2e/GitSsh.spec.js.map +1 -1
  23. package/dist/tests/e2e/OpenshiftConnector.spec.js +1 -1
  24. package/dist/tests/e2e/OpenshiftConnector.spec.js.map +1 -1
  25. package/dist/testsLibrary/CodeExecutionTests.js.map +1 -1
  26. package/dist/utils/workspace/ApiUrlResolver.js +35 -0
  27. package/dist/utils/workspace/ApiUrlResolver.js.map +1 -0
  28. package/dist/utils/workspace/{ITestWorkspaceUtil.js → IApiUrlResolver.js} +1 -1
  29. package/dist/utils/workspace/IApiUrlResolver.js.map +1 -0
  30. package/dist/utils/workspace/TestWorkspaceUtil.js +41 -9
  31. package/dist/utils/workspace/TestWorkspaceUtil.js.map +1 -1
  32. package/driver/CheReporter.ts +2 -2
  33. package/index.ts +2 -1
  34. package/inversify.config.ts +5 -4
  35. package/inversify.types.ts +5 -3
  36. package/package.json +1 -1
  37. package/pageobjects/dashboard/Dashboard.ts +9 -10
  38. package/pageobjects/dashboard/workspace-details/WorkspaceDetails.ts +3 -3
  39. package/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.ts +3 -3
  40. package/tests/e2e/FactoryUrl.spec.ts +2 -2
  41. package/tests/e2e/GitPublishBranch.spec.ts +1 -1
  42. package/tests/e2e/GitSelfSignCert.spec.ts +12 -12
  43. package/tests/e2e/GitSsh.spec.ts +1 -1
  44. package/tests/e2e/OpenshiftConnector.spec.ts +1 -1
  45. package/tests/load_test/LoadTest.spec.ts +2 -0
  46. package/testsLibrary/CodeExecutionTests.ts +1 -1
  47. package/utils/workspace/ApiUrlResolver.ts +27 -0
  48. package/utils/workspace/IApiUrlResolver.ts +15 -0
  49. package/utils/workspace/TestWorkspaceUtil.ts +43 -11
  50. package/dist/utils/workspace/ITestWorkspaceUtil.js.map +0 -1
  51. package/utils/workspace/ITestWorkspaceUtil.ts +0 -26
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITestWorkspaceUtil.js","sourceRoot":"","sources":["../../../utils/workspace/ITestWorkspaceUtil.ts"],"names":[],"mappings":";AAAA;;;;;;;;wEAQwE"}
@@ -1,26 +0,0 @@
1
- /*********************************************************************
2
- * Copyright (c) 2019 Red Hat, Inc.
3
- *
4
- * This program and the accompanying materials are made
5
- * available under the terms of the Eclipse Public License 2.0
6
- * which is available at https://www.eclipse.org/legal/epl-2.0/
7
- *
8
- * SPDX-License-Identifier: EPL-2.0
9
- **********************************************************************/
10
-
11
- import { WorkspaceStatus } from './WorkspaceStatus';
12
- import { che } from '@eclipse-che/api';
13
-
14
- export interface ITestWorkspaceUtil {
15
- cleanUpAllWorkspaces() : void;
16
- cleanUpRunningWorkspace(workspaceName: string) : void;
17
- waitWorkspaceStatus(namespace: string, workspaceName: string, expectedWorkspaceStatus: WorkspaceStatus) : void;
18
- waitPluginAdding(namespace: string, workspaceName: string, pluginId: string) : void;
19
- removeWorkspaceById(id: string) : void;
20
- stopWorkspaceById(id: string) : void;
21
- getIdOfRunningWorkspace(workspaceName: string): Promise<string>;
22
- getIdOfRunningWorkspaces(): Promise<Array<string>>;
23
- createWsFromDevFile(customTemplate: che.workspace.devfile.Devfile): void;
24
- getBaseDevfile(): Promise<che.workspace.devfile.Devfile>;
25
- startWorkspace(workspaceId: string): void;
26
- }