che-server/tests/e2e
Igor Ohrimenko a5dcbfbb70
[TS_SELENIUM] Resolve a problem with lose focus during invoking suggestion container inside of the editor (#15580)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2019-12-27 16:10:45 +02:00
..
driver Update variables in 'TestConstant' file (#15550) 2019-12-20 13:14:28 +02:00
files/happy-path Change redirect of output of maven build-to-file command to tee. (#15457) 2019-12-12 11:19:59 +01:00
pageobjects [TS_SELENIUM] Resolve a problem with lose focus during invoking suggestion container inside of the editor (#15580) 2019-12-27 16:10:45 +02:00
tests Tests E2E: Update e2e test 'InstallCheByOperatorHub' (#15575) 2019-12-27 13:14:41 +02:00
utils Load test - typescript part (#15451) 2019-12-13 15:33:41 +01:00
README.md
TestConstants.ts Update variables in 'TestConstant' file (#15550) 2019-12-20 13:14:28 +02:00
generateIndex.sh
index.ts Update variables in 'TestConstant' file (#15550) 2019-12-20 13:14:28 +02:00
inversify.config.ts
inversify.types.ts Load test - typescript part (#15451) 2019-12-13 15:33:41 +01:00
mocha-all-devfiles.opts Add Java Maven test (#15545) 2019-12-20 14:18:07 +01:00
mocha-che-operatorhub.opts
mocha-happy-path.opts
mocha-java-vertx.opts Add Java Maven test (#15545) 2019-12-20 14:18:07 +01:00
mocha-wkspc-creation-and-ls.opts
mocha.opts
package-lock.json "Happy Path" Update methods from the "e2e" project for simplifying and improve it's work (#15452) 2019-12-11 17:28:30 +02:00
package.json Add Java Maven test (#15545) 2019-12-20 14:18:07 +01:00
tsconfig.json
tslint.json

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: