@eclipse-che/che-e2e 7.58.0-dev-185cda8 → 7.58.0-dev-3ddca79

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 (306) hide show
  1. package/TestConstants.ts +30 -7
  2. package/dist/TestConstants.js +23 -3
  3. package/dist/TestConstants.js.map +1 -1
  4. package/dist/driver/CheReporter.js +14 -4
  5. package/dist/driver/CheReporter.js.map +1 -1
  6. package/dist/driver/ChromeDriver.js +6 -4
  7. package/dist/driver/ChromeDriver.js.map +1 -1
  8. package/dist/index.js +26 -26
  9. package/dist/index.js.map +1 -1
  10. package/dist/inversify.config.js +30 -30
  11. package/dist/inversify.config.js.map +1 -1
  12. package/dist/inversify.types.js +4 -4
  13. package/dist/inversify.types.js.map +1 -1
  14. package/dist/pageobjects/dashboard/CreateWorkspace.js +44 -3
  15. package/dist/pageobjects/dashboard/CreateWorkspace.js.map +1 -1
  16. package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js +1 -1
  17. package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js.map +1 -1
  18. package/dist/pageobjects/ide/{ContextMenu.js → theia/ContextMenu.js} +5 -5
  19. package/dist/pageobjects/ide/theia/ContextMenu.js.map +1 -0
  20. package/dist/pageobjects/ide/{DebugView.js → theia/DebugView.js} +6 -6
  21. package/dist/pageobjects/ide/theia/DebugView.js.map +1 -0
  22. package/dist/pageobjects/ide/{DialogWindow.js → theia/DialogWindow.js} +4 -4
  23. package/dist/pageobjects/ide/theia/DialogWindow.js.map +1 -0
  24. package/dist/pageobjects/ide/{Editor.js → theia/Editor.js} +18 -19
  25. package/dist/pageobjects/ide/theia/Editor.js.map +1 -0
  26. package/dist/pageobjects/ide/{Ide.js → theia/Ide.js} +5 -5
  27. package/dist/pageobjects/ide/theia/Ide.js.map +1 -0
  28. package/dist/pageobjects/ide/{LeftToolBar.js → theia/LeftToolBar.js} +4 -4
  29. package/dist/pageobjects/ide/theia/LeftToolBar.js.map +1 -0
  30. package/dist/pageobjects/ide/{NavigationBar.js → theia/NavigationBar.js} +3 -3
  31. package/dist/pageobjects/ide/theia/NavigationBar.js.map +1 -0
  32. package/dist/pageobjects/ide/{NotificationCenter.js → theia/NotificationCenter.js} +4 -4
  33. package/dist/pageobjects/ide/theia/NotificationCenter.js.map +1 -0
  34. package/dist/pageobjects/ide/{OpenDialogWidget.js → theia/OpenDialogWidget.js} +6 -6
  35. package/dist/pageobjects/ide/theia/OpenDialogWidget.js.map +1 -0
  36. package/dist/pageobjects/ide/{OpenEditors.js → theia/OpenEditors.js} +4 -4
  37. package/dist/pageobjects/ide/theia/OpenEditors.js.map +1 -0
  38. package/dist/pageobjects/ide/{OpenWorkspaceWidget.js → theia/OpenWorkspaceWidget.js} +4 -4
  39. package/dist/pageobjects/ide/theia/OpenWorkspaceWidget.js.map +1 -0
  40. package/dist/pageobjects/ide/{PreviewWidget.js → theia/PreviewWidget.js} +5 -5
  41. package/dist/pageobjects/ide/theia/PreviewWidget.js.map +1 -0
  42. package/dist/pageobjects/ide/{ProjectTree.js → theia/ProjectTree.js} +6 -6
  43. package/dist/pageobjects/ide/theia/ProjectTree.js.map +1 -0
  44. package/dist/pageobjects/ide/{QuickOpenContainer.js → theia/QuickOpenContainer.js} +4 -4
  45. package/dist/pageobjects/ide/theia/QuickOpenContainer.js.map +1 -0
  46. package/dist/pageobjects/ide/{RightToolBar.js → theia/RightToolBar.js} +4 -4
  47. package/dist/pageobjects/ide/theia/RightToolBar.js.map +1 -0
  48. package/dist/pageobjects/ide/{Terminal.js → theia/Terminal.js} +5 -5
  49. package/dist/pageobjects/ide/theia/Terminal.js.map +1 -0
  50. package/dist/pageobjects/ide/{TopMenu.js → theia/TopMenu.js} +5 -5
  51. package/dist/pageobjects/ide/theia/TopMenu.js.map +1 -0
  52. package/dist/pageobjects/ide/{plugins → theia/plugins}/GitHubPullRequestPlugin.js +5 -5
  53. package/dist/pageobjects/ide/theia/plugins/GitHubPullRequestPlugin.js.map +1 -0
  54. package/dist/pageobjects/ide/{plugins → theia/plugins}/GitPlugin.js +4 -4
  55. package/dist/pageobjects/ide/theia/plugins/GitPlugin.js.map +1 -0
  56. package/dist/pageobjects/ide/{plugins → theia/plugins}/KubernetesPlugin.js +4 -4
  57. package/dist/pageobjects/ide/theia/plugins/KubernetesPlugin.js.map +1 -0
  58. package/dist/pageobjects/ide/{plugins → theia/plugins}/OpenshiftPlugin.js +4 -4
  59. package/dist/pageobjects/ide/theia/plugins/OpenshiftPlugin.js.map +1 -0
  60. package/dist/pageobjects/ide/{plugins → theia/plugins}/PluginsView.js +4 -4
  61. package/dist/pageobjects/ide/theia/plugins/PluginsView.js.map +1 -0
  62. package/dist/tests/devfiles/che-code/EmptyWorkspace.spec.js +61 -0
  63. package/dist/tests/devfiles/che-code/EmptyWorkspace.spec.js.map +1 -0
  64. package/dist/tests/devfiles/{CSlashCPlusPlus.spec.js → theia/CSlashCPlusPlus.spec.js} +7 -7
  65. package/dist/tests/devfiles/theia/CSlashCPlusPlus.spec.js.map +1 -0
  66. package/dist/tests/devfiles/{DevfileSmoke.spec.js → theia/DevfileSmoke.spec.js} +6 -6
  67. package/dist/tests/devfiles/theia/DevfileSmoke.spec.js.map +1 -0
  68. package/dist/tests/devfiles/{DotNetCore.spec.js → theia/DotNetCore.spec.js} +7 -7
  69. package/dist/tests/devfiles/theia/DotNetCore.spec.js.map +1 -0
  70. package/dist/tests/devfiles/{Go.spec.js → theia/Go.spec.js} +9 -9
  71. package/dist/tests/devfiles/theia/Go.spec.js.map +1 -0
  72. package/dist/tests/devfiles/{JavaMaven.spec.js → theia/JavaMaven.spec.js} +7 -7
  73. package/dist/tests/devfiles/theia/JavaMaven.spec.js.map +1 -0
  74. package/dist/tests/devfiles/{JavaSpringBoot.spec.js → theia/JavaSpringBoot.spec.js} +7 -7
  75. package/dist/tests/devfiles/theia/JavaSpringBoot.spec.js.map +1 -0
  76. package/dist/tests/devfiles/{JavaVertx.spec.js → theia/JavaVertx.spec.js} +7 -7
  77. package/dist/tests/devfiles/theia/JavaVertx.spec.js.map +1 -0
  78. package/dist/tests/devfiles/{NodeJS.spec.js → theia/NodeJS.spec.js} +7 -7
  79. package/dist/tests/devfiles/theia/NodeJS.spec.js.map +1 -0
  80. package/dist/tests/devfiles/{PHPSimple.spec.js → theia/PHPSimple.spec.js} +7 -7
  81. package/dist/tests/devfiles/theia/PHPSimple.spec.js.map +1 -0
  82. package/dist/tests/devfiles/{Python.spec.js → theia/Python.spec.js} +7 -7
  83. package/dist/tests/devfiles/theia/Python.spec.js.map +1 -0
  84. package/dist/tests/devfiles/{PythonDjango.spec.js → theia/PythonDjango.spec.js} +6 -6
  85. package/dist/tests/devfiles/theia/PythonDjango.spec.js.map +1 -0
  86. package/dist/tests/devfiles/{Quarkus.spec.js → theia/Quarkus.spec.js} +7 -7
  87. package/dist/tests/devfiles/theia/Quarkus.spec.js.map +1 -0
  88. package/dist/tests/devfiles/{Scala.spec.js → theia/Scala.spec.js} +7 -7
  89. package/dist/tests/devfiles/theia/Scala.spec.js.map +1 -0
  90. package/dist/tests/e2e/{FactoryUrl.spec.js → theia/FactoryUrl.spec.js} +5 -5
  91. package/dist/tests/e2e/theia/FactoryUrl.spec.js.map +1 -0
  92. package/dist/tests/e2e/{GitPublishBranch.spec.js → theia/GitPublishBranch.spec.js} +5 -5
  93. package/dist/tests/e2e/theia/GitPublishBranch.spec.js.map +1 -0
  94. package/dist/tests/e2e/{GitSelfSignCert.spec.js → theia/GitSelfSignCert.spec.js} +6 -6
  95. package/dist/tests/e2e/theia/GitSelfSignCert.spec.js.map +1 -0
  96. package/dist/tests/e2e/{GitSsh.spec.js → theia/GitSsh.spec.js} +6 -6
  97. package/dist/tests/e2e/theia/GitSsh.spec.js.map +1 -0
  98. package/dist/tests/e2e/{OpenshiftConnector.spec.js → theia/OpenshiftConnector.spec.js} +11 -11
  99. package/dist/tests/e2e/theia/OpenshiftConnector.spec.js.map +1 -0
  100. package/dist/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithKeepDirectoryTest.spec.js +6 -6
  101. package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js.map +1 -0
  102. package/dist/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithRootFolderTest.spec.js +6 -6
  103. package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.js.map +1 -0
  104. package/dist/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithSpecificBranchTest.spec.js +6 -6
  105. package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js.map +1 -0
  106. package/dist/tests/e2e_happy_path/{DevWorkspaceHappyPath.spec.js → theia/DevWorkspaceHappyPath.spec.js} +8 -9
  107. package/dist/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.js.map +1 -0
  108. package/dist/tests/e2e_happy_path/{HappyPath.spec.js → theia/HappyPath.spec.js} +8 -8
  109. package/dist/tests/e2e_happy_path/theia/HappyPath.spec.js.map +1 -0
  110. package/dist/tests/load_test/{LoadTest.spec.js → theia/LoadTest.spec.js} +5 -5
  111. package/dist/tests/load_test/theia/LoadTest.spec.js.map +1 -0
  112. package/dist/tests/plugins/{GitHubPullRequestPlugin.spec.js → theia/GitHubPullRequestPlugin.spec.js} +8 -9
  113. package/dist/tests/plugins/{GitHubPullRequestPlugin.spec.js.map → theia/GitHubPullRequestPlugin.spec.js.map} +1 -1
  114. package/dist/tests/plugins/{InstallPluginUsingUI.spec.js → theia/InstallPluginUsingUI.spec.js} +7 -8
  115. package/dist/tests/plugins/{InstallPluginUsingUI.spec.js.map → theia/InstallPluginUsingUI.spec.js.map} +1 -1
  116. package/dist/tests/plugins/{JavaPlugin.spec.js → theia/JavaPlugin.spec.js} +8 -8
  117. package/dist/tests/plugins/theia/JavaPlugin.spec.js.map +1 -0
  118. package/dist/tests/plugins/{PhpPlugin.spec.js → theia/PhpPlugin.spec.js} +7 -7
  119. package/dist/tests/plugins/theia/PhpPlugin.spec.js.map +1 -0
  120. package/dist/tests/plugins/{PythonPlugin.spec.js → theia/PythonPlugin.spec.js} +8 -8
  121. package/dist/tests/plugins/theia/PythonPlugin.spec.js.map +1 -0
  122. package/dist/tests/plugins/{TypescriptPlugin.spec.js → theia/TypescriptPlugin.spec.js} +9 -9
  123. package/dist/tests/plugins/theia/TypescriptPlugin.spec.js.map +1 -0
  124. package/dist/tests/plugins/{VscodeKubernetesPlugin.spec.js → theia/VscodeKubernetesPlugin.spec.js} +7 -7
  125. package/dist/tests/plugins/theia/VscodeKubernetesPlugin.spec.js.map +1 -0
  126. package/dist/tests/plugins/{VscodeShellcheckPlugin.spec.js → theia/VscodeShellcheckPlugin.spec.js} +7 -7
  127. package/dist/tests/plugins/theia/VscodeShellcheckPlugin.spec.js.map +1 -0
  128. package/dist/tests/plugins/{VscodeValePlugin.spec.js → theia/VscodeValePlugin.spec.js} +6 -6
  129. package/dist/tests/plugins/theia/VscodeValePlugin.spec.js.map +1 -0
  130. package/dist/tests/plugins/{VscodeXmlPlugin.spec.js → theia/VscodeXmlPlugin.spec.js} +6 -6
  131. package/dist/tests/plugins/theia/VscodeXmlPlugin.spec.js.map +1 -0
  132. package/dist/tests/plugins/{VscodeYamlPlugin.spec.js → theia/VscodeYamlPlugin.spec.js} +6 -6
  133. package/dist/tests/plugins/theia/VscodeYamlPlugin.spec.js.map +1 -0
  134. package/dist/testsLibrary/WorkspaceHandlingTests.js +4 -31
  135. package/dist/testsLibrary/WorkspaceHandlingTests.js.map +1 -1
  136. package/dist/testsLibrary/{CodeExecutionTests.js → theia/CodeExecutionTestsTheia.js} +22 -22
  137. package/dist/testsLibrary/theia/CodeExecutionTestsTheia.js.map +1 -0
  138. package/dist/testsLibrary/{LanguageServerTests.js → theia/LanguageServerTestsTheia.js} +14 -14
  139. package/dist/testsLibrary/theia/LanguageServerTestsTheia.js.map +1 -0
  140. package/dist/testsLibrary/{ProjectAndFileTests.js → theia/ProjectAndFileTestsTheia.js} +43 -15
  141. package/dist/testsLibrary/theia/ProjectAndFileTestsTheia.js.map +1 -0
  142. package/dist/utils/DriverHelper.js +1 -1
  143. package/dist/utils/DriverHelper.js.map +1 -1
  144. package/dist/utils/{PreferencesHandler.js → theia/PreferencesHandlerTheia.js} +23 -23
  145. package/dist/utils/theia/PreferencesHandlerTheia.js.map +1 -0
  146. package/driver/CheReporter.ts +16 -5
  147. package/driver/ChromeDriver.ts +7 -5
  148. package/index.ts +26 -26
  149. package/initDefaultValues.sh +2 -0
  150. package/initDevfileTests.sh +3 -3
  151. package/initPluginTest.sh +1 -1
  152. package/inversify.config.ts +30 -30
  153. package/inversify.types.ts +4 -4
  154. package/{mocha-all-devfiles.json → mocha-all-devfiles-theia.json} +2 -2
  155. package/{mocha-git-ssh.json → mocha-all-factories-code.json} +1 -1
  156. package/{mocha-all-factories.json → mocha-all-factories-theia.json} +2 -2
  157. package/mocha-all-plugins-code.json +10 -0
  158. package/{mocha-all-plugins.json → mocha-all-plugins-theia.json} +2 -2
  159. package/{mocha.json → mocha-code.json} +1 -1
  160. package/{mocha-connector.json → mocha-connector-theia.json} +1 -1
  161. package/mocha-devworkspace-happy-path-code.json +10 -0
  162. package/{mocha-devworkspace-happy-path.json → mocha-devworkspace-happy-path-theia.json} +1 -1
  163. package/mocha-factory-code.json +10 -0
  164. package/{mocha-factory.json → mocha-factory-theia.json} +1 -1
  165. package/mocha-git-publish-branch-theia.json +11 -0
  166. package/mocha-git-self-sign-cert-theia.json +11 -0
  167. package/{mocha-git-self-sign-cert.json → mocha-git-ssh-theia.json} +1 -1
  168. package/{mocha-git-publish-branch.json → mocha-happy-path-code.json} +1 -1
  169. package/{mocha-happy-path.json → mocha-happy-path-theia.json} +1 -1
  170. package/{mocha-java-vertx.json → mocha-java-maven.json} +1 -1
  171. package/{mocha-load.json → mocha-java-springboot-code.json} +1 -1
  172. package/mocha-java-springboot-theia.json +9 -0
  173. package/{mocha-wkspc-creation-and-ls.json → mocha-java-vertx-code.json} +1 -1
  174. package/mocha-java-vertx-theia.json +9 -0
  175. package/mocha-load-theia.json +9 -0
  176. package/mocha-scala.json +9 -0
  177. package/mocha-theia.json +8 -0
  178. package/mocha-ws-creation-and-ls-theia.json +9 -0
  179. package/package.json +36 -24
  180. package/pageobjects/dashboard/CreateWorkspace.ts +57 -7
  181. package/pageobjects/dashboard/workspace-details/WorkspaceDetails.ts +1 -1
  182. package/pageobjects/ide/{ContextMenu.ts → theia/ContextMenu.ts} +6 -6
  183. package/pageobjects/ide/{DebugView.ts → theia/DebugView.ts} +6 -6
  184. package/pageobjects/ide/{DialogWindow.ts → theia/DialogWindow.ts} +4 -4
  185. package/pageobjects/ide/{Editor.ts → theia/Editor.ts} +19 -20
  186. package/pageobjects/ide/{Ide.ts → theia/Ide.ts} +5 -5
  187. package/pageobjects/ide/{LeftToolBar.ts → theia/LeftToolBar.ts} +4 -4
  188. package/pageobjects/ide/{NavigationBar.ts → theia/NavigationBar.ts} +7 -7
  189. package/pageobjects/ide/{NotificationCenter.ts → theia/NotificationCenter.ts} +4 -4
  190. package/pageobjects/ide/{OpenDialogWidget.ts → theia/OpenDialogWidget.ts} +6 -6
  191. package/pageobjects/ide/{OpenEditors.ts → theia/OpenEditors.ts} +4 -4
  192. package/pageobjects/ide/{OpenWorkspaceWidget.ts → theia/OpenWorkspaceWidget.ts} +4 -4
  193. package/pageobjects/ide/{PreviewWidget.ts → theia/PreviewWidget.ts} +5 -5
  194. package/pageobjects/ide/{ProjectTree.ts → theia/ProjectTree.ts} +6 -6
  195. package/pageobjects/ide/{QuickOpenContainer.ts → theia/QuickOpenContainer.ts} +4 -4
  196. package/pageobjects/ide/{RightToolBar.ts → theia/RightToolBar.ts} +4 -4
  197. package/pageobjects/ide/{Terminal.ts → theia/Terminal.ts} +5 -5
  198. package/pageobjects/ide/{TopMenu.ts → theia/TopMenu.ts} +5 -5
  199. package/pageobjects/ide/{plugins → theia/plugins}/GitHubPullRequestPlugin.ts +5 -5
  200. package/pageobjects/ide/{plugins → theia/plugins}/GitPlugin.ts +4 -4
  201. package/pageobjects/ide/{plugins → theia/plugins}/KubernetesPlugin.ts +4 -4
  202. package/pageobjects/ide/{plugins → theia/plugins}/OpenshiftPlugin.ts +4 -4
  203. package/pageobjects/ide/{plugins → theia/plugins}/PluginsView.ts +4 -4
  204. package/tests/devfiles/che-code/EmptyWorkspace.spec.ts +58 -0
  205. package/tests/devfiles/{CSlashCPlusPlus.spec.ts → theia/CSlashCPlusPlus.spec.ts} +11 -11
  206. package/tests/devfiles/{DevfileSmoke.spec.ts → theia/DevfileSmoke.spec.ts} +10 -10
  207. package/tests/devfiles/{DotNetCore.spec.ts → theia/DotNetCore.spec.ts} +11 -11
  208. package/tests/devfiles/{Go.spec.ts → theia/Go.spec.ts} +13 -13
  209. package/tests/devfiles/{JavaMaven.spec.ts → theia/JavaMaven.spec.ts} +11 -11
  210. package/tests/devfiles/{JavaSpringBoot.spec.ts → theia/JavaSpringBoot.spec.ts} +10 -10
  211. package/tests/devfiles/{JavaVertx.spec.ts → theia/JavaVertx.spec.ts} +10 -10
  212. package/tests/devfiles/{NodeJS.spec.ts → theia/NodeJS.spec.ts} +10 -10
  213. package/tests/devfiles/{PHPSimple.spec.ts → theia/PHPSimple.spec.ts} +11 -11
  214. package/tests/devfiles/{Python.spec.ts → theia/Python.spec.ts} +10 -10
  215. package/tests/devfiles/{PythonDjango.spec.ts → theia/PythonDjango.spec.ts} +8 -8
  216. package/tests/devfiles/{Quarkus.spec.ts → theia/Quarkus.spec.ts} +10 -10
  217. package/tests/devfiles/{Scala.spec.ts → theia/Scala.spec.ts} +10 -10
  218. package/tests/e2e/{FactoryUrl.spec.ts → theia/FactoryUrl.spec.ts} +9 -9
  219. package/tests/e2e/{GitPublishBranch.spec.ts → theia/GitPublishBranch.spec.ts} +16 -16
  220. package/tests/e2e/{GitSelfSignCert.spec.ts → theia/GitSelfSignCert.spec.ts} +17 -17
  221. package/tests/e2e/{GitSsh.spec.ts → theia/GitSsh.spec.ts} +20 -20
  222. package/tests/e2e/{OpenshiftConnector.spec.ts → theia/OpenshiftConnector.spec.ts} +21 -21
  223. package/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithKeepDirectoryTest.spec.ts +10 -10
  224. package/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithRootFolderTest.spec.ts +10 -10
  225. package/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithSpecificBranchTest.spec.ts +10 -10
  226. package/tests/e2e_happy_path/{DevWorkspaceHappyPath.spec.ts → theia/DevWorkspaceHappyPath.spec.ts} +17 -19
  227. package/tests/e2e_happy_path/{HappyPath.spec.ts → theia/HappyPath.spec.ts} +21 -20
  228. package/tests/intelij/IntelijOpenWorkspace.spec.ts +1 -1
  229. package/tests/load_test/{LoadTest.spec.ts → theia/LoadTest.spec.ts} +10 -9
  230. package/tests/plugins/{GitHubPullRequestPlugin.spec.ts → theia/GitHubPullRequestPlugin.spec.ts} +19 -20
  231. package/tests/plugins/{InstallPluginUsingUI.spec.ts → theia/InstallPluginUsingUI.spec.ts} +11 -12
  232. package/tests/plugins/{JavaPlugin.spec.ts → theia/JavaPlugin.spec.ts} +13 -13
  233. package/tests/plugins/{PhpPlugin.spec.ts → theia/PhpPlugin.spec.ts} +12 -12
  234. package/tests/plugins/{PythonPlugin.spec.ts → theia/PythonPlugin.spec.ts} +13 -13
  235. package/tests/plugins/{TypescriptPlugin.spec.ts → theia/TypescriptPlugin.spec.ts} +19 -19
  236. package/tests/plugins/{VscodeKubernetesPlugin.spec.ts → theia/VscodeKubernetesPlugin.spec.ts} +13 -13
  237. package/tests/plugins/{VscodeShellcheckPlugin.spec.ts → theia/VscodeShellcheckPlugin.spec.ts} +12 -12
  238. package/tests/plugins/{VscodeValePlugin.spec.ts → theia/VscodeValePlugin.spec.ts} +11 -11
  239. package/tests/plugins/{VscodeXmlPlugin.spec.ts → theia/VscodeXmlPlugin.spec.ts} +12 -12
  240. package/tests/plugins/{VscodeYamlPlugin.spec.ts → theia/VscodeYamlPlugin.spec.ts} +12 -12
  241. package/testsLibrary/WorkspaceHandlingTests.ts +115 -140
  242. package/testsLibrary/{CodeExecutionTests.ts → theia/CodeExecutionTestsTheia.ts} +15 -15
  243. package/testsLibrary/{LanguageServerTests.ts → theia/LanguageServerTestsTheia.ts} +9 -9
  244. package/testsLibrary/{ProjectAndFileTests.ts → theia/ProjectAndFileTestsTheia.ts} +36 -10
  245. package/tslint.json +17 -21
  246. package/utils/DriverHelper.ts +3 -3
  247. package/utils/{PreferencesHandler.ts → theia/PreferencesHandlerTheia.ts} +11 -11
  248. package/dist/pageobjects/ide/ContextMenu.js.map +0 -1
  249. package/dist/pageobjects/ide/DebugView.js.map +0 -1
  250. package/dist/pageobjects/ide/DialogWindow.js.map +0 -1
  251. package/dist/pageobjects/ide/Editor.js.map +0 -1
  252. package/dist/pageobjects/ide/Ide.js.map +0 -1
  253. package/dist/pageobjects/ide/LeftToolBar.js.map +0 -1
  254. package/dist/pageobjects/ide/NavigationBar.js.map +0 -1
  255. package/dist/pageobjects/ide/NotificationCenter.js.map +0 -1
  256. package/dist/pageobjects/ide/OpenDialogWidget.js.map +0 -1
  257. package/dist/pageobjects/ide/OpenEditors.js.map +0 -1
  258. package/dist/pageobjects/ide/OpenWorkspaceWidget.js.map +0 -1
  259. package/dist/pageobjects/ide/PreviewWidget.js.map +0 -1
  260. package/dist/pageobjects/ide/ProjectTree.js.map +0 -1
  261. package/dist/pageobjects/ide/QuickOpenContainer.js.map +0 -1
  262. package/dist/pageobjects/ide/RightToolBar.js.map +0 -1
  263. package/dist/pageobjects/ide/Terminal.js.map +0 -1
  264. package/dist/pageobjects/ide/TopMenu.js.map +0 -1
  265. package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.js.map +0 -1
  266. package/dist/pageobjects/ide/plugins/GitPlugin.js.map +0 -1
  267. package/dist/pageobjects/ide/plugins/KubernetesPlugin.js.map +0 -1
  268. package/dist/pageobjects/ide/plugins/OpenshiftPlugin.js.map +0 -1
  269. package/dist/pageobjects/ide/plugins/PluginsView.js.map +0 -1
  270. package/dist/tests/devfiles/CSlashCPlusPlus.spec.js.map +0 -1
  271. package/dist/tests/devfiles/DevfileSmoke.spec.js.map +0 -1
  272. package/dist/tests/devfiles/DotNetCore.spec.js.map +0 -1
  273. package/dist/tests/devfiles/Go.spec.js.map +0 -1
  274. package/dist/tests/devfiles/JavaMaven.spec.js.map +0 -1
  275. package/dist/tests/devfiles/JavaSpringBoot.spec.js.map +0 -1
  276. package/dist/tests/devfiles/JavaVertx.spec.js.map +0 -1
  277. package/dist/tests/devfiles/NodeJS.spec.js.map +0 -1
  278. package/dist/tests/devfiles/PHPSimple.spec.js.map +0 -1
  279. package/dist/tests/devfiles/Python.spec.js.map +0 -1
  280. package/dist/tests/devfiles/PythonDjango.spec.js.map +0 -1
  281. package/dist/tests/devfiles/Quarkus.spec.js.map +0 -1
  282. package/dist/tests/devfiles/Scala.spec.js.map +0 -1
  283. package/dist/tests/e2e/FactoryUrl.spec.js.map +0 -1
  284. package/dist/tests/e2e/GitPublishBranch.spec.js.map +0 -1
  285. package/dist/tests/e2e/GitSelfSignCert.spec.js.map +0 -1
  286. package/dist/tests/e2e/GitSsh.spec.js.map +0 -1
  287. package/dist/tests/e2e/OpenshiftConnector.spec.js.map +0 -1
  288. package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js.map +0 -1
  289. package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.js.map +0 -1
  290. package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js.map +0 -1
  291. package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js.map +0 -1
  292. package/dist/tests/e2e_happy_path/HappyPath.spec.js.map +0 -1
  293. package/dist/tests/load_test/LoadTest.spec.js.map +0 -1
  294. package/dist/tests/plugins/JavaPlugin.spec.js.map +0 -1
  295. package/dist/tests/plugins/PhpPlugin.spec.js.map +0 -1
  296. package/dist/tests/plugins/PythonPlugin.spec.js.map +0 -1
  297. package/dist/tests/plugins/TypescriptPlugin.spec.js.map +0 -1
  298. package/dist/tests/plugins/VscodeKubernetesPlugin.spec.js.map +0 -1
  299. package/dist/tests/plugins/VscodeShellcheckPlugin.spec.js.map +0 -1
  300. package/dist/tests/plugins/VscodeValePlugin.spec.js.map +0 -1
  301. package/dist/tests/plugins/VscodeXmlPlugin.spec.js.map +0 -1
  302. package/dist/tests/plugins/VscodeYamlPlugin.spec.js.map +0 -1
  303. package/dist/testsLibrary/CodeExecutionTests.js.map +0 -1
  304. package/dist/testsLibrary/LanguageServerTests.js.map +0 -1
  305. package/dist/testsLibrary/ProjectAndFileTests.js.map +0 -1
  306. package/dist/utils/PreferencesHandler.js.map +0 -1
package/index.ts CHANGED
@@ -10,7 +10,7 @@ export * from './utils/AnimationChecker';
10
10
  export * from './utils/BrowserTabsUtil';
11
11
  export * from './utils/DriverHelper';
12
12
  export * from './utils/Logger';
13
- export * from './utils/PreferencesHandler';
13
+ export * from './utils/theia/PreferencesHandlerTheia';
14
14
  export * from './utils/requestHandlers/CheApiRequestHandler';
15
15
  export * from './utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler';
16
16
  export * from './utils/requestHandlers/headers/IAuthorizationHeaderHandler';
@@ -30,28 +30,28 @@ export * from './pageobjects/dashboard/Dashboard';
30
30
  export * from './pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins';
31
31
  export * from './pageobjects/dashboard/workspace-details/WorkspaceDetails';
32
32
  export * from './pageobjects/dashboard/Workspaces';
33
- export * from './pageobjects/ide/ContextMenu';
34
- export * from './pageobjects/ide/DebugView';
35
- export * from './pageobjects/ide/DialogWindow';
36
- export * from './pageobjects/ide/Editor';
37
- export * from './pageobjects/ide/Ide';
38
- export * from './pageobjects/ide/LeftToolBar';
39
- export * from './pageobjects/ide/NavigationBar';
40
- export * from './pageobjects/ide/NotificationCenter';
41
- export * from './pageobjects/ide/OpenDialogWidget';
42
- export * from './pageobjects/ide/OpenEditors';
43
- export * from './pageobjects/ide/OpenWorkspaceWidget';
44
- export * from './pageobjects/ide/plugins/GitHubPullRequestPlugin';
45
- export * from './pageobjects/ide/plugins/GitPlugin';
46
- export * from './pageobjects/ide/plugins/KubernetesPlugin';
47
- export * from './pageobjects/ide/plugins/OpenshiftPlugin';
48
- export * from './pageobjects/ide/plugins/PluginsView';
49
- export * from './pageobjects/ide/PreviewWidget';
50
- export * from './pageobjects/ide/ProjectTree';
51
- export * from './pageobjects/ide/QuickOpenContainer';
52
- export * from './pageobjects/ide/RightToolBar';
53
- export * from './pageobjects/ide/Terminal';
54
- export * from './pageobjects/ide/TopMenu';
33
+ export * from './pageobjects/ide/theia/ContextMenu';
34
+ export * from './pageobjects/ide/theia/DebugView';
35
+ export * from './pageobjects/ide/theia/DialogWindow';
36
+ export * from './pageobjects/ide/theia/Editor';
37
+ export * from './pageobjects/ide/theia/Ide';
38
+ export * from './pageobjects/ide/theia/LeftToolBar';
39
+ export * from './pageobjects/ide/theia/NavigationBar';
40
+ export * from './pageobjects/ide/theia/NotificationCenter';
41
+ export * from './pageobjects/ide/theia/OpenDialogWidget';
42
+ export * from './pageobjects/ide/theia/OpenEditors';
43
+ export * from './pageobjects/ide/theia/OpenWorkspaceWidget';
44
+ export * from './pageobjects/ide/theia/plugins/GitHubPullRequestPlugin';
45
+ export * from './pageobjects/ide/theia/plugins/GitPlugin';
46
+ export * from './pageobjects/ide/theia/plugins/KubernetesPlugin';
47
+ export * from './pageobjects/ide/theia/plugins/OpenshiftPlugin';
48
+ export * from './pageobjects/ide/theia/plugins/PluginsView';
49
+ export * from './pageobjects/ide/theia/PreviewWidget';
50
+ export * from './pageobjects/ide/theia/ProjectTree';
51
+ export * from './pageobjects/ide/theia/QuickOpenContainer';
52
+ export * from './pageobjects/ide/theia/RightToolBar';
53
+ export * from './pageobjects/ide/theia/Terminal';
54
+ export * from './pageobjects/ide/theia/TopMenu';
55
55
  export * from './pageobjects/login/ICheLoginPage';
56
56
  export * from './pageobjects/login/IOcpLoginPage';
57
57
  export * from './pageobjects/login/MultiUserLoginPage';
@@ -62,7 +62,7 @@ export * from './pageobjects/openshift/CheLoginPage';
62
62
  export * from './pageobjects/openshift/OcpLoginPage';
63
63
  export * from './pageobjects/third-parties/GitLoginPage';
64
64
  export * from './pageobjects/third-parties/GitOauthAppsSettings';
65
- export * from './testsLibrary/CodeExecutionTests';
66
- export * from './testsLibrary/LanguageServerTests';
67
- export * from './testsLibrary/ProjectAndFileTests';
65
+ export * from './testsLibrary/theia/CodeExecutionTestsTheia';
66
+ export * from './testsLibrary/theia/LanguageServerTestsTheia';
67
+ export * from './testsLibrary/theia/ProjectAndFileTestsTheia';
68
68
  export * from './testsLibrary/WorkspaceHandlingTests';
@@ -8,6 +8,7 @@ export TS_SELENIUM_PASSWORD=${TS_SELENIUM_PASSWORD:-"admin"}
8
8
  export TS_SELENIUM_MULTIUSER=${TS_SELENIUM_MULTIUSER:-"true"}
9
9
  export TS_SELENIUM_W3C_CHROME_OPTION=${TS_SELENIUM_W3C_CHROME_OPTION:-"true"}
10
10
  export NODE_TLS_REJECT_UNAUTHORIZED=${NODE_TLS_REJECT_UNAUTHORIZED:-0}
11
+ export TS_SELENIUM_EDITOR=${TS_SELENIUM_EDITOR:-"che-code"}
11
12
 
12
13
  if [ "$E2E_OCP_CLUSTER_VERSION" = "3.x" ] ; then
13
14
  unset TS_OCP_LOGIN_PAGE_PROVIDER_TITLE
@@ -25,3 +26,4 @@ echo "TS_SELENIUM_PASSWORD = ${TS_SELENIUM_PASSWORD}"
25
26
  echo "TS_SELENIUM_MULTIUSER = ${TS_SELENIUM_MULTIUSER}"
26
27
  echo "TS_SELENIUM_W3C_CHROME_OPTION = ${TS_SELENIUM_W3C_CHROME_OPTION}"
27
28
  echo "NODE_TLS_REJECT_UNAUTHORIZED = ${NODE_TLS_REJECT_UNAUTHORIZED}"
29
+ echo "TS_SELENIUM_EDITOR = ${TS_SELENIUM_EDITOR}"
@@ -9,7 +9,7 @@ launchAllUserstories(){
9
9
  echo "Launching all userstories";
10
10
  echo ""
11
11
 
12
- npm run lint && npm run tsc && mocha --config mocha-all-devfiles.json ;
12
+ npm run lint && npm run tsc && mocha --config mocha-all-devfiles-${TS_SELENIUM_EDITOR}.json ;
13
13
  }
14
14
 
15
15
  launchSingleUserstory(){
@@ -17,11 +17,11 @@ launchSingleUserstory(){
17
17
  echo "Launching the \"${USERSTORY}\" userstory";
18
18
  echo ""
19
19
 
20
- tsc && mocha --config mocha-single-devfile.json --spec dist/tests/login/Login.spec.js --spec dist/tests/devfiles/${USERSTORY}.spec.js ;
20
+ tsc && mocha --config mocha-single-devfile.json --spec dist/tests/login/Login.spec.js --spec dist/tests/devfiles/${TS_SELENIUM_EDITOR}/${USERSTORY}.spec.js ;
21
21
  }
22
22
 
23
23
  checkUserstoryName(){
24
- local checkedName="$(ls tests/devfiles | grep ${USERSTORY}.spec.ts)";
24
+ local checkedName="$(ls tests/devfiles/${TS_SELENIUM_EDITOR} | grep ${USERSTORY}.spec.ts)";
25
25
 
26
26
  if [ -z "$checkedName" ]; then
27
27
  echo ""
package/initPluginTest.sh CHANGED
@@ -6,4 +6,4 @@ echo ""
6
6
  echo "Launching the \"${USERSTORY}\" userstory";
7
7
  echo ""
8
8
 
9
- npm run init-mocha-opts -- --spec dist/tests/plugins/${USERSTORY}.spec.js
9
+ npm run init-mocha-opts -- --spec dist/tests/plugins/${TS_SELENIUM_EDITOR}/${USERSTORY}.spec.js
@@ -19,30 +19,30 @@ import { TestConstants } from './TestConstants';
19
19
  import { ICheLoginPage } from './pageobjects/login/ICheLoginPage';
20
20
  import { RegularUserOcpCheLoginPage } from './pageobjects/login/RegularUserOcpCheLoginPage';
21
21
  import { MultiUserLoginPage } from './pageobjects/login/MultiUserLoginPage';
22
- import { ContextMenu } from './pageobjects/ide/ContextMenu';
22
+ import { ContextMenu } from './pageobjects/ide/theia/ContextMenu';
23
23
  import { DriverHelper } from './utils/DriverHelper';
24
24
  import { Dashboard } from './pageobjects/dashboard/Dashboard';
25
25
  import { Workspaces } from './pageobjects/dashboard/Workspaces';
26
26
  import { WorkspaceDetails } from './pageobjects/dashboard/workspace-details/WorkspaceDetails';
27
27
  import { WorkspaceDetailsPlugins } from './pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins';
28
- import { Ide } from './pageobjects/ide/Ide';
29
- import { ProjectTree } from './pageobjects/ide/ProjectTree';
30
- import { OpenEditors } from './pageobjects/ide/OpenEditors';
31
- import { Editor } from './pageobjects/ide/Editor';
32
- import { TopMenu } from './pageobjects/ide/TopMenu';
33
- import { QuickOpenContainer } from './pageobjects/ide/QuickOpenContainer';
34
- import { PreviewWidget } from './pageobjects/ide/PreviewWidget';
35
- import { GitPlugin } from './pageobjects/ide/plugins/GitPlugin';
36
- import { RightToolBar } from './pageobjects/ide/RightToolBar';
37
- import { Terminal } from './pageobjects/ide/Terminal';
38
- import { DebugView } from './pageobjects/ide/DebugView';
39
- import { DialogWindow } from './pageobjects/ide/DialogWindow';
28
+ import { Ide } from './pageobjects/ide/theia/Ide';
29
+ import { ProjectTree } from './pageobjects/ide/theia/ProjectTree';
30
+ import { OpenEditors } from './pageobjects/ide/theia/OpenEditors';
31
+ import { Editor } from './pageobjects/ide/theia/Editor';
32
+ import { TopMenu } from './pageobjects/ide/theia/TopMenu';
33
+ import { QuickOpenContainer } from './pageobjects/ide/theia/QuickOpenContainer';
34
+ import { PreviewWidget } from './pageobjects/ide/theia/PreviewWidget';
35
+ import { GitPlugin } from './pageobjects/ide/theia/plugins/GitPlugin';
36
+ import { RightToolBar } from './pageobjects/ide/theia/RightToolBar';
37
+ import { Terminal } from './pageobjects/ide/theia/Terminal';
38
+ import { DebugView } from './pageobjects/ide/theia/DebugView';
39
+ import { DialogWindow } from './pageobjects/ide/theia/DialogWindow';
40
40
  import { ScreenCatcher } from './utils/ScreenCatcher';
41
41
  import { OcpLoginPage } from './pageobjects/openshift/OcpLoginPage';
42
- import { OpenWorkspaceWidget } from './pageobjects/ide/OpenWorkspaceWidget';
42
+ import { OpenWorkspaceWidget } from './pageobjects/ide/theia/OpenWorkspaceWidget';
43
43
  import { CheLoginPage } from './pageobjects/openshift/CheLoginPage';
44
- import { NotificationCenter } from './pageobjects/ide/NotificationCenter';
45
- import { PreferencesHandler } from './utils/PreferencesHandler';
44
+ import { NotificationCenter } from './pageobjects/ide/theia/NotificationCenter';
45
+ import { PreferencesHandlerTheia } from './utils/theia/PreferencesHandlerTheia';
46
46
  import { IAuthorizationHeaderHandler } from './utils/requestHandlers/headers/IAuthorizationHeaderHandler';
47
47
  import { CheMultiuserAuthorizationHeaderHandler } from './utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler';
48
48
  import { CheMultiuserTokenHandler } from './utils/requestHandlers/tokens/CheMultiuserTokenHandler';
@@ -51,24 +51,24 @@ import { CheApiRequestHandler } from './utils/requestHandlers/CheApiRequestHandl
51
51
  import { CheGitApi } from './utils/VCS/CheGitApi';
52
52
  import { GitHubUtil } from './utils/VCS/github/GitHubUtil';
53
53
  import { CreateWorkspace } from './pageobjects/dashboard/CreateWorkspace';
54
- import { OpenshiftPlugin } from './pageobjects/ide/plugins/OpenshiftPlugin';
55
- import { OpenDialogWidget } from './pageobjects/ide/OpenDialogWidget';
54
+ import { OpenshiftPlugin } from './pageobjects/ide/theia/plugins/OpenshiftPlugin';
55
+ import { OpenDialogWidget } from './pageobjects/ide/theia/OpenDialogWidget';
56
56
  import { UpdateAccountInformationPage } from './pageobjects/login/UpdateAccountInformationPage';
57
- import { LeftToolBar } from './pageobjects/ide/LeftToolBar';
58
- import { KubernetesPlugin } from './pageobjects/ide/plugins/KubernetesPlugin';
57
+ import { LeftToolBar } from './pageobjects/ide/theia/LeftToolBar';
58
+ import { KubernetesPlugin } from './pageobjects/ide/theia/plugins/KubernetesPlugin';
59
59
  import { BrowserTabsUtil } from './utils/BrowserTabsUtil';
60
- import { PluginsView } from './pageobjects/ide/plugins/PluginsView';
61
- import { LanguageServerTests } from './testsLibrary/LanguageServerTests';
62
- import { CodeExecutionTests } from './testsLibrary/CodeExecutionTests';
63
- import { ProjectAndFileTests } from './testsLibrary/ProjectAndFileTests';
60
+ import { PluginsView } from './pageobjects/ide/theia/plugins/PluginsView';
61
+ import { LanguageServerTestsTheia } from './testsLibrary/theia/LanguageServerTestsTheia';
62
+ import { CodeExecutionTestsTheia } from './testsLibrary/theia/CodeExecutionTestsTheia';
63
+ import { ProjectAndFileTestsTheia } from './testsLibrary/theia/ProjectAndFileTestsTheia';
64
64
  import { WorkspaceHandlingTests } from './testsLibrary/WorkspaceHandlingTests';
65
- import { GitHubPullRequestPlugin } from './pageobjects/ide/plugins/GitHubPullRequestPlugin';
65
+ import { GitHubPullRequestPlugin } from './pageobjects/ide/theia/plugins/GitHubPullRequestPlugin';
66
66
  import { GitLoginPage } from './pageobjects/third-parties/GitLoginPage';
67
67
  import { GitOauthAppsSettings } from './pageobjects/third-parties/GitOauthAppsSettings';
68
68
  import { AnimationChecker } from './utils/AnimationChecker';
69
69
  import { WorkspaceNameHandler } from './utils/WorkspaceNameHandler';
70
70
  import { Sanitizer } from './utils/Sanitizer';
71
- import { NavigationBar } from './pageobjects/ide/NavigationBar';
71
+ import { NavigationBar } from './pageobjects/ide/theia/NavigationBar';
72
72
  import { ApiUrlResolver } from './utils/workspace/ApiUrlResolver';
73
73
  import { ITestWorkspaceUtil } from './utils/workspace/ITestWorkspaceUtil';
74
74
 
@@ -112,7 +112,7 @@ e2eContainer.bind<OcpLoginPage>(CLASSES.OcpLoginPage).to(OcpLoginPage);
112
112
  e2eContainer.bind<OpenWorkspaceWidget>(CLASSES.OpenWorkspaceWidget).to(OpenWorkspaceWidget);
113
113
  e2eContainer.bind<CheLoginPage>(CLASSES.CheLoginPage).to(CheLoginPage);
114
114
  e2eContainer.bind<NotificationCenter>(CLASSES.NotificationCenter).to(NotificationCenter);
115
- e2eContainer.bind<PreferencesHandler>(CLASSES.PreferencesHandler).to(PreferencesHandler);
115
+ e2eContainer.bind<PreferencesHandlerTheia>(CLASSES.PreferencesHandlerTheia).to(PreferencesHandlerTheia);
116
116
  e2eContainer.bind<CheApiRequestHandler>(CLASSES.CheApiRequestHandler).to(CheApiRequestHandler);
117
117
  e2eContainer.bind<CheGitApi>(CLASSES.CheGitApi).to(CheGitApi);
118
118
  e2eContainer.bind<GitHubUtil>(CLASSES.GitHubUtil).to(GitHubUtil);
@@ -122,9 +122,9 @@ e2eContainer.bind<OpenDialogWidget>(CLASSES.OpenDialogWidget).to(OpenDialogWidge
122
122
  e2eContainer.bind<UpdateAccountInformationPage>(CLASSES.UpdateAccountInformationPage).to(UpdateAccountInformationPage);
123
123
  e2eContainer.bind<KubernetesPlugin>(CLASSES.KubernetesPlugin).to(KubernetesPlugin);
124
124
  e2eContainer.bind<PluginsView>(CLASSES.PluginsView).to(PluginsView);
125
- e2eContainer.bind<LanguageServerTests>(CLASSES.LanguageServerTests).to(LanguageServerTests);
126
- e2eContainer.bind<CodeExecutionTests>(CLASSES.CodeExecutionTests).to(CodeExecutionTests);
127
- e2eContainer.bind<ProjectAndFileTests>(CLASSES.ProjectAndFileTests).to(ProjectAndFileTests);
125
+ e2eContainer.bind<LanguageServerTestsTheia>(CLASSES.LanguageServerTestsTheia).to(LanguageServerTestsTheia);
126
+ e2eContainer.bind<CodeExecutionTestsTheia>(CLASSES.CodeExecutionTestsTheia).to(CodeExecutionTestsTheia);
127
+ e2eContainer.bind<ProjectAndFileTestsTheia>(CLASSES.ProjectAndFileTestsTheia).to(ProjectAndFileTestsTheia);
128
128
  e2eContainer.bind<WorkspaceHandlingTests>(CLASSES.WorkspaceHandlingTests).to(WorkspaceHandlingTests);
129
129
  e2eContainer.bind<WorkspaceNameHandler>(CLASSES.WorkspaceNameHandler).to(WorkspaceNameHandler);
130
130
  e2eContainer.bind<GitHubPullRequestPlugin>(CLASSES.GitHubPullRequestPlugin).to(GitHubPullRequestPlugin);
@@ -48,7 +48,7 @@ const CLASSES = {
48
48
  CheGitApi: 'CheGitApi',
49
49
  GitPlugin: 'GitPlugin',
50
50
  NotificationCenter: 'NotificationCenter',
51
- PreferencesHandler: 'PreferencesHandler',
51
+ PreferencesHandlerTheia: 'PreferencesHandlerTheia',
52
52
  CheApiRequestHandler: 'CheApiRequestHandler',
53
53
  CreateWorkspace: 'CreateWorkspace',
54
54
  OpenDialogWidget: 'OpenDialogWidget',
@@ -56,9 +56,9 @@ const CLASSES = {
56
56
  KubernetesPlugin: 'KubernetesPlugin',
57
57
  BrowserTabsUtil: 'BrowserTabsUtil',
58
58
  PluginsView: 'PluginsView',
59
- LanguageServerTests: 'LanguageServerTests',
60
- CodeExecutionTests: 'CodeExecutionTests',
61
- ProjectAndFileTests: 'ProjectAndFileTests',
59
+ LanguageServerTestsTheia: 'LanguageServerTestsTheia',
60
+ CodeExecutionTestsTheia: 'CodeExecutionTestsTheia',
61
+ ProjectAndFileTestsTheia: 'ProjectAndFileTestsTheia',
62
62
  WorkspaceHandlingTests: 'WorkspaceHandlingTests',
63
63
  WorkspaceNameHandler: 'WorkspaceNameHandler',
64
64
  GitHubPullRequestPlugin: 'GitHubPullRequestPlugin',
@@ -6,7 +6,7 @@
6
6
  "require": "source-map-support/register",
7
7
  "spec": [
8
8
  "dist/tests/login/Login.spec.js",
9
- "dist/tests/devfiles/*.spec.js",
10
- "dist/tests/e2e/FactoryUrl.spec.js"
9
+ "dist/tests/devfiles/theia/*.spec.js",
10
+ "dist/tests/e2e/theia/FactoryUrl.spec.js"
11
11
  ]
12
12
  }
@@ -6,6 +6,6 @@
6
6
  "full-trace": true,
7
7
  "require": "source-map-support/register",
8
8
  "spec": [
9
- "dist/tests/e2e/GitSsh.spec.js"
9
+ "dist/tests/login/Login.spec.js"
10
10
  ]
11
11
  }
@@ -7,7 +7,7 @@
7
7
  "require": "source-map-support/register",
8
8
  "spec": [
9
9
  "dist/tests/login/Login.spec.js",
10
- "dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.js",
11
- "dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js"
10
+ "dist/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.js",
11
+ "dist/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js"
12
12
  ]
13
13
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "timeout": "2200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "full-trace": true,
6
+ "require": "source-map-support/register",
7
+ "spec": [
8
+ "dist/tests/login/Login.spec.js"
9
+ ]
10
+ }
@@ -6,7 +6,7 @@
6
6
  "require": "source-map-support/register",
7
7
  "spec": [
8
8
  "dist/tests/login/Login.spec.js",
9
- "dist/tests/plugins/VscodeXmlPlugin.spec.js",
10
- "dist/tests/plugins/VscodeYamlPlugin.spec.js"
9
+ "dist/tests/plugins/theia/VscodeXmlPlugin.spec.js",
10
+ "dist/tests/plugins/theia/VscodeYamlPlugin.spec.js"
11
11
  ]
12
12
  }
@@ -4,5 +4,5 @@
4
4
  "ui": "tdd",
5
5
  "bail": true,
6
6
  "full-trace": true,
7
- "spec": ["dist/tests/login/Login.spec.js", "dist/tests/e2e/*.spec.js"]
7
+ "spec": ["dist/tests/login/Login.spec.js", "dist/tests/e2e/code/*.spec.js"]
8
8
  }
@@ -5,5 +5,5 @@
5
5
  "bail": true,
6
6
  "full-trace": true,
7
7
  "require": "source-map-support/register",
8
- "spec": "dist/tests/e2e/OpenshiftConnector.spec.js"
8
+ "spec": "dist/tests/e2e/theia/OpenshiftConnector.spec.js"
9
9
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "timeout": "2200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "full-trace": true,
6
+ "require": "source-map-support/register",
7
+ "spec": [
8
+ "dist/tests/login/Login.spec.js"
9
+ ]
10
+ }
@@ -6,6 +6,6 @@
6
6
  "require": "source-map-support/register",
7
7
  "spec": [
8
8
  "dist/tests/login/Login.spec.js",
9
- "dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js"
9
+ "dist/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.js"
10
10
  ]
11
11
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "timeout": "2200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "full-trace": true,
6
+ "require": "source-map-support/register",
7
+ "spec": [
8
+ "dist/tests/login/Login.spec.js"
9
+ ]
10
+ }
@@ -6,6 +6,6 @@
6
6
  "require": "source-map-support/register",
7
7
  "spec": [
8
8
  "dist/tests/login/Login.spec.js",
9
- "dist/tests/e2e/FactoryUrl.spec.js"
9
+ "dist/tests/e2e/theia/FactoryUrl.spec.js"
10
10
  ]
11
11
  }
@@ -0,0 +1,11 @@
1
+ {
2
+ "timeout": "2200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "bail": true,
6
+ "full-trace": true,
7
+ "require": "source-map-support/register",
8
+ "spec": [
9
+ "dist/tests/e2e/theia/GitPublishBranch.spec.js"
10
+ ]
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "timeout": "2200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "bail": true,
6
+ "full-trace": true,
7
+ "require": "source-map-support/register",
8
+ "spec": [
9
+ "dist/tests/e2e/theia/GitSelfSignCert.spec.js"
10
+ ]
11
+ }
@@ -6,6 +6,6 @@
6
6
  "full-trace": true,
7
7
  "require": "source-map-support/register",
8
8
  "spec": [
9
- "dist/tests/e2e/GitSelfSignCert.spec.js"
9
+ "dist/tests/e2e/theia/GitSsh.spec.js"
10
10
  ]
11
11
  }
@@ -6,6 +6,6 @@
6
6
  "full-trace": true,
7
7
  "require": "source-map-support/register",
8
8
  "spec": [
9
- "dist/tests/e2e/GitPublishBranch.spec.js"
9
+ "dist/tests/login/Login.spec.js"
10
10
  ]
11
11
  }
@@ -7,6 +7,6 @@
7
7
  "require": "source-map-support/register",
8
8
  "spec": [
9
9
  "dist/tests/login/Login.spec.js",
10
- "dist/tests/e2e_happy_path/HappyPath.spec.js"
10
+ "dist/tests/e2e_happy_path/theia/HappyPath.spec.js"
11
11
  ]
12
12
  }
@@ -5,5 +5,5 @@
5
5
  "bail": true,
6
6
  "full-trace": true,
7
7
  "support": "source-map-support/register",
8
- "spec": ["dist/tests/login/Login.spec.js", "dist/tests/devfiles/JavaVertx.spec.js"]
8
+ "spec": ["dist/tests/login/Login.spec.js", "dist/tests/devfiles/JavaMaven.spec.js"]
9
9
  }
@@ -5,5 +5,5 @@
5
5
  "bail": true,
6
6
  "full-trace": true,
7
7
  "support": "source-map-support/register",
8
- "spec": ["dist/tests/load_test/LoadTest.spec.js"]
8
+ "spec": ["dist/tests/login/Login.spec.js"]
9
9
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "timeout": "1200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "bail": true,
6
+ "full-trace": true,
7
+ "support": "source-map-support/register",
8
+ "spec": ["dist/tests/login/Login.spec.js", "dist/tests/devfiles/theia/JavaSpringBoot.spec.js"]
9
+ }
@@ -5,5 +5,5 @@
5
5
  "bail": true,
6
6
  "full-trace": true,
7
7
  "support": "source-map-support/register",
8
- "spec": ["dist/tests/e2e/WorkspaceCreationAndLsInitialization.spec.js"]
8
+ "spec": ["dist/tests/login/Login.spec.js"]
9
9
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "timeout": "1200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "bail": true,
6
+ "full-trace": true,
7
+ "support": "source-map-support/register",
8
+ "spec": ["dist/tests/login/Login.spec.js", "dist/tests/devfiles/theia/JavaVertx.spec.js"]
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "timeout": "1200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "bail": true,
6
+ "full-trace": true,
7
+ "support": "source-map-support/register",
8
+ "spec": ["dist/tests/load_test/theia/LoadTest.spec.js"]
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "timeout": "1200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "bail": true,
6
+ "full-trace": true,
7
+ "support": "source-map-support/register",
8
+ "spec": ["dist/tests/login/Login.spec.js", "dist/tests/devfiles/Scala.spec.js"]
9
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "timeout": "1200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "bail": true,
6
+ "full-trace": true,
7
+ "spec": ["dist/tests/login/Login.spec.js", "dist/tests/e2e/theia/*.spec.js"]
8
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "timeout": "1200000",
3
+ "reporter": "dist/driver/CheReporter.js",
4
+ "ui": "tdd",
5
+ "bail": true,
6
+ "full-trace": true,
7
+ "support": "source-map-support/register",
8
+ "spec": ["dist/tests/e2e/theia/WorkspaceCreationAndLsInitialization.spec.js"]
9
+ }
package/package.json CHANGED
@@ -1,33 +1,43 @@
1
1
  {
2
2
  "name": "@eclipse-che/che-e2e",
3
- "version": "7.58.0-dev-185cda8",
3
+ "version": "7.58.0-dev-3ddca79",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
+ "lint": "tslint --fix -p .",
8
+ "tsc": "tsc -p .",
7
9
  "cleanup-docker": "if [ $(docker ps -a | grep -c selenium-e2e) -gt 0 ]; then docker rm -f $(docker ps --filter \"name=selenium-e2e\" -aq); fi;",
10
+ "init-mocha-opts": "tsc && mocha --config mocha-single-devfile.json --spec dist/tests/login/Login.spec.js",
8
11
  "test-docker": "npm run cleanup-docker && docker run -it --shm-size=2g -p 5920:5920 --name selenium-e2e -e TS_SELENIUM_BASE_URL=$TS_SELENIUM_BASE_URL eclipse/che-e2e:nightly",
9
12
  "test-docker-mount-e2e": "npm run cleanup-docker && docker run -it --shm-size=2g -p 5920:5920 --name selenium-e2e -e TS_SELENIUM_BASE_URL=$TS_SELENIUM_BASE_URL -v $(pwd):/tmp/e2e:Z eclipse/che-e2e:nightly",
10
- "test": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha.json",
11
- "load-test": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-load.json",
12
- "test-happy-path": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-happy-path.json",
13
- "test-devworkspace-happy-path": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-devworkspace-happy-path.json",
14
- "test-wkspc-creation-and-ls": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-wkspc-creation-and-ls",
15
- "test-java-vertx": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-java-vertx.json",
16
- "test-git-ssh": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-git-ssh.json",
17
- "test-git-self-sign-cert": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-git-self-sign-cert.json",
18
- "test-git-publish-branch": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-git-publish-branch.json",
19
- "test-openshift-connector": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-connector.json",
20
- "test-all-devfiles": "./generateIndex.sh && ./initDevfileTests.sh",
21
- "test-factory": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-factory.json",
22
- "test-all-factories": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-all-factories.json",
23
- "test-intelij": "tsc && mocha --config mocha.intelij.json",
24
13
  "test-oauth": "tsc && mocha --config mocha.ocp.link.json",
25
- "lint": "tslint --fix -p .",
26
- "tsc": "tsc -p .",
27
- "init-mocha-opts": "tsc && mocha --config mocha-single-devfile.json --spec dist/tests/login/Login.spec.js",
14
+ "test-intelij": "tsc && mocha --config mocha.intelij.json",
28
15
  "test-plugin": "./initPluginTest.sh",
29
- "test-plugin-ci": "export TS_DELETE_PLUGINS_TEST_WORKSPACE=true && npm run init-mocha-opts -- --spec dist/tests/plugins/${USERSTORY}.spec.js",
30
- "test-all-plugins": "tsc && mocha --config mocha-all-plugins.json"
16
+ "test-all-devfiles": "./generateIndex.sh && ./initDevfileTests.sh",
17
+ "test-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-theia.json",
18
+ "load-test-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-load-theia.json",
19
+ "test-happy-path-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-happy-path-theia.json",
20
+ "test-devworkspace-happy-path-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-devworkspace-happy-path-theia.json",
21
+ "test-ws-creation-and-ls-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-ws-creation-and-ls-theia.json",
22
+ "test-java-vertx-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-java-vertx-theia.json",
23
+ "test-java-springboot-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-java-springboot-theia.json",
24
+ "test-git-ssh-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-git-ssh-theia.json",
25
+ "test-git-self-sign-cert-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-git-self-sign-cert-theia.json",
26
+ "test-git-publish-branch-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-git-publish-branch-theia.json",
27
+ "test-openshift-connector-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-connector-theia.json",
28
+ "test-factory-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-factory-theia.json",
29
+ "test-all-factories-theia": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-all-factories-theia.json",
30
+ "test-plugin-ci-theia": "export TS_DELETE_PLUGINS_TEST_WORKSPACE=true && npm run init-mocha-opts -- --spec dist/tests/plugins/theia/${USERSTORY}.spec.js",
31
+ "test-all-plugins-theia": "tsc && mocha --config mocha-all-plugins-theia.json",
32
+ "test-code": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-code.json",
33
+ "test-happy-path-code": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-happy-path-code.json",
34
+ "test-devworkspace-happy-path-code": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-devworkspace-happy-path-code.json",
35
+ "test-java-vertx-code": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-java-vertx-code.json",
36
+ "test-java-springboot-code": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-java-springboot-code.json",
37
+ "test-factory-code": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-factory-code.json",
38
+ "test-all-factories-code": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-all-factories-code.json",
39
+ "test-plugin-ci-code": "export TS_DELETE_PLUGINS_TEST_WORKSPACE=true && npm run init-mocha-opts -- --spec dist/tests/plugins/code/${USERSTORY}.spec.js",
40
+ "test-all-plugins-code": "tsc && mocha --config mocha-all-plugins-code.json"
31
41
  },
32
42
  "author": "Ihor Okhrimenko (iokhrime@redhat.com)",
33
43
  "license": "ISC",
@@ -36,17 +46,19 @@
36
46
  "@types/mocha": "5.2.6",
37
47
  "@types/node": "11.13.4",
38
48
  "@types/rimraf": "2.0.2",
39
- "@types/selenium-webdriver": "3.0.16",
49
+ "@types/selenium-webdriver": "4.1.3",
40
50
  "axios": "^0.25.0",
41
51
  "chai": "4.2.0",
42
- "chromedriver": "^101.0.0",
52
+ "chromedriver": "^103.0.0",
43
53
  "mocha": "^9.1.3",
44
54
  "rimraf": "2.6.2",
45
- "selenium-webdriver": "3.6.0",
55
+ "selenium-webdriver": "4.4.0",
46
56
  "ts-node": "8.0.3",
47
57
  "tslint": "5.10.0",
48
58
  "typed-rest-client": "1.8.5",
49
- "typescript": "3.9.9"
59
+ "typescript": "3.9.9",
60
+ "monaco-page-objects": "3.1.0",
61
+ "vscode-extension-tester-locators": "3.1.0"
50
62
  },
51
63
  "dependencies": {
52
64
  "@eclipse-che/api": "latest",