@eclipse-che/che-e2e 7.41.0-dev-aed762b → 7.41.0-dev-75c9a37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mocha-all-devfiles.json +12 -0
- package/mocha-all-factories.json +12 -0
- package/mocha-all-plugins.json +11 -0
- package/mocha-connector.json +9 -0
- package/mocha-devworkspace-happy-path.json +11 -0
- package/mocha-factory.json +11 -0
- package/mocha-git-publish-branch.json +11 -0
- package/mocha-git-self-sign-cert.json +11 -0
- package/mocha-git-ssh.json +11 -0
- package/mocha-happy-path.json +12 -0
- package/mocha-java-vertx.json +9 -0
- package/mocha-load.json +9 -0
- package/mocha-single-devfile.json +8 -0
- package/mocha-wkspc-creation-and-ls.json +9 -0
- package/mocha.intelij.json +9 -0
- package/mocha.json +8 -0
- package/mocha.ocp.link.json +8 -0
- package/mocha.single.plugin.json +7 -0
- package/package.json +18 -18
- package/mocha-all-devfiles.opts +0 -8
- package/mocha-all-factories.opts +0 -8
- package/mocha-all-plugins.opts +0 -7
- package/mocha-connector.opts +0 -7
- package/mocha-devworkspace-happy-path.opts +0 -7
- package/mocha-factory.opts +0 -7
- package/mocha-git-publish-branch.opts +0 -7
- package/mocha-git-self-sign-cert.opts +0 -7
- package/mocha-git-ssh.opts +0 -7
- package/mocha-happy-path.opts +0 -8
- package/mocha-java-vertx.opts +0 -7
- package/mocha-load.opts +0 -7
- package/mocha-single-devfile.opts +0 -6
- package/mocha-wkspc-creation-and-ls.opts +0 -7
- package/mocha.intelij.opts +0 -7
- package/mocha.ocp.link.opts +0 -6
- package/mocha.opts +0 -7
- package/mocha.single.plugin.opts +0 -5
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"full-trace": true,
|
|
6
|
+
"require": "source-map-support/register",
|
|
7
|
+
"spec": [
|
|
8
|
+
"dist/tests/login/Login.spec.js",
|
|
9
|
+
"dist/tests/devfiles/*.spec.js",
|
|
10
|
+
"dist/tests/e2e/FactoryUrl.spec.js"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"require": "source-map-support/register",
|
|
8
|
+
"spec": [
|
|
9
|
+
"dist/tests/login/Login.spec.js",
|
|
10
|
+
"dist/tests/e2e/factories/*.spec.js"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"full-trace": true,
|
|
6
|
+
"require": "source-map-support/register",
|
|
7
|
+
"spec": [
|
|
8
|
+
"dist/tests/login/Login.spec.js",
|
|
9
|
+
"dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js"
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"require": "source-map-support/register",
|
|
8
|
+
"spec": [
|
|
9
|
+
"dist/tests/login/Login.spec.js",
|
|
10
|
+
"dist/tests/e2e_happy_path/HappyPath.spec.js"
|
|
11
|
+
]
|
|
12
|
+
}
|
package/mocha-load.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "1200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"support": "source-map-support/register",
|
|
8
|
+
"spec": ["./dist/tests/login/Login.spec.js", "./dist/tests/intelij/IntelijOpenWorkspace.spec.js"]
|
|
9
|
+
}
|
package/mocha.json
ADDED
package/package.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-che/che-e2e",
|
|
3
|
-
"version": "7.41.0-dev-
|
|
3
|
+
"version": "7.41.0-dev-75c9a37",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"cleanup-docker": "if [ $(docker ps -a | grep -c selenium-e2e) -gt 0 ]; then docker rm -f $(docker ps --filter \"name=selenium-e2e\" -aq); fi;",
|
|
8
8
|
"test-docker": "npm run cleanup-docker && docker run -it --shm-size=2g -p 5920:5920 --name selenium-e2e -e TS_SELENIUM_BASE_URL=$TS_SELENIUM_BASE_URL eclipse/che-e2e:nightly",
|
|
9
9
|
"test-docker-mount-e2e": "npm run cleanup-docker && docker run -it --shm-size=2g -p 5920:5920 --name selenium-e2e -e TS_SELENIUM_BASE_URL=$TS_SELENIUM_BASE_URL -v $(pwd):/tmp/e2e:Z eclipse/che-e2e:nightly",
|
|
10
|
-
"test": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
11
|
-
"load-test": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
12
|
-
"test-happy-path": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
13
|
-
"test-devworkspace-happy-path": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
14
|
-
"test-wkspc-creation-and-ls": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
15
|
-
"test-java-vertx": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
16
|
-
"test-git-ssh": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
17
|
-
"test-git-self-sign-cert": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
18
|
-
"test-git-publish-branch": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
19
|
-
"test-openshift-connector": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
10
|
+
"test": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha.json",
|
|
11
|
+
"load-test": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-load.json",
|
|
12
|
+
"test-happy-path": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-happy-path.json",
|
|
13
|
+
"test-devworkspace-happy-path": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-devworkspace-happy-path.json",
|
|
14
|
+
"test-wkspc-creation-and-ls": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-wkspc-creation-and-ls",
|
|
15
|
+
"test-java-vertx": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-java-vertx.json",
|
|
16
|
+
"test-git-ssh": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-git-ssh.json",
|
|
17
|
+
"test-git-self-sign-cert": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-git-self-sign-cert.json",
|
|
18
|
+
"test-git-publish-branch": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-git-publish-branch.json",
|
|
19
|
+
"test-openshift-connector": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-connector.json",
|
|
20
20
|
"test-all-devfiles": "./generateIndex.sh && ./initDevfileTests.sh",
|
|
21
|
-
"test-factory": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
22
|
-
"test-all-factories": "./generateIndex.sh && npm run lint && npm run tsc && mocha --
|
|
23
|
-
"test-intelij": "tsc && mocha --
|
|
24
|
-
"test-oauth": "tsc && mocha --
|
|
21
|
+
"test-factory": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-factory.json",
|
|
22
|
+
"test-all-factories": "./generateIndex.sh && npm run lint && npm run tsc && mocha --config mocha-all-factories.json",
|
|
23
|
+
"test-intelij": "tsc && mocha --config mocha.intelij.json",
|
|
24
|
+
"test-oauth": "tsc && mocha --config mocha.ocp.link.json",
|
|
25
25
|
"lint": "tslint --fix -p .",
|
|
26
26
|
"tsc": "tsc -p .",
|
|
27
|
-
"init-mocha-opts": "tsc && mocha --
|
|
27
|
+
"init-mocha-opts": "tsc && mocha --config mocha-single-devfile.json --spec dist/tests/login/Login.spec.js",
|
|
28
28
|
"test-plugin": "./initPluginTest.sh",
|
|
29
29
|
"test-plugin-ci": "export TS_DELETE_PLUGINS_TEST_WORKSPACE=false && npm run init-mocha-opts -- --spec dist/tests/plugins/${USERSTORY}.spec.js",
|
|
30
|
-
"test-all-plugins": "tsc && mocha --
|
|
30
|
+
"test-all-plugins": "tsc && mocha --config mocha-all-plugins.json"
|
|
31
31
|
},
|
|
32
32
|
"author": "Ihor Okhrimenko (iokhrime@redhat.com)",
|
|
33
33
|
"license": "ISC",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"axios": "0.21.2",
|
|
41
41
|
"chai": "4.2.0",
|
|
42
42
|
"chromedriver": "95.0.0",
|
|
43
|
-
"mocha": "
|
|
43
|
+
"mocha": "^9.1.3",
|
|
44
44
|
"rimraf": "2.6.2",
|
|
45
45
|
"selenium-webdriver": "3.6.0",
|
|
46
46
|
"ts-node": "8.0.3",
|
package/mocha-all-devfiles.opts
DELETED
package/mocha-all-factories.opts
DELETED
package/mocha-all-plugins.opts
DELETED
package/mocha-connector.opts
DELETED
package/mocha-factory.opts
DELETED
package/mocha-git-ssh.opts
DELETED
package/mocha-happy-path.opts
DELETED
package/mocha-java-vertx.opts
DELETED
package/mocha-load.opts
DELETED
package/mocha.intelij.opts
DELETED
package/mocha.ocp.link.opts
DELETED
package/mocha.opts
DELETED