che-server/tests/e2e
Shmaraiev Oleksandr c1bc4f0314
Test E2E: Delete redundant steps from 'InstallCheByOperatorHub' test (#16369)
* Delete redundant steps in E2E test
* Replace method in the 'OcpWebConsolePage' pageobject
2020-03-16 15:33:19 +02:00
..
driver Switch application.confirmExit in tests to never by default (#16142) 2020-02-27 15:17:18 +02:00
files/happy-path Fix Happy Path 2020-01-14 13:54:44 +01:00
pageobjects Test E2E: Delete redundant steps from 'InstallCheByOperatorHub' test (#16369) 2020-03-16 15:33:19 +02:00
tests Test E2E: Delete redundant steps from 'InstallCheByOperatorHub' test (#16369) 2020-03-16 15:33:19 +02:00
testsLibrary Fix Java based devfile tests. 2020-03-03 14:34:00 +01:00
utils Grouping log messages in case the input is multiline 2020-03-13 15:16:04 +01:00
README.md Moving e2e tests. (#15063) 2019-12-09 08:26:56 +01:00
TestConstants.ts Add new test for checking git plus ssh workflow (#15561) 2020-02-25 19:16:53 +02:00
generateIndex.sh Extracting common test methods (#15619) 2020-01-17 08:21:34 +01:00
index.ts Tests E2E: Update pageobjects to login page both OCP 4.3 and OCP 4.4 (#16279) 2020-03-07 22:15:02 +02:00
inversify.config.ts Create "Get Started" page object in E2E typescript selenium tests (#16213) 2020-03-03 19:24:29 +02:00
inversify.types.ts Create "Get Started" page object in E2E typescript selenium tests (#16213) 2020-03-03 19:24:29 +02:00
mocha-all-devfiles.opts Add Java Maven test (#15545) 2019-12-20 14:18:07 +01:00
mocha-che-operatorhub.opts Test E2E: Modify 'InstallCheByOperatorHub' to use it for update application (#15590) 2020-01-12 18:08:09 +02:00
mocha-che-subscribe-operator.opts Test E2E: Modify 'InstallCheByOperatorHub' to use it for update application (#15590) 2020-01-12 18:08:09 +02:00
mocha-git-ssh.opts Add new test for checking git plus ssh workflow (#15561) 2020-02-25 19:16:53 +02:00
mocha-happy-path.opts Moving e2e tests. (#15063) 2019-12-09 08:26:56 +01:00
mocha-java-vertx.opts Add Java Maven test (#15545) 2019-12-20 14:18:07 +01:00
mocha-load.opts Add setting for debug level, add mocha-load.opts. (#15984) 2020-02-11 09:36:53 +01:00
mocha-wkspc-creation-and-ls.opts Moving e2e tests. (#15063) 2019-12-09 08:26:56 +01:00
mocha.opts Moving e2e tests. (#15063) 2019-12-09 08:26:56 +01:00
package-lock.json [TS_SELENIUM] Move "@eclipse-che/api" from "devDependencies" to "dependencies" in the "e2e" project 2020-02-28 18:19:17 +02:00
package.json [TS_SELENIUM] Move "@eclipse-che/api" from "devDependencies" to "dependencies" in the "e2e" project 2020-02-28 18:19:17 +02:00
tsconfig.json Moving e2e tests. (#15063) 2019-12-09 08:26:56 +01:00
tslint.json Moving e2e tests. (#15063) 2019-12-09 08:26:56 +01:00

README.md

Module for launch E2E tests related to Che 7

Requirements

  • node 8.x
  • "Chrome" browser 69.x or later
  • deployed Che 7 with accessible URL

Before launch

Perform commands:

  • export TS_SELENIUM_BASE_URL=<Che7 URL>
  • npm install

Default launch

  • npm test

Custom launch

  • Use environment variables which described in the 'TestConstants.ts' file

Docker launch

  • open terminal and go to the "e2e" directory
  • export the "TS_SELENIUM_BASE_URL" variable with "Che" url
  • run command "npm run test-docker"

Docker launch with changed tests

For launching tests with local changes perform next steps:

  • open terminal and go to the "e2e" directory
  • export the "TS_SELENIUM_BASE_URL" variable with "Che" url
  • run command "npm run test-docker-mount-e2e"

Debug docker launch

The 'eclipse/che-e2e' docker image has VNC server instaled inside. For connecting use '0.0.0.0:5920' adress.

The "Happy Path" scenario launching

The easiest way to do that is to perform steps which are described in the "Docker launch" paragraph. For running tests without docker, please perform next steps: