che-server/e2e
Dmytro Nochevnov d08a8fb395
Fix test workspace devfile address for PR based on fork (#15311)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2019-11-26 08:10:58 +02:00
..
driver [TS_SELENIUM] Increase logging of tests steps (#14642) 2019-09-27 11:53:09 +03:00
files/happy-path Fix version of jar file in petclinic project of happy path tests (#14936) 2019-10-21 13:38:34 +03:00
jenkins/crw-ci/pr-check/k8s Fix test workspace devfile address for PR based on fork (#15311) 2019-11-26 08:10:58 +02:00
pageobjects Get rid of the redundant switching to the associated workspace in the "Happy Path" test (#15149) 2019-11-08 12:51:09 +02:00
tests Get rid of the redundant switching to the associated workspace in the "Happy Path" test (#15149) 2019-11-08 12:51:09 +02:00
utils Log and fix workaround to Java LS server initialization failure (#14945) 2019-10-22 18:39:59 +03:00
README.md [TS_SELENIUM] Add VNC server to the "eclipse/che-e2e" docker image (#14730) 2019-10-02 14:24:47 +03:00
TestConstants.ts E2E: Modify e2e test 'InstallCheByOperatorHub' to use with both Che and Crw (#14798) 2019-10-09 20:36:53 +03:00
generateIndex.sh
index.ts [TS_SELENIUM] Increase logging of tests steps (#14642) 2019-09-27 11:53:09 +03:00
inversify.config.ts
inversify.types.ts Implement workaround for Go to Definition feature HappyPath scenario (#14570) 2019-09-22 18:22:59 +03:00
mocha-che-operatorhub.opts
mocha-happy-path.opts
mocha-java-vertx.opts
mocha-wkspc-creation-and-ls.opts
mocha.opts
package-lock.json E2E: Modify e2e test 'InstallCheByOperatorHub' to use with both Che and Crw (#14798) 2019-10-09 20:36:53 +03:00
package.json [TS_SELENIUM] Add VNC server to the "eclipse/che-e2e" docker image (#14730) 2019-10-02 14:24:47 +03: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: