che-server/tests/e2e
Katerina Foniok 0c79eaeba0
Stabilising LS tests. (#17397)
* Stabilising LS tests.

* Fix typo.

* Adding comment with link to the issue.
2020-07-15 14:12:05 +02:00
..
driver Adding functionality for axios library to echo requests and responses with censored Authorization headers when using debug level TRACE (#16445) 2020-04-17 13:55:53 +02:00
files/happy-path Change the expected jar name (#17158) 2020-06-15 15:55:20 +03:00
pageobjects Rework the "Terminal.getText" method for avoiding tests failures (#17344) 2020-07-07 22:32:08 +03:00
tests Stabilising LS tests. (#17397) 2020-07-15 14:12:05 +02:00
testsLibrary Stabilising LS tests. (#17397) 2020-07-15 14:12:05 +02:00
utils Fixing logic for stopping worksapce. (#17401) 2020-07-15 13:43:40 +02:00
README.md Moving e2e tests. (#15063) 2019-12-09 08:26:56 +01:00
TestConstants.ts Remove workaround timeouts, higher default timeouts (#17321) 2020-07-02 22:15:51 +03:00
generateIndex.sh Extracting common test methods (#15619) 2020-01-17 08:21:34 +01:00
index.ts Create e2e test for checking Openshift plugin (#16358) 2020-06-01 12:14:56 +03:00
inversify.config.ts Create e2e test for checking Openshift plugin (#16358) 2020-06-01 12:14:56 +03:00
inversify.types.ts Create e2e test for checking Openshift plugin (#16358) 2020-06-01 12:14:56 +03:00
mocha-all-devfiles.opts Adding test of Factory URL to devfile test suite. (#17080) 2020-06-25 10:36:52 +02: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-connector.opts Create e2e test for checking Openshift plugin (#16358) 2020-06-01 12:14:56 +03:00
mocha-factory.opts Add test for testing workspace creation via factory URL. (#16999) 2020-05-27 11:15:43 +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 Fix devfile tests - use Get Started page (#16922) 2020-05-14 16:26:40 +02: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 fix(github-alert): Fix minimist issue 2020-07-07 09:10:41 +02:00
package.json Create e2e test for checking Openshift plugin (#16358) 2020-06-01 12:14:56 +03: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: