che-server/e2e
Maxim Musienko 9370bbbfda Add workaround for handling unexpected pop ups during redirection maven build to editor (#14814)
Add workaround for handling unexpected pop ups during redirection maven build to editor
2019-10-08 22:43:34 +03:00
..
driver [TS_SELENIUM] Increase logging of tests steps (#14642) 2019-09-27 11:53:09 +03:00
files/happy-path Add workaround for handling unexpected pop ups during redirection maven build to editor (#14814) 2019-10-08 22:43:34 +03:00
jenkins/crw-ci/pr-check/k8s Increase test workspace editor memory; grab Happy path tests logs and configs (#14774) 2019-10-06 11:10:15 +03:00
pageobjects [TS_SELENIUM] Increase logging of tests steps (#14686) 2019-09-27 14:20:37 +03:00
tests Add workaround for handling unexpected pop ups during redirection maven build to editor (#14814) 2019-10-08 22:43:34 +03:00
utils [TS_SELENIUM] Increase logging of tests steps (#14642) 2019-09-27 11:53:09 +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 [TS_SELENIUM] Increase logging of tests steps (#14642) 2019-09-27 11:53:09 +03:00
generateIndex.sh Adding script for generating index.ts file. 2019-08-23 09:10:44 +02:00
index.ts [TS_SELENIUM] Increase logging of tests steps (#14642) 2019-09-27 11:53:09 +03:00
inversify.config.ts Working version 2019-08-21 08:47:18 -04:00
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 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-java-vertx.opts [E2E] Add test for Java Vertx workspace. (#14558) 2019-09-19 11:25:54 +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 Fix security vulnerability and Dashboard's workspace detail page (#14644) 2019-09-26 11:03:49 +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 [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"

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: