7.104.0 • Published 4 months ago

@eclipse-che/che-e2e v7.104.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

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

  • Provide connection credentials to Che:
    • export TS_SELENIUM_USERNAME=<username>
    • export TS_SELENIUM_PASSWORD=<password>
  • npm test

Custom launch

  • Use environment variables which described in the 'TestConstants.ts' file
  • Use environment variables for setting timeouts if needed. You can see the list in 'TimeoutConstants.ts'. You can see the list of those variables and their value if you set the 'TS_SELENIUM_PRINT_TIMEOUT_VARIABLES = true'
  • Check for available scripts in package.json which are prefixed by test-. Then, perform command npm run test-<suffixNameOfScript>

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 installed inside. For connecting use '0.0.0.0:5920' address.

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:

Plugins tests launching for the Che without oauth authentication

Setup next environment variables:

  • export TS_SELENIUM_BASE_URL=\<Che-URL>
  • export USERSTORY=\<Test you want to run >
  • (skip if login is "admin") export TS_SELENIUM_USERNAME=\<Login>
  • (skip if password is "admin") export TS_SELENIUM_PASSWORD=\<Password>

Run command:

  • npm run test-plugin

Plugins tests launching for the Che wit oauth authentication

Setup next environment variables:

  • export TS_SELENIUM_BASE_URL=\<Che-URL>
  • export USERSTORY=\<test-you-want-to-run>
  • export TS_SELENIUM_VALUE_OPENSHIFT_OAUTH="true"
  • export TS_SELENIUM_OCP_USERNAME=\<cluster-username>
  • export TS_SELENIUM_OCP_PASSWORD=\<cluster-password>

Run command:

  • npm run test-plugin
7.96.0-next-0aefb1c

11 months ago

7.95.0-next-f15e722

12 months ago

7.97.0-next-34e2649

10 months ago

7.94.0-next-bb74bd0

12 months ago

7.97.0-next-4c060ae

10 months ago

7.95.0-next-064b37c

12 months ago

7.97.0-next-76b99e7

10 months ago

7.98.0-next-5eb56bf

10 months ago

7.98.0-next-7ba4b8c

10 months ago

7.95.0-next-8898b7d

11 months ago

7.96.0-next-775e4b9

11 months ago

7.95.0

11 months ago

7.96.0-next-8f466ad

11 months ago

7.97.0-next-525ab10

11 months ago

7.98.0-next-2f9d491

10 months ago

7.94.0

12 months ago

7.97.0

10 months ago

7.102.0

6 months ago

7.104.0

5 months ago

7.96.0

11 months ago

7.103.0

6 months ago

7.97.0-next-dfc2d2b

10 months ago

7.99.0

8 months ago

7.100.0

8 months ago

7.97.0-next-b219dd1

11 months ago

7.95.0-next-4787042

11 months ago

7.98.0-next-04d0b55

10 months ago

7.98.0

9 months ago

7.101.0

7 months ago

7.94.0-next-8cb40db

12 months ago

7.94.0-next-51a833a

12 months ago

7.94.0-next-a925b56

12 months ago

7.93.0

1 year ago

7.89.0

1 year ago

7.92.0

1 year ago

7.88.0

1 year ago

7.91.0

1 year ago

7.87.0

1 year ago

7.90.0

1 year ago

7.86.0

1 year ago

7.85.0

2 years ago

7.84.0

2 years ago

7.83.0

2 years ago

7.82.0

2 years ago

7.81.0

2 years ago

7.80.0

2 years ago

7.79.0

2 years ago

7.70.0

2 years ago

7.78.0

2 years ago

7.77.0

2 years ago

7.72.0

2 years ago

7.71.0

2 years ago

7.74.0

2 years ago

7.73.0

2 years ago

7.76.0

2 years ago

7.75.0

2 years ago

7.67.0

2 years ago

7.66.0

2 years ago

7.61.0

3 years ago

7.69.0

2 years ago

7.68.0

2 years ago

7.63.0

3 years ago

7.62.0

3 years ago

7.65.0

3 years ago

7.64.0

3 years ago

7.59.0

3 years ago

7.58.0

3 years ago

7.60.0

3 years ago

7.60.1

3 years ago

7.55.0

3 years ago

7.54.0

3 years ago

7.57.0

3 years ago

7.56.0

3 years ago

7.51.0

3 years ago

7.50.0

3 years ago

7.53.0

3 years ago

7.52.0

3 years ago

7.48.1

3 years ago

7.49.0

3 years ago

7.48.0

3 years ago

7.47.0

3 years ago

7.46.0

4 years ago

7.45.0

4 years ago

7.42.0

4 years ago

7.44.0

4 years ago

7.41.0

4 years ago

7.41.1

4 years ago

7.43.0

4 years ago

7.41.2

4 years ago

7.40.0

4 years ago

7.40.1

4 years ago

7.40.2

4 years ago

7.39.0

4 years ago