7.85.0 • Published 3 days ago

@eclipse-che/che-e2e v7.85.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 days 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.85.0

14 days ago

7.84.0

1 month ago

7.83.0

2 months ago

7.82.0

3 months ago

7.81.0

3 months ago

7.80.0

4 months ago

7.79.0

5 months ago

7.73.0-dev-2f46491

9 months ago

7.73.0-dev-1397a5e

9 months ago

7.72.1-dev-e84b2f5

8 months ago

7.70.0

11 months ago

7.74.0-dev-41d1364

8 months ago

7.75.0-dev-cf03445

8 months ago

7.78.0

5 months ago

7.72.1-dev-05aa417

8 months ago

7.72.0-dev-a481783

10 months ago

7.72.0-dev-cc6cd70

10 months ago

7.73.0-dev-11985ec

9 months ago

7.77.0

6 months ago

7.73.0-dev-ed57855

9 months ago

7.74.0-dev-aace77a

8 months ago

7.74.1-dev-85d287b

8 months ago

7.75.0-dev-e38c24d

8 months ago

7.67.1-dev-e49f025

10 months ago

7.72.0

10 months ago

7.71.0-dev-5ee33ca

10 months ago

7.74.0-dev-1d09cb7

9 months ago

7.74.1-dev-2e6c485

8 months ago

7.72.0-dev-4dc1021

10 months ago

7.75.0-dev-8a0bacc

8 months ago

7.71.0

10 months ago

7.74.0

8 months ago

7.73.0-dev-62c0c9d

9 months ago

7.73.0-dev-d03c36b

10 months ago

7.71.0-dev-3dbcf5c

10 months ago

7.73.0

9 months ago

7.75.0-dev-b740eed

8 months ago

7.76.0

7 months ago

7.75.0-dev-d3da844

8 months ago

7.72.0-dev-3dd17c7

10 months ago

7.70.0-dev-6d2f86b

11 months ago

7.74.0-dev-715064a

8 months ago

7.75.0

7 months ago

7.70.0-dev-e748965

11 months ago

7.70.0-dev-eacd975

11 months ago

7.67.0

12 months ago

7.68.0-dev-62bfc1e

11 months ago

7.67.0-dev-fc752e6

12 months ago

7.67.0-dev-c7ab385

12 months ago

7.66.0

1 year ago

7.70.0-dev-56d02b3

11 months ago

7.61.0

1 year ago

7.69.0-dev-3f8b94d

11 months ago

7.69.0

11 months ago

7.68.0-dev-ce66a36

11 months ago

7.68.0

11 months ago

7.68.0-dev-e7cb474

11 months ago

7.63.0

1 year ago

7.68.0-dev-270fc19

12 months ago

7.64.1-dev-43c3317

12 months ago

7.62.0

1 year ago

7.68.0-dev-52d73d3

12 months ago

7.68.0-dev-280c8c9

11 months ago

7.65.0

1 year ago

7.68.0-dev-8aa6599

12 months ago

7.64.0

1 year ago

7.69.0-dev-ac76de0

11 months ago

7.59.0

1 year ago

7.58.0

1 year ago

7.60.0

1 year ago

7.60.1

1 year ago

7.55.0

2 years ago

7.54.0

2 years ago

7.57.0

1 year ago

7.56.0

2 years ago

7.51.0

2 years ago

7.50.0

2 years ago

7.53.0

2 years ago

7.52.0

2 years ago

7.48.1

2 years ago

7.49.0

2 years ago

7.48.0

2 years ago

7.47.0

2 years ago

7.46.0

2 years ago

7.45.0

2 years ago

7.42.0

2 years ago

7.44.0

2 years ago

7.41.0

2 years ago

7.41.1

2 years ago

7.43.0

2 years ago

7.41.2

2 years ago

7.40.0

2 years ago

7.40.1

2 years ago

7.40.2

2 years ago

7.39.0

2 years ago