@jahia/cypress 3.14.1 → 3.14.3

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/ci.build.sh CHANGED
@@ -27,4 +27,4 @@ if [ -d ./jahia-module ]; then
27
27
  fi
28
28
 
29
29
 
30
- docker build -t ${TESTS_IMAGE} .
30
+ docker build -f $BASEDIR/env.Dockerfile -t ${TESTS_IMAGE} .
package/env.Dockerfile ADDED
@@ -0,0 +1,26 @@
1
+ FROM cypress/browsers:node16.16.0-chrome107-ff107-edge
2
+
3
+ ARG MAVEN_VER="3.8.1"
4
+ ARG MAVEN_BASE_URL="https://archive.apache.org/dist/maven/maven-3"
5
+
6
+ RUN apt-get update && apt-get install -y jq
7
+
8
+ RUN adduser --disabled-password jahians
9
+
10
+ USER jahians
11
+ WORKDIR /home/jahians
12
+
13
+ COPY --chown=jahians:jahians package.json yarn.lock /home/jahians/
14
+
15
+ RUN mkdir -p /home/jahians/run-artifacts /home/jahians/results /home/jahians/cypress/plugins
16
+
17
+ #CI=true reduces the verbosity of the installation logs
18
+ RUN CI=true yarn install
19
+
20
+ COPY --chown=jahians:jahians . /home/jahians
21
+
22
+ RUN CI=true /home/jahians/node_modules/.bin/cypress install
23
+
24
+ RUN mkdir -p .m2; cp maven.settings.xml .m2/settings.xml; exit 0
25
+
26
+ CMD /bin/bash -c /home/jahians/env.run.sh
@@ -0,0 +1,3 @@
1
+ results/
2
+ run-artifacts/
3
+ node_modules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jahia/cypress",
3
- "version": "3.14.1",
3
+ "version": "3.14.3",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "lint": "eslint src -c .eslintrc.json --ext .ts"