che-server/e2e
Maxim Musienko 501e2e5217
Adapt test after updating Monaco editor (#14523)
* adapt test after updating Monaco editor
2019-09-12 17:55:40 +03:00
..
driver use the latest nightly image, adapt e2e tests for new behavior of debug settings in Theia (#14285) 2019-08-23 07:30:12 +03:00
files/happy-path [Happy Path] Fix of issue #14141 (Sometimes the "Happy path" test fails when click on "Start debug" button) (#14180) 2019-08-12 09:45:28 +03:00
jenkins/crw-ci/pr-check/k8s Fix PR check Jenkinsfile to use 'che-e2e' image (#14387) 2019-09-06 14:13:39 +03:00
pageobjects Adapt test after updating Monaco editor (#14523) 2019-09-12 17:55:40 +03:00
tests Adapt test after updating Monaco editor (#14523) 2019-09-12 17:55:40 +03:00
utils Update screencatcher in the e2e folder for avoiding errors (#14394) 2019-08-30 18:13:40 +03:00
README.md Update existed "che-e2e" image for using on CI (#14351) 2019-08-29 15:02:47 +03:00
TestConstants.ts Make screencast video of failed E2E Happy path tests execution (#14292) 2019-08-22 17:47:07 +03:00
generateIndex.sh Adding script for generating index.ts file. 2019-08-23 09:10:44 +02:00
index.ts Update existed "che-e2e" image for using on CI (#14351) 2019-08-29 15:02:47 +03:00
inversify.config.ts Working version 2019-08-21 08:47:18 -04:00
inversify.types.ts use the latest nightly image, adapt e2e tests for new behavior of debug settings in Theia (#14285) 2019-08-23 07:30:12 +03:00
mocha-che-operatorhub.opts E2E: Create e2e test to install Eclipse Che by OperatorHub UI on OCP (#14062) 2019-08-01 15:21:37 +03:00
mocha-happy-path.opts [e2e] - Add source maps. Fixes #14298 2019-08-23 17:20:20 +02:00
mocha-wkspc-creation-and-ls.opts Add TEST_SUITE variable to docker run command. Now user can set the suite that should be run. (#14507) 2019-09-12 12:49:23 +03:00
mocha.opts [TS-SELENIUM] Cover the "Start a Workspace from a devfile" step from "Happy path" scenario (#13479) 2019-06-07 18:49:52 +03:00
package-lock.json [Happy-Path] Update chromedriver to version 76.0.0 (#14144) 2019-09-06 17:11:30 +03:00
package.json Add TEST_SUITE variable to docker run command. Now user can set the suite that should be run. (#14507) 2019-09-12 12:49:23 +03:00
tsconfig.json [e2e] - Add source maps. Fixes #14298 2019-08-23 17:20:20 +02:00
tslint.json Working version 2019-08-21 08:47:18 -04: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"

The "Happy Path" scenario launching

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