@eclipse-che/che-e2e 7.39.0 → 7.41.0-dev-7e33489

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 (260) hide show
  1. package/build/dockerfiles/Dockerfile +35 -0
  2. package/build/dockerfiles/README.md +58 -0
  3. package/build/dockerfiles/entrypoint.sh +113 -0
  4. package/build/dockerfiles/google-chrome.repo +6 -0
  5. package/dist/pageobjects/ide/Editor.js +25 -24
  6. package/dist/pageobjects/ide/Editor.js.map +1 -1
  7. package/dist/pageobjects/ide/Terminal.js +22 -42
  8. package/dist/pageobjects/ide/Terminal.js.map +1 -1
  9. package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js +3 -3
  10. package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js.map +1 -1
  11. package/dist/tests/e2e_happy_path/HappyPath.spec.js +3 -3
  12. package/dist/tests/e2e_happy_path/HappyPath.spec.js.map +1 -1
  13. package/dist/tests/plugins/JavaPlugin.spec.js +2 -2
  14. package/dist/tests/plugins/JavaPlugin.spec.js.map +1 -1
  15. package/dist/tests/plugins/PhpPlugin.spec.js +2 -2
  16. package/dist/tests/plugins/PhpPlugin.spec.js.map +1 -1
  17. package/dist/tests/plugins/PythonPlugin.spec.js +2 -2
  18. package/dist/tests/plugins/PythonPlugin.spec.js.map +1 -1
  19. package/dist/tests/plugins/TypescriptPlugin.spec.js +2 -2
  20. package/dist/tests/plugins/TypescriptPlugin.spec.js.map +1 -1
  21. package/dist/tests/plugins/VscodeShellcheckPlugin.spec.js +4 -4
  22. package/dist/tests/plugins/VscodeShellcheckPlugin.spec.js.map +1 -1
  23. package/dist/tests/plugins/VscodeValePlugin.spec.js +1 -1
  24. package/dist/tests/plugins/VscodeValePlugin.spec.js.map +1 -1
  25. package/dist/tests/plugins/VscodeXmlPlugin.spec.js +2 -2
  26. package/dist/tests/plugins/VscodeXmlPlugin.spec.js.map +1 -1
  27. package/dist/tests/plugins/VscodeYamlPlugin.spec.js +2 -2
  28. package/dist/tests/plugins/VscodeYamlPlugin.spec.js.map +1 -1
  29. package/dist/testsLibrary/LanguageServerTests.js +2 -2
  30. package/dist/testsLibrary/LanguageServerTests.js.map +1 -1
  31. package/dist/utils/DriverHelper.js +10 -10
  32. package/dist/utils/DriverHelper.js.map +1 -1
  33. package/dist/utils/VCS/github/GitHubUtil.js +20 -0
  34. package/dist/utils/VCS/github/GitHubUtil.js.map +1 -1
  35. package/package.json +3 -3
  36. package/pageobjects/ide/Editor.ts +25 -24
  37. package/pageobjects/ide/Terminal.ts +20 -46
  38. package/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.ts +3 -3
  39. package/tests/e2e_happy_path/HappyPath.spec.ts +3 -3
  40. package/tests/plugins/JavaPlugin.spec.ts +2 -2
  41. package/tests/plugins/PhpPlugin.spec.ts +2 -2
  42. package/tests/plugins/PythonPlugin.spec.ts +2 -2
  43. package/tests/plugins/TypescriptPlugin.spec.ts +2 -2
  44. package/tests/plugins/VscodeShellcheckPlugin.spec.ts +4 -4
  45. package/tests/plugins/VscodeValePlugin.spec.ts +1 -1
  46. package/tests/plugins/VscodeXmlPlugin.spec.ts +2 -2
  47. package/tests/plugins/VscodeYamlPlugin.spec.ts +2 -2
  48. package/testsLibrary/LanguageServerTests.ts +2 -2
  49. package/utils/DriverHelper.ts +10 -10
  50. package/utils/VCS/github/GitHubUtil.ts +19 -0
  51. package/dist/TestConstants.d.ts +0 -206
  52. package/dist/TestConstants.d.ts.map +0 -1
  53. package/dist/TimeoutConstants.d.ts +0 -164
  54. package/dist/TimeoutConstants.d.ts.map +0 -1
  55. package/dist/driver/CheReporter.d.ts +0 -18
  56. package/dist/driver/CheReporter.d.ts.map +0 -1
  57. package/dist/driver/ChromeDriver.d.ts +0 -21
  58. package/dist/driver/ChromeDriver.d.ts.map +0 -1
  59. package/dist/driver/IDriver.d.ts +0 -14
  60. package/dist/driver/IDriver.d.ts.map +0 -1
  61. package/dist/index.d.ts +0 -67
  62. package/dist/index.d.ts.map +0 -1
  63. package/dist/inversify.config.d.ts +0 -13
  64. package/dist/inversify.config.d.ts.map +0 -1
  65. package/dist/inversify.types.d.ts +0 -68
  66. package/dist/inversify.types.d.ts.map +0 -1
  67. package/dist/pageobjects/dashboard/CreateWorkspace.d.ts +0 -20
  68. package/dist/pageobjects/dashboard/CreateWorkspace.d.ts.map +0 -1
  69. package/dist/pageobjects/dashboard/Dashboard.d.ts +0 -24
  70. package/dist/pageobjects/dashboard/Dashboard.d.ts.map +0 -1
  71. package/dist/pageobjects/dashboard/Workspaces.d.ts +0 -44
  72. package/dist/pageobjects/dashboard/Workspaces.d.ts.map +0 -1
  73. package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.d.ts +0 -42
  74. package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.d.ts.map +0 -1
  75. package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.d.ts +0 -29
  76. package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.d.ts.map +0 -1
  77. package/dist/pageobjects/ide/ContextMenu.d.ts +0 -22
  78. package/dist/pageobjects/ide/ContextMenu.d.ts.map +0 -1
  79. package/dist/pageobjects/ide/DebugView.d.ts +0 -32
  80. package/dist/pageobjects/ide/DebugView.d.ts.map +0 -1
  81. package/dist/pageobjects/ide/DialogWindow.d.ts +0 -28
  82. package/dist/pageobjects/ide/DialogWindow.d.ts.map +0 -1
  83. package/dist/pageobjects/ide/Editor.d.ts +0 -78
  84. package/dist/pageobjects/ide/Editor.d.ts.map +0 -1
  85. package/dist/pageobjects/ide/Ide.d.ts +0 -61
  86. package/dist/pageobjects/ide/Ide.d.ts.map +0 -1
  87. package/dist/pageobjects/ide/LeftToolBar.d.ts +0 -23
  88. package/dist/pageobjects/ide/LeftToolBar.d.ts.map +0 -1
  89. package/dist/pageobjects/ide/NavigationBar.d.ts +0 -9
  90. package/dist/pageobjects/ide/NavigationBar.d.ts.map +0 -1
  91. package/dist/pageobjects/ide/NotificationCenter.d.ts +0 -22
  92. package/dist/pageobjects/ide/NotificationCenter.d.ts.map +0 -1
  93. package/dist/pageobjects/ide/OpenDialogWidget.d.ts +0 -36
  94. package/dist/pageobjects/ide/OpenDialogWidget.d.ts.map +0 -1
  95. package/dist/pageobjects/ide/OpenWorkspaceWidget.d.ts +0 -17
  96. package/dist/pageobjects/ide/OpenWorkspaceWidget.d.ts.map +0 -1
  97. package/dist/pageobjects/ide/PreviewWidget.d.ts +0 -35
  98. package/dist/pageobjects/ide/PreviewWidget.d.ts.map +0 -1
  99. package/dist/pageobjects/ide/ProjectTree.d.ts +0 -53
  100. package/dist/pageobjects/ide/ProjectTree.d.ts.map +0 -1
  101. package/dist/pageobjects/ide/QuickOpenContainer.d.ts +0 -20
  102. package/dist/pageobjects/ide/QuickOpenContainer.d.ts.map +0 -1
  103. package/dist/pageobjects/ide/RightToolBar.d.ts +0 -8
  104. package/dist/pageobjects/ide/RightToolBar.d.ts.map +0 -1
  105. package/dist/pageobjects/ide/Terminal.d.ts +0 -36
  106. package/dist/pageobjects/ide/Terminal.d.ts.map +0 -1
  107. package/dist/pageobjects/ide/TopMenu.d.ts +0 -28
  108. package/dist/pageobjects/ide/TopMenu.d.ts.map +0 -1
  109. package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.d.ts +0 -36
  110. package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.d.ts.map +0 -1
  111. package/dist/pageobjects/ide/plugins/GitPlugin.d.ts +0 -35
  112. package/dist/pageobjects/ide/plugins/GitPlugin.d.ts.map +0 -1
  113. package/dist/pageobjects/ide/plugins/KubernetesPlugin.d.ts +0 -32
  114. package/dist/pageobjects/ide/plugins/KubernetesPlugin.d.ts.map +0 -1
  115. package/dist/pageobjects/ide/plugins/OpenshiftPlugin.d.ts +0 -38
  116. package/dist/pageobjects/ide/plugins/OpenshiftPlugin.d.ts.map +0 -1
  117. package/dist/pageobjects/ide/plugins/PluginsView.d.ts +0 -43
  118. package/dist/pageobjects/ide/plugins/PluginsView.d.ts.map +0 -1
  119. package/dist/pageobjects/login/ICheLoginPage.d.ts +0 -13
  120. package/dist/pageobjects/login/ICheLoginPage.d.ts.map +0 -1
  121. package/dist/pageobjects/login/IOcpLoginPage.d.ts +0 -13
  122. package/dist/pageobjects/login/IOcpLoginPage.d.ts.map +0 -1
  123. package/dist/pageobjects/login/MultiUserLoginPage.d.ts +0 -18
  124. package/dist/pageobjects/login/MultiUserLoginPage.d.ts.map +0 -1
  125. package/dist/pageobjects/login/OcpUserLoginPage.d.ts +0 -18
  126. package/dist/pageobjects/login/OcpUserLoginPage.d.ts.map +0 -1
  127. package/dist/pageobjects/login/RegularUserOcpCheLoginPage.d.ts +0 -20
  128. package/dist/pageobjects/login/RegularUserOcpCheLoginPage.d.ts.map +0 -1
  129. package/dist/pageobjects/login/UpdateAccountInformationPage.d.ts +0 -24
  130. package/dist/pageobjects/login/UpdateAccountInformationPage.d.ts.map +0 -1
  131. package/dist/pageobjects/openshift/CheLoginPage.d.ts +0 -27
  132. package/dist/pageobjects/openshift/CheLoginPage.d.ts.map +0 -1
  133. package/dist/pageobjects/openshift/OcpLoginPage.d.ts +0 -30
  134. package/dist/pageobjects/openshift/OcpLoginPage.d.ts.map +0 -1
  135. package/dist/pageobjects/third-parties/GitLoginPage.d.ts +0 -27
  136. package/dist/pageobjects/third-parties/GitLoginPage.d.ts.map +0 -1
  137. package/dist/pageobjects/third-parties/GitOauthAppsSettings.d.ts +0 -33
  138. package/dist/pageobjects/third-parties/GitOauthAppsSettings.d.ts.map +0 -1
  139. package/dist/tests/devfiles/CSlashCPlusPlus.spec.d.ts +0 -12
  140. package/dist/tests/devfiles/CSlashCPlusPlus.spec.d.ts.map +0 -1
  141. package/dist/tests/devfiles/DevfileSmoke.spec.d.ts +0 -11
  142. package/dist/tests/devfiles/DevfileSmoke.spec.d.ts.map +0 -1
  143. package/dist/tests/devfiles/DotNetCore.spec.d.ts +0 -12
  144. package/dist/tests/devfiles/DotNetCore.spec.d.ts.map +0 -1
  145. package/dist/tests/devfiles/Go.spec.d.ts +0 -2
  146. package/dist/tests/devfiles/Go.spec.d.ts.map +0 -1
  147. package/dist/tests/devfiles/JavaMaven.spec.d.ts +0 -11
  148. package/dist/tests/devfiles/JavaMaven.spec.d.ts.map +0 -1
  149. package/dist/tests/devfiles/JavaSpringBoot.spec.d.ts +0 -11
  150. package/dist/tests/devfiles/JavaSpringBoot.spec.d.ts.map +0 -1
  151. package/dist/tests/devfiles/JavaVertx.spec.d.ts +0 -11
  152. package/dist/tests/devfiles/JavaVertx.spec.d.ts.map +0 -1
  153. package/dist/tests/devfiles/NodeJS.spec.d.ts +0 -2
  154. package/dist/tests/devfiles/NodeJS.spec.d.ts.map +0 -1
  155. package/dist/tests/devfiles/PHPSimple.spec.d.ts +0 -12
  156. package/dist/tests/devfiles/PHPSimple.spec.d.ts.map +0 -1
  157. package/dist/tests/devfiles/Python.spec.d.ts +0 -2
  158. package/dist/tests/devfiles/Python.spec.d.ts.map +0 -1
  159. package/dist/tests/devfiles/PythonDjango.spec.d.ts +0 -2
  160. package/dist/tests/devfiles/PythonDjango.spec.d.ts.map +0 -1
  161. package/dist/tests/devfiles/Quarkus.spec.d.ts +0 -2
  162. package/dist/tests/devfiles/Quarkus.spec.d.ts.map +0 -1
  163. package/dist/tests/devfiles/Scala.spec.d.ts +0 -11
  164. package/dist/tests/devfiles/Scala.spec.d.ts.map +0 -1
  165. package/dist/tests/e2e/FactoryUrl.spec.d.ts +0 -2
  166. package/dist/tests/e2e/FactoryUrl.spec.d.ts.map +0 -1
  167. package/dist/tests/e2e/GitPublishBranch.spec.d.ts +0 -11
  168. package/dist/tests/e2e/GitPublishBranch.spec.d.ts.map +0 -1
  169. package/dist/tests/e2e/GitSelfSignCert.spec.d.ts +0 -11
  170. package/dist/tests/e2e/GitSelfSignCert.spec.d.ts.map +0 -1
  171. package/dist/tests/e2e/GitSsh.spec.d.ts +0 -11
  172. package/dist/tests/e2e/GitSsh.spec.d.ts.map +0 -1
  173. package/dist/tests/e2e/OpenshiftConnector.spec.d.ts +0 -11
  174. package/dist/tests/e2e/OpenshiftConnector.spec.d.ts.map +0 -1
  175. package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.d.ts +0 -2
  176. package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.d.ts.map +0 -1
  177. package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.d.ts +0 -2
  178. package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.d.ts.map +0 -1
  179. package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.d.ts +0 -2
  180. package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.d.ts.map +0 -1
  181. package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.d.ts +0 -2
  182. package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.d.ts.map +0 -1
  183. package/dist/tests/e2e_happy_path/HappyPath.spec.d.ts +0 -11
  184. package/dist/tests/e2e_happy_path/HappyPath.spec.d.ts.map +0 -1
  185. package/dist/tests/intelij/IntelijOpenWorkspace.spec.d.ts +0 -11
  186. package/dist/tests/intelij/IntelijOpenWorkspace.spec.d.ts.map +0 -1
  187. package/dist/tests/load_test/LoadTest.spec.d.ts +0 -11
  188. package/dist/tests/load_test/LoadTest.spec.d.ts.map +0 -1
  189. package/dist/tests/login/LinkCheAndOcpUsers.spec.d.ts +0 -11
  190. package/dist/tests/login/LinkCheAndOcpUsers.spec.d.ts.map +0 -1
  191. package/dist/tests/login/Login.spec.d.ts +0 -11
  192. package/dist/tests/login/Login.spec.d.ts.map +0 -1
  193. package/dist/tests/plugins/GitHubPullRequestPlugin.spec.d.ts +0 -11
  194. package/dist/tests/plugins/GitHubPullRequestPlugin.spec.d.ts.map +0 -1
  195. package/dist/tests/plugins/InstallPluginUsingUI.spec.d.ts +0 -11
  196. package/dist/tests/plugins/InstallPluginUsingUI.spec.d.ts.map +0 -1
  197. package/dist/tests/plugins/JavaPlugin.spec.d.ts +0 -2
  198. package/dist/tests/plugins/JavaPlugin.spec.d.ts.map +0 -1
  199. package/dist/tests/plugins/PhpPlugin.spec.d.ts +0 -2
  200. package/dist/tests/plugins/PhpPlugin.spec.d.ts.map +0 -1
  201. package/dist/tests/plugins/PythonPlugin.spec.d.ts +0 -11
  202. package/dist/tests/plugins/PythonPlugin.spec.d.ts.map +0 -1
  203. package/dist/tests/plugins/TypescriptPlugin.spec.d.ts +0 -11
  204. package/dist/tests/plugins/TypescriptPlugin.spec.d.ts.map +0 -1
  205. package/dist/tests/plugins/VscodeKubernetesPlugin.spec.d.ts +0 -11
  206. package/dist/tests/plugins/VscodeKubernetesPlugin.spec.d.ts.map +0 -1
  207. package/dist/tests/plugins/VscodeShellcheckPlugin.spec.d.ts +0 -11
  208. package/dist/tests/plugins/VscodeShellcheckPlugin.spec.d.ts.map +0 -1
  209. package/dist/tests/plugins/VscodeValePlugin.spec.d.ts +0 -11
  210. package/dist/tests/plugins/VscodeValePlugin.spec.d.ts.map +0 -1
  211. package/dist/tests/plugins/VscodeXmlPlugin.spec.d.ts +0 -11
  212. package/dist/tests/plugins/VscodeXmlPlugin.spec.d.ts.map +0 -1
  213. package/dist/tests/plugins/VscodeYamlPlugin.spec.d.ts +0 -11
  214. package/dist/tests/plugins/VscodeYamlPlugin.spec.d.ts.map +0 -1
  215. package/dist/testsLibrary/CodeExecutionTests.d.ts +0 -49
  216. package/dist/testsLibrary/CodeExecutionTests.d.ts.map +0 -1
  217. package/dist/testsLibrary/LanguageServerTests.d.ts +0 -36
  218. package/dist/testsLibrary/LanguageServerTests.d.ts.map +0 -1
  219. package/dist/testsLibrary/ProjectAndFileTests.d.ts +0 -28
  220. package/dist/testsLibrary/ProjectAndFileTests.d.ts.map +0 -1
  221. package/dist/testsLibrary/WorkspaceHandlingTests.d.ts +0 -29
  222. package/dist/testsLibrary/WorkspaceHandlingTests.d.ts.map +0 -1
  223. package/dist/utils/AnimationChecker.d.ts +0 -16
  224. package/dist/utils/AnimationChecker.d.ts.map +0 -1
  225. package/dist/utils/BrowserTabsUtil.d.ts +0 -28
  226. package/dist/utils/BrowserTabsUtil.d.ts.map +0 -1
  227. package/dist/utils/DriverHelper.d.ts +0 -76
  228. package/dist/utils/DriverHelper.d.ts.map +0 -1
  229. package/dist/utils/KeycloackUrlHandler.d.ts +0 -15
  230. package/dist/utils/KeycloackUrlHandler.d.ts.map +0 -1
  231. package/dist/utils/Logger.d.ts +0 -39
  232. package/dist/utils/Logger.d.ts.map +0 -1
  233. package/dist/utils/PreferencesHandler.d.ts +0 -52
  234. package/dist/utils/PreferencesHandler.d.ts.map +0 -1
  235. package/dist/utils/Sanitizer.d.ts +0 -13
  236. package/dist/utils/Sanitizer.d.ts.map +0 -1
  237. package/dist/utils/ScreenCatcher.d.ts +0 -12
  238. package/dist/utils/ScreenCatcher.d.ts.map +0 -1
  239. package/dist/utils/VCS/CheGitApi.d.ts +0 -8
  240. package/dist/utils/VCS/CheGitApi.d.ts.map +0 -1
  241. package/dist/utils/VCS/github/GitHubUtil.d.ts +0 -15
  242. package/dist/utils/VCS/github/GitHubUtil.d.ts.map +0 -1
  243. package/dist/utils/WorkspaceNameHandler.d.ts +0 -17
  244. package/dist/utils/WorkspaceNameHandler.d.ts.map +0 -1
  245. package/dist/utils/requestHandlers/CheApiRequestHandler.d.ts +0 -28
  246. package/dist/utils/requestHandlers/CheApiRequestHandler.d.ts.map +0 -1
  247. package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.d.ts +0 -18
  248. package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.d.ts.map +0 -1
  249. package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.d.ts +0 -14
  250. package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.d.ts.map +0 -1
  251. package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.d.ts +0 -5
  252. package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.d.ts.map +0 -1
  253. package/dist/utils/requestHandlers/tokens/ITokenHandler.d.ts +0 -13
  254. package/dist/utils/requestHandlers/tokens/ITokenHandler.d.ts.map +0 -1
  255. package/dist/utils/workspace/ITestWorkspaceUtil.d.ts +0 -25
  256. package/dist/utils/workspace/ITestWorkspaceUtil.d.ts.map +0 -1
  257. package/dist/utils/workspace/TestWorkspaceUtil.d.ts +0 -34
  258. package/dist/utils/workspace/TestWorkspaceUtil.d.ts.map +0 -1
  259. package/dist/utils/workspace/WorkspaceStatus.d.ts +0 -15
  260. package/dist/utils/workspace/WorkspaceStatus.d.ts.map +0 -1
@@ -109,7 +109,7 @@ export class DriverHelper {
109
109
  try {
110
110
  element = await this.driver.wait(until.elementLocated(elementLocator), polling);
111
111
  } catch (err) {
112
- if (i >= attempts) {
112
+ if (i >= attempts - 1) {
113
113
  Logger.error(`DriverHelper.waitVisibility - failed with exception, out of attempts - ${err}`);
114
114
  throw err;
115
115
  }
@@ -269,7 +269,7 @@ export class DriverHelper {
269
269
  try {
270
270
  element = await this.waitVisibility(elementLocator, polling);
271
271
  } catch (err) {
272
- if (i >= attempts) {
272
+ if (i >= attempts - 1) {
273
273
  Logger.error(`DriverHelper.waitAndClick - failed with exception, out of attempts - ${err}`);
274
274
  throw err;
275
275
  }
@@ -314,7 +314,7 @@ export class DriverHelper {
314
314
  try {
315
315
  element = await this.waitVisibility(elementLocator, polling);
316
316
  } catch (err) {
317
- if (i >= attempts) {
317
+ if (i >= attempts - 1) {
318
318
  Logger.error(`DriverHelper.waitAndGetElementAttribute - failed with exception, out of attempts - ${err}`);
319
319
  throw err;
320
320
  }
@@ -357,7 +357,7 @@ export class DriverHelper {
357
357
  try {
358
358
  element = await this.waitVisibility(elementLocator, polling);
359
359
  } catch (err) {
360
- if (i >= attempts) {
360
+ if (i >= attempts - 1) {
361
361
  Logger.error(`DriverHelper.waitAndGetCssValue - failed with exception, out of attempts - ${err}`);
362
362
  throw err;
363
363
  }
@@ -415,7 +415,7 @@ export class DriverHelper {
415
415
  try {
416
416
  element = await this.waitVisibility(elementLocator, polling);
417
417
  } catch (err) {
418
- if (i >= attempts) {
418
+ if (i >= attempts - 1) {
419
419
  Logger.error(`DriverHelper.type - failed with exception, out of attempts - ${err}`);
420
420
  throw err;
421
421
  }
@@ -457,7 +457,7 @@ export class DriverHelper {
457
457
  try {
458
458
  element = await this.waitPresence(elementLocator, polling);
459
459
  } catch (err) {
460
- if (i >= attempts) {
460
+ if (i >= attempts - 1) {
461
461
  Logger.error(`DriverHelper.typeToInvisible - failed with exception, out of attempts - ${err}`);
462
462
  throw err;
463
463
  }
@@ -499,7 +499,7 @@ export class DriverHelper {
499
499
  try {
500
500
  element = await this.waitVisibility(elementLocator, polling);
501
501
  } catch (err) {
502
- if (i >= attempts) {
502
+ if (i >= attempts - 1) {
503
503
  Logger.error(`DriverHelper.clear - failed with exception, out of attempts - ${err}`);
504
504
  throw err;
505
505
  }
@@ -541,7 +541,7 @@ export class DriverHelper {
541
541
  try {
542
542
  element = await this.waitPresence(elementLocator, polling);
543
543
  } catch (err) {
544
- if (i >= attempts) {
544
+ if (i >= attempts - 1) {
545
545
  Logger.error(`DriverHelper.clearInvisible - failed with exception, out of attempts - ${err}`);
546
546
  throw err;
547
547
  }
@@ -599,7 +599,7 @@ export class DriverHelper {
599
599
  try {
600
600
  element = await this.waitVisibility(elementLocator, polling);
601
601
  } catch (err) {
602
- if (i >= attempts) {
602
+ if (i >= attempts - 1) {
603
603
  Logger.error(`DriverHelper.waitAndGetText - failed with exception, out of attempts - ${err}`);
604
604
  throw err;
605
605
  }
@@ -702,7 +702,7 @@ export class DriverHelper {
702
702
  try {
703
703
  element = await this.waitPresence(elementLocator, polling);
704
704
  } catch (err) {
705
- if (i >= attempts) {
705
+ if (i >= attempts - 1) {
706
706
  Logger.error(`DriverHelper.scrollTo - failed with exception, out of attempts - ${err}`);
707
707
  throw err;
708
708
  }
@@ -73,6 +73,25 @@ export class GitHubUtil {
73
73
  }
74
74
  }
75
75
 
76
+ async deletePublicSshKeyByName(authToken: string, keyName: string) {
77
+ const gitHubApiSshURL: string = GitHubUtil.GITHUB_API_ENTRIPOINT_URL + 'user/keys';
78
+ const authHeader = { headers: { 'Authorization': 'token ' + authToken, 'Content-Type': 'application/json' } };
79
+ try {
80
+ const response = await axios.get(gitHubApiSshURL, authHeader);
81
+ const stringified = JSON.stringify(response.data);
82
+ const arrayOfPublicKeys = JSON.parse(stringified);
83
+ for (let entry of arrayOfPublicKeys) {
84
+ if (entry.title === keyName) {
85
+ this.removePublicSshKey(authToken, entry.id);
86
+ break;
87
+ }
88
+ }
89
+ } catch (error) {
90
+ console.error('Cannot delete the ' + keyName + ' public key from the GitHub account');
91
+ console.error(error);
92
+ throw error;
93
+ }
94
+ }
76
95
 
77
96
  async removeAllPublicSshKeys(authToken: string) {
78
97
  try {
@@ -1,206 +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
- export declare const TestConstants: {
11
- /**
12
- * Base URL of the application which should be checked
13
- */
14
- TS_SELENIUM_BASE_URL: string;
15
- /**
16
- * Base URl of web console OpenShift which uses to test OperatorHub.
17
- */
18
- TS_SELENIUM_WEB_CONSOLE_OCP_URL: string;
19
- /**
20
- * Run browser in "Headless" (hiden) mode, "false" by default.
21
- */
22
- TS_SELENIUM_HEADLESS: boolean;
23
- /**
24
- * Run browser in "Fullscreen" (kiosk) mode.
25
- * Default to true if undefined
26
- */
27
- TS_SELENIUM_LAUNCH_FULLSCREEN: boolean;
28
- /**
29
- * Run browser with an enabled or disabled W3C protocol (on Chrome 76 and upper, it is enabled by default), "true" by default.
30
- */
31
- TS_SELENIUM_W3C_CHROME_OPTION: boolean;
32
- /**
33
- * Browser width resolution, "1920" by default.
34
- */
35
- TS_SELENIUM_RESOLUTION_WIDTH: number;
36
- /**
37
- * Browser height resolution, "1080" by default.
38
- */
39
- TS_SELENIUM_RESOLUTION_HEIGHT: number;
40
- /**
41
- * Default ammount of tries, "5" by default.
42
- */
43
- TS_SELENIUM_DEFAULT_ATTEMPTS: number;
44
- /**
45
- * Default delay in milliseconds between tries, "1000" by default.
46
- */
47
- TS_SELENIUM_DEFAULT_POLLING: number;
48
- /**
49
- * Amount of tries for checking workspace status.
50
- */
51
- TS_SELENIUM_WORKSPACE_STATUS_ATTEMPTS: number;
52
- /**
53
- * Delay in milliseconds between checking workspace status tries.
54
- */
55
- TS_SELENIUM_WORKSPACE_STATUS_POLLING: number;
56
- /**
57
- * Amount of tries for checking plugin precence.
58
- */
59
- TS_SELENIUM_PLUGIN_PRECENCE_ATTEMPTS: number;
60
- /**
61
- * Name of workspace created for 'Happy Path' scenario validation.
62
- */
63
- TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME: string;
64
- /**
65
- * Using 'single-host' strategy, "false" by default.
66
- */
67
- TS_SELENIUM_SINGLE_HOST: boolean;
68
- /**
69
- * Value of OpenShift oAuth property determines how to login in installed application,
70
- * if 'false' as an user of application, if 'true' as a regular user of OCP.
71
- */
72
- TS_SELENIUM_VALUE_OPENSHIFT_OAUTH: string;
73
- /**
74
- * Username used to log in MultiUser Che.
75
- */
76
- TS_SELENIUM_USERNAME: string;
77
- /**
78
- * Password used to log in MultiUser Che.
79
- */
80
- TS_SELENIUM_PASSWORD: string;
81
- /**
82
- * Log into OCP by using appropriate provider title.
83
- */
84
- TS_OCP_LOGIN_PAGE_PROVIDER_TITLE: string;
85
- /**
86
- * Path to folder with load tests execution report.
87
- */
88
- TS_SELENIUM_LOAD_TEST_REPORT_FOLDER: string;
89
- /**
90
- * Regular username used to login in OCP.
91
- */
92
- TS_SELENIUM_OCP_USERNAME: string;
93
- /**
94
- * Password regular user used to login in OCP.
95
- */
96
- TS_SELENIUM_OCP_PASSWORD: string;
97
- /**
98
- * Email of regular user OpenShift to login CHE.
99
- */
100
- TS_SELENIUM_EMAIL_USER: string;
101
- /**
102
- * First name of regular user OpenShift to login CHE.
103
- */
104
- TS_SELENIUM_FIRST_NAME: string;
105
- /**
106
- * Last name of regular user Openshift to login CHE.
107
- */
108
- TS_SELENIUM_LAST_NAME: string;
109
- /**
110
- * Delay between screenshots catching in the milliseconds for the execution screencast.
111
- */
112
- TS_SELENIUM_DELAY_BETWEEN_SCREENSHOTS: number;
113
- /**
114
- * Path to folder with tests execution report.
115
- */
116
- TS_SELENIUM_REPORT_FOLDER: string;
117
- /**
118
- * Enable or disable storing of execution screencast, "false" by default.
119
- */
120
- TS_SELENIUM_EXECUTION_SCREENCAST: boolean;
121
- /**
122
- * Delete screencast after execution if all tests passed, "true" by default.
123
- */
124
- DELETE_SCREENCAST_IF_TEST_PASS: boolean;
125
- /**
126
- * Remote driver URL.
127
- */
128
- TS_SELENIUM_REMOTE_DRIVER_URL: string;
129
- /**
130
- * Stop and remove workspace if a test fails.
131
- */
132
- DELETE_WORKSPACE_ON_FAILED_TEST: boolean;
133
- /**
134
- * Log level settings, possible variants: 'INFO' (by default), 'DEBUG', 'TRACE'.
135
- */
136
- TS_SELENIUM_LOG_LEVEL: string;
137
- /**
138
- * Enable Axios request interceptor, false by default
139
- */
140
- TS_SELENIUM_REQUEST_INTERCEPTOR: boolean;
141
- /**
142
- * Enable Axios response interceptor, false by default
143
- */
144
- TS_SELENIUM_RESPONSE_INTERCEPTOR: boolean;
145
- /**
146
- * Running test suite - possible variants can be found in package.json scripts part.
147
- */
148
- TEST_SUITE: string;
149
- /**
150
- * The repo (with README.md in root) and access token are needed for to run test-git-ssh
151
- */
152
- TS_GITHUB_TEST_REPO: string;
153
- /**
154
- * Token for a github repository with permissions which allow add the ssh keys
155
- */
156
- TS_GITHUB_TEST_REPO_ACCESS_TOKEN: string;
157
- /**
158
- * Username of the github account
159
- */
160
- TS_GITHUB_USERNAME: string;
161
- /**
162
- * Password of the github account
163
- */
164
- TS_GITHUB_PASSWORD: string;
165
- /**
166
- * Login for a user whom has been created in the test Openshift cluster. Need for Openshift connector test
167
- */
168
- TS_TEST_OPENSHIFT_PLUGIN_USERNAME: string;
169
- /**
170
- * Password for a user whom has been created in the test Openshift cluster. Need for Openshift connector test
171
- */
172
- TS_TEST_OPENSHIFT_PLUGIN_PASSWORD: string;
173
- /**
174
- * The name of project in the Openshift plugin tree
175
- */
176
- TS_TEST_OPENSHIFT_PLUGIN_PROJECT: string;
177
- /**
178
- * The name of the Openshift connector plugin component type
179
- */
180
- TS_TEST_OPENSHIFT_PLUGIN_COMPONENT_TYPE: string;
181
- /**
182
- * The name of the Openshift connector plugin component version
183
- */
184
- TS_TEST_OPENSHIFT_PLUGIN_COMPONENT_VERSION: string;
185
- /**
186
- * Print all timeout variables when tests launch, defaulte to false
187
- */
188
- TS_SELENIUM_PRINT_TIMEOUT_VARIABLES: string | boolean;
189
- /**
190
- * URL of the workspace created by devworkspace-controller
191
- */
192
- TS_SELENIUM_DEVWORKSPACE_URL: string | undefined;
193
- /**
194
- * This variable specifies that run test is used for load testing and that all artifacts will be sent to ftp client.
195
- */
196
- TS_LOAD_TESTS: string;
197
- /**
198
- * This variable determines whether to delete the workspace after the test or leave the workspace running.
199
- */
200
- TS_DELETE_PLUGINS_TEST_WORKSPACE: string;
201
- /**
202
- * URL of Gogs self-hosted Git server.
203
- */
204
- TS_SELF_HOSTED_GIT_SERVER_URL: string;
205
- };
206
- //# sourceMappingURL=TestConstants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TestConstants.d.ts","sourceRoot":"","sources":["../TestConstants.ts"],"names":[],"mappings":"AAAA;;;;;;;;wEAQwE;AAWxE,eAAO,MAAM,aAAa;IACtB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;;OAGG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;;OAGG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAIH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;CAEN,CAAC"}
@@ -1,164 +0,0 @@
1
- /*********************************************************************
2
- * Copyright (c) 2020 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
- export declare const TimeoutConstants: {
11
- /**
12
- * Wait between workspace started and IDE ready to be used, "20 000" by default.
13
- */
14
- TS_IDE_LOAD_TIMEOUT: number;
15
- /**
16
- * Timeout in milliseconds waiting for workspace start, "360 000" by default.
17
- */
18
- TS_SELENIUM_START_WORKSPACE_TIMEOUT: number;
19
- /**
20
- * Timeout in milliseconds waiting for page load, "20 000" by default.
21
- */
22
- TS_SELENIUM_LOAD_PAGE_TIMEOUT: number;
23
- /**
24
- * Wait for loader absence, "60 000" by default.
25
- */
26
- TS_WAIT_LOADER_ABSENCE_TIMEOUT: number;
27
- /**
28
- * Wait for loader absence, "60 000" by default.
29
- */
30
- TS_WAIT_LOADER_PRESENCE_TIMEOUT: number;
31
- /**
32
- * Timeout waiting for URL, "5 000" by default.
33
- */
34
- TS_WAIT_URL_TIMEOUT: number;
35
- /**
36
- * Common timeout for dashboard items, "5 000" by default
37
- */
38
- TS_COMMON_DASHBOARD_WAIT_TIMEOUT: number;
39
- /**
40
- * Timeout for clicking on dashboard menu items, "2 000" by default
41
- */
42
- TS_CLICK_DASHBOARD_ITEM_TIMEOUT: number;
43
- /**
44
- * Timeout for workspace stopped status, "30 000" by default
45
- */
46
- TS_DASHBOARD_WORKSPACE_STOP_TIMEOUT: number;
47
- /**
48
- * Timeout in milliseconds waiting for language server initialization, "180 000" by default.
49
- */
50
- TS_SELENIUM_LANGUAGE_SERVER_START_TIMEOUT: number;
51
- /**
52
- * Timeout for suggestion invoking, "60 000" by default.
53
- */
54
- TS_SUGGESTION_TIMEOUT: number;
55
- /**
56
- * Timeout for error highlighting presence, "90 000" by default
57
- */
58
- TS_ERROR_HIGHLIGHTING_TIMEOUT: number;
59
- /**
60
- * Wait for IDE showing project tree tab, "60 000" by default.
61
- */
62
- TS_PROJECT_TREE_TIMEOUT: number;
63
- /**
64
- * Click on item timeout (project tree), "10 000" by default.
65
- */
66
- TS_PROJECT_TREE_CLICK_ON_ITEM_TIMEOUT: number;
67
- /**
68
- * Expand item in project tree, "5 000" by default.
69
- */
70
- TS_EXPAND_PROJECT_TREE_ITEM_TIMEOUT: number;
71
- /**
72
- * Timeout for waiting workspace sample import, 50_000 by default.
73
- */
74
- TS_IMPORT_PROJECT_DEFAULT_POLLING: number;
75
- /**
76
- * Timeout for inetractions with editor tab - wait, click, select, "5 000" by default.
77
- */
78
- TS_EDITOR_TAB_INTERACTION_TIMEOUT: number;
79
- /**
80
- * Wait for file to be opened in editor, "30 000" by default.
81
- */
82
- TS_OPEN_EDITOR_TIMEOUT: number;
83
- /**
84
- * Wait for suggestion container closure, "3 000" by default.
85
- */
86
- TS_CLOSE_SUGGESTION_CONTAINER_TIMEOUT: number;
87
- /**
88
- * Timeout for context menu manipulation, "10 000" by default
89
- */
90
- TS_CONTEXT_MENU_TIMEOUT: number;
91
- /**
92
- * Timeout for interactions with Notification center - open, close, "10 000" by default.
93
- */
94
- TS_NOTIFICATION_CENTER_TIMEOUT: number;
95
- /**
96
- * Timeout for debugger to connect, "60 000" by default
97
- */
98
- TS_DEBUGGER_CONNECTION_TIMEOUT: number;
99
- /**
100
- * Timeout for waiting visibility of the debug configuration.
101
- */
102
- TS_DEBUGGER_CONFIGURATION_VISIBILITY_TIMEOUT: number;
103
- /**
104
- * Timeout for context menu manipulation, "10 000" by default
105
- */
106
- TS_DIALOG_WINDOW_DEFAULT_TIMEOUT: number;
107
- /**
108
- * Timeout for breakpoint interactions, "20 000" by default
109
- */
110
- TS_BREAKPOINT_DEFAULT_TIMEOUT: number;
111
- /**
112
- * Timeout for interactions with Git Plugin container, "20 000" by default
113
- */
114
- TS_GIT_CONAINER_INTERACTION_TIMEOUT: number;
115
- /**
116
- * Timeout for toolbars interaction, "30 000" by default
117
- */
118
- TS_SELENIUM_TOOLBAR_TIMEOUT: number;
119
- /**
120
- * Timeout for clicking on visible item, "5 000" by default
121
- */
122
- TS_SELENIUM_CLICK_ON_VISIBLE_ITEM: number;
123
- /**
124
- * Timeout for OpenDialogWidget class, "5 000" by default
125
- */
126
- TS_SELENIUM_DIALOG_WIDGET_TIMEOUT: number;
127
- /**
128
- * Default timeout for interaction with terminal, "3 000" by default
129
- */
130
- TS_SELENIUM_TERMINAL_DEFAULT_TIMEOUT: number;
131
- /**
132
- * Default timeout for preview widget, "10 000" by default
133
- */
134
- TS_SELENIUM_PREVIEW_WIDGET_DEFAULT_TIMEOUT: number;
135
- /**
136
- * Timeout for opening quick menu from top panel, "10 000" by default
137
- */
138
- TS_SELENIUM_TOP_MENU_QUICK_CONTAINER_TIMEOUT: number;
139
- /**
140
- * Timeout waiting for url, "10 000" by default
141
- */
142
- TS_SELENIUM_WAIT_FOR_URL: number;
143
- /**
144
- * Timeout waiting for an executed task to finish, waiting stops automatically if any exit code notification is present, "300 000" by default
145
- */
146
- TS_SELENIUM_WAIT_TASK_EXIT_CODE_TIMEOUT: number;
147
- /**
148
- * Timeout waiting for end of the animation, "5000" by default.
149
- */
150
- TS_SELENIUM_ANIMATION_END_DELAY: number;
151
- /**
152
- * Timeout for obtaining cluster IP, "10 000" by default.
153
- */
154
- TS_GET_CLUSTER_IP_TIMEOUT: number;
155
- /**
156
- * Timeout for waiting fr openshift connector tree, "10 000" by default.
157
- */
158
- TS_WAIT_OPENSHIFT_CONNECTOR_TREE_TIMEOUT: number;
159
- /**
160
- * Common timeout for plugins.
161
- */
162
- TS_COMMON_PLUGIN_TEST_TIMEOUT: number;
163
- };
164
- //# sourceMappingURL=TimeoutConstants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimeoutConstants.d.ts","sourceRoot":"","sources":["../TimeoutConstants.ts"],"names":[],"mappings":"AAAA;;;;;;;;wEAQwE;AAExE,eAAO,MAAM,gBAAgB;IAGzB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAIH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAKH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAMH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAKH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAMH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAMH;;OAEG;;IAGH;;OAEG;;IAKH;;OAEG;;CAGN,CAAC"}
@@ -1,18 +0,0 @@
1
- /// <reference types="@types/mocha" />
2
- /*********************************************************************
3
- * Copyright (c) 2019 Red Hat, Inc.
4
- *
5
- * This program and the accompanying materials are made
6
- * available under the terms of the Eclipse Public License 2.0
7
- * which is available at https://www.eclipse.org/legal/epl-2.0/
8
- *
9
- * SPDX-License-Identifier: EPL-2.0
10
- **********************************************************************/
11
- import * as mocha from 'mocha';
12
- declare class CheReporter extends mocha.reporters.Spec {
13
- private static latestWorkspace;
14
- static registerRunningWorkspace(workspaceName: string): void;
15
- constructor(runner: mocha.Runner, options: mocha.MochaOptions);
16
- }
17
- export = CheReporter;
18
- //# sourceMappingURL=CheReporter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CheReporter.d.ts","sourceRoot":"","sources":["../../driver/CheReporter.ts"],"names":[],"mappings":";AAAA;;;;;;;;wEAQwE;AACxE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA2B/B,cAAM,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,IAAI;IAE5C,OAAO,CAAC,MAAM,CAAC,eAAe,CAAS;WAEzB,wBAAwB,CAAC,aAAa,EAAE,MAAM;gBAKhD,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,YAAY;CA0J9D;AAED,SAAS,WAAW,CAAC"}
@@ -1,21 +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
- import 'chromedriver';
11
- import 'reflect-metadata';
12
- import { ThenableWebDriver } from 'selenium-webdriver';
13
- import { IDriver } from './IDriver';
14
- export declare class ChromeDriver implements IDriver {
15
- private readonly driver;
16
- constructor();
17
- get(): ThenableWebDriver;
18
- private getDriverOptions;
19
- private getDriverBuilder;
20
- }
21
- //# sourceMappingURL=ChromeDriver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChromeDriver.d.ts","sourceRoot":"","sources":["../../driver/ChromeDriver.ts"],"names":[],"mappings":"AAAA;;;;;;;;wEAQwE;AACxE,OAAO,cAAc,CAAC;AACtB,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAW,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,qBACa,YAAa,YAAW,OAAO;IACxC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;;IAY3C,GAAG,IAAI,iBAAiB;IAIxB,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,gBAAgB;CAsB3B"}
@@ -1,14 +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
- import { ThenableWebDriver } from 'selenium-webdriver';
11
- export interface IDriver {
12
- get(): ThenableWebDriver;
13
- }
14
- //# sourceMappingURL=IDriver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IDriver.d.ts","sourceRoot":"","sources":["../../driver/IDriver.ts"],"names":[],"mappings":"AAAA;;;;;;;;wEAQwE;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,OAAO;IACpB,GAAG,IAAI,iBAAiB,CAAC;CAC5B"}
package/dist/index.d.ts DELETED
@@ -1,67 +0,0 @@
1
- import * as inversifyConfig from './inversify.config';
2
- export { inversifyConfig };
3
- export * from './inversify.types';
4
- export * from './TestConstants';
5
- export * from './TimeoutConstants';
6
- export * from './driver/ChromeDriver';
7
- export * from './driver/IDriver';
8
- export * from './utils/AnimationChecker';
9
- export * from './utils/BrowserTabsUtil';
10
- export * from './utils/DriverHelper';
11
- export * from './utils/KeycloackUrlHandler';
12
- export * from './utils/Logger';
13
- export * from './utils/PreferencesHandler';
14
- export * from './utils/requestHandlers/CheApiRequestHandler';
15
- export * from './utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler';
16
- export * from './utils/requestHandlers/headers/IAuthorizationHeaderHandler';
17
- export * from './utils/requestHandlers/tokens/CheMultiuserTokenHandler';
18
- export * from './utils/requestHandlers/tokens/ITokenHandler';
19
- export * from './utils/Sanitizer';
20
- export * from './utils/ScreenCatcher';
21
- export * from './utils/VCS/CheGitApi';
22
- export * from './utils/VCS/github/GitHubUtil';
23
- export * from './utils/workspace/ITestWorkspaceUtil';
24
- export * from './utils/WorkspaceNameHandler';
25
- export * from './utils/workspace/TestWorkspaceUtil';
26
- export * from './utils/workspace/WorkspaceStatus';
27
- export * from './pageobjects/dashboard/CreateWorkspace';
28
- export * from './pageobjects/dashboard/Dashboard';
29
- export * from './pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins';
30
- export * from './pageobjects/dashboard/workspace-details/WorkspaceDetails';
31
- export * from './pageobjects/dashboard/Workspaces';
32
- export * from './pageobjects/ide/ContextMenu';
33
- export * from './pageobjects/ide/DebugView';
34
- export * from './pageobjects/ide/DialogWindow';
35
- export * from './pageobjects/ide/Editor';
36
- export * from './pageobjects/ide/Ide';
37
- export * from './pageobjects/ide/LeftToolBar';
38
- export * from './pageobjects/ide/NavigationBar';
39
- export * from './pageobjects/ide/NotificationCenter';
40
- export * from './pageobjects/ide/OpenDialogWidget';
41
- export * from './pageobjects/ide/OpenWorkspaceWidget';
42
- export * from './pageobjects/ide/plugins/GitHubPullRequestPlugin';
43
- export * from './pageobjects/ide/plugins/GitPlugin';
44
- export * from './pageobjects/ide/plugins/KubernetesPlugin';
45
- export * from './pageobjects/ide/plugins/OpenshiftPlugin';
46
- export * from './pageobjects/ide/plugins/PluginsView';
47
- export * from './pageobjects/ide/PreviewWidget';
48
- export * from './pageobjects/ide/ProjectTree';
49
- export * from './pageobjects/ide/QuickOpenContainer';
50
- export * from './pageobjects/ide/RightToolBar';
51
- export * from './pageobjects/ide/Terminal';
52
- export * from './pageobjects/ide/TopMenu';
53
- export * from './pageobjects/login/ICheLoginPage';
54
- export * from './pageobjects/login/IOcpLoginPage';
55
- export * from './pageobjects/login/MultiUserLoginPage';
56
- export * from './pageobjects/login/OcpUserLoginPage';
57
- export * from './pageobjects/login/RegularUserOcpCheLoginPage';
58
- export * from './pageobjects/login/UpdateAccountInformationPage';
59
- export * from './pageobjects/openshift/CheLoginPage';
60
- export * from './pageobjects/openshift/OcpLoginPage';
61
- export * from './pageobjects/third-parties/GitLoginPage';
62
- export * from './pageobjects/third-parties/GitOauthAppsSettings';
63
- export * from './testsLibrary/CodeExecutionTests';
64
- export * from './testsLibrary/LanguageServerTests';
65
- export * from './testsLibrary/ProjectAndFileTests';
66
- export * from './testsLibrary/WorkspaceHandlingTests';
67
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wEAAwE,CAAC;AACvF,cAAc,6DAA6D,CAAC;AAC5E,cAAc,yDAAyD,CAAC;AACxE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mEAAmE,CAAC;AAClF,cAAc,4DAA4D,CAAC;AAC3E,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mDAAmD,CAAC;AAClE,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AACjE,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC"}
@@ -1,13 +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
- import { Container } from 'inversify';
11
- declare const e2eContainer: Container;
12
- export { e2eContainer };
13
- //# sourceMappingURL=inversify.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inversify.config.d.ts","sourceRoot":"","sources":["../inversify.config.ts"],"names":[],"mappings":"AAAA;;;;;;;;wEAQwE;AAExE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AA8DtC,QAAA,MAAM,YAAY,EAAE,SAAwD,CAAC;AA6D7E,OAAO,EAAE,YAAY,EAAE,CAAC"}