Skip to content

Commit 75e7cb8

Browse files
authored
Merge pull request #2173 from RedisInsight/e2e/bugfix/nightly-desktop-fixes
E2e/bugfix/nightly desktop fixes
2 parents 6a29c0a + 4b64db5 commit 75e7cb8

File tree

9 files changed

+16
-147
lines changed

9 files changed

+16
-147
lines changed

.circleci/e2e/test.app-image.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ yarn --cwd tests/e2e install
66
# mount app resources
77
./release/*.AppImage --appimage-mount >> apppath &
88

9+
# create folder before tests run to prevent permissions issue
10+
mkdir -p tests/e2e/remote
11+
912
# run rte
1013
docker-compose -f tests/e2e/rte.docker-compose.yml build
1114
docker-compose -f tests/e2e/rte.docker-compose.yml up --force-recreate -d -V

tests/e2e/.desktop.env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
COMMON_URL=https://localhost:5001
22
API_URL=https://localhost:5001/api
33
OSS_SENTINEL_PASSWORD=password
4-
APP_FOLDER_NAME=.redisinsight-v2
4+
APP_FOLDER_NAME=.redisinsight-v2-stage
55

66
OSS_STANDALONE_HOST=localhost
77
OSS_STANDALONE_PORT=8100
@@ -29,3 +29,4 @@ NOTIFICATION_SYNC_INTERVAL=30000
2929

3030
RI_FEATURES_CONFIG_URL=http://localhost:5551/remote/features-config.json
3131
RI_FEATURES_CONFIG_SYNC_INTERVAL=50000
32+
REMOTE_FOLDER_PATH=/home/circleci/project/tests/e2e/remote

tests/e2e/docker.web.docker-compose.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
version: "3.4"
22

33
services:
4-
static-server:
5-
build:
6-
context: .
7-
dockerfile: static-server.Dockerfile
8-
volumes:
9-
- ./remote:/app/remote
10-
ports:
11-
- 5551:5551
12-
134
e2e:
145
build:
156
context: .

tests/e2e/local.web.docker-compose.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
version: "3.4"
22

33
services:
4-
static-server:
5-
build:
6-
context: .
7-
dockerfile: static-server.Dockerfile
8-
volumes:
9-
- ./remote:/app/remote
10-
ports:
11-
- 5551:5551
12-
134
e2e:
145
build:
156
context: .

tests/e2e/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
},
2929
"resolutions": {
3030
"@types/lodash": "4.14.192",
31-
"@types/node": "18.11.9"
31+
"@types/node": "18.11.9",
32+
"testcafe-hammerhead": "24.2.1"
3233
},
3334
"devDependencies": {
3435
"@types/archiver": "^5.3.2",

tests/e2e/rte.docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
version: "3.4"
22

33
services:
4+
static-server:
5+
build:
6+
context: .
7+
dockerfile: static-server.Dockerfile
8+
volumes:
9+
- ./remote:/app/remote
10+
ports:
11+
- 5551:5551
412
# ssh
513
ssh:
614
image: lscr.io/linuxserver/openssh-server:latest

tests/e2e/test-data/features-configs/insights-docker-build.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
],
1111
"flag": true,
1212
"filters": [
13-
{
14-
"name": "agreements.analytics",
15-
"value": true,
16-
"cond": "eq"
17-
},
1813
{
1914
"name": "config.server.buildType",
2015
"value": "DOCKER_ON_PREMISE",

tests/e2e/test-data/features-configs/insights-electron-build.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
],
1111
"flag": true,
1212
"filters": [
13-
{
14-
"name": "agreements.analytics",
15-
"value": false,
16-
"cond": "eq"
17-
},
1813
{
1914
"name": "config.server.buildType",
2015
"value": "ELECTRON",

tests/e2e/yarn.lock

Lines changed: 1 addition & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,16 +1044,6 @@
10441044
dependencies:
10451045
stackframe "^1.1.1"
10461046

1047-
"@electron/asar@^3.2.3":
1048-
version "3.2.4"
1049-
resolved "https://registry.yarnpkg.com/@electron/asar/-/asar-3.2.4.tgz#7e8635a3c4f6d8b3f8ae6efaf5ecb9fbf3bd9864"
1050-
integrity sha512-lykfY3TJRRWFeTxccEKdf1I6BLl2Plw81H0bbp4Fc5iEc67foDCa5pjJQULVgo0wF+Dli75f3xVcdb/67FFZ/g==
1051-
dependencies:
1052-
chromium-pickle-js "^0.2.0"
1053-
commander "^5.0.0"
1054-
glob "^7.1.6"
1055-
minimatch "^3.0.4"
1056-
10571047
"@eslint/eslintrc@^0.4.3":
10581048
version "0.4.3"
10591049
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c"
@@ -1420,13 +1410,6 @@ [email protected]:
14201410
dependencies:
14211411
"@types/estree" "0.0.46"
14221412

1423-
1424-
version "0.6.1"
1425-
resolved "https://registry.yarnpkg.com/acorn-hammerhead/-/acorn-hammerhead-0.6.1.tgz#f8f27c58ceaf90fbdb77a92f4331a678271194f2"
1426-
integrity sha512-ZWG/nXPvFiveXhJq/PxuS+4LI1BqtEOviGXWjlTvI+64kwzaddYNaE0UzLorTX7kyxrFtxjJ4w1LmKN5yEzOCg==
1427-
dependencies:
1428-
"@types/estree" "0.0.46"
1429-
14301413
acorn-jsx@^5.3.1:
14311414
version "5.3.2"
14321415
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"
@@ -2146,11 +2129,6 @@ commander@^2.20.0, commander@^2.8.1:
21462129
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
21472130
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
21482131

2149-
commander@^5.0.0:
2150-
version "5.1.0"
2151-
resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae"
2152-
integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==
2153-
21542132
component-emitter@^1.2.0, component-emitter@^1.2.1:
21552133
version "1.3.0"
21562134
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0"
@@ -2405,14 +2383,6 @@ depd@^2.0.0:
24052383
resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"
24062384
integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==
24072385

2408-
des.js@^1.0.1:
2409-
version "1.0.1"
2410-
resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843"
2411-
integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==
2412-
dependencies:
2413-
inherits "^2.0.1"
2414-
minimalistic-assert "^1.0.0"
2415-
24162386
detect-libc@^2.0.0:
24172387
version "2.0.1"
24182388
resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.1.tgz#e1897aa88fa6ad197862937fbc0441ef352ee0cd"
@@ -2767,13 +2737,6 @@ [email protected]:
27672737
dependencies:
27682738
"@types/estree" "0.0.46"
27692739

2770-
2771-
version "0.6.4"
2772-
resolved "https://registry.yarnpkg.com/esotope-hammerhead/-/esotope-hammerhead-0.6.4.tgz#e3b8ae5fbe5954aafc5bf507b8399560500be8b0"
2773-
integrity sha512-QY4HXqvjLSFGoGgHvm3H1QUMNcpwnUpGRBaVVFWE5uqbPQh9HSWcA1YD7KwwL/IrgerDwZn00z5dtYT9Ot/C/A==
2774-
dependencies:
2775-
"@types/estree" "0.0.46"
2776-
27772740
espree@^7.3.0, espree@^7.3.1:
27782741
version "7.3.1"
27792742
resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6"
@@ -3424,21 +3387,6 @@ http-proxy-agent@^4.0.1:
34243387
agent-base "6"
34253388
debug "4"
34263389

3427-
httpntlm@^1.8.10:
3428-
version "1.8.12"
3429-
resolved "https://registry.yarnpkg.com/httpntlm/-/httpntlm-1.8.12.tgz#1b2f46e9839cc8434cced1b120d8689fdbd19387"
3430-
integrity sha512-dqdye5b5OmzCIDrA2JgkKG7bV9sK0S5VUELD1+JcRZG6ZDieAW7/c0MPsqlTRKDzso1tIMhvDQAWvfgFN0yg3A==
3431-
dependencies:
3432-
des.js "^1.0.1"
3433-
httpreq ">=0.4.22"
3434-
js-md4 "^0.3.2"
3435-
underscore "~1.12.1"
3436-
3437-
httpreq@>=0.4.22:
3438-
version "0.5.2"
3439-
resolved "https://registry.yarnpkg.com/httpreq/-/httpreq-0.5.2.tgz#be6777292fa1038d7771d7c01d9a5e1219de951c"
3440-
integrity sha512-2Jm+x9WkExDOeFRrdBCBSpLPT5SokTcRHkunV3pjKmX/cx6av8zQ0WtHUMDrYb6O4hBFzNU6sxJEypvRUVYKnw==
3441-
34423390
https-proxy-agent@^5.0.0:
34433391
version "5.0.1"
34443392
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6"
@@ -3900,11 +3848,6 @@ iterate-object@^1.3.4:
39003848
resolved "https://registry.yarnpkg.com/iterate-object/-/iterate-object-1.3.4.tgz#fa50b1d9e58e340a7dd6b4c98c8a5e182e790096"
39013849
integrity sha512-4dG1D1x/7g8PwHS9aK6QV5V94+ZvyP4+d19qDv43EzImmrndysIl4prmJ1hWWIGCqrZHyaHBm6BSEWHOLnpoNw==
39023850

3903-
js-md4@^0.3.2:
3904-
version "0.3.2"
3905-
resolved "https://registry.yarnpkg.com/js-md4/-/js-md4-0.3.2.tgz#cd3b3dc045b0c404556c81ddb5756c23e59d7cf5"
3906-
integrity sha512-/GDnfQYsltsjRswQhN9fhv3EMw2sCpUdrdxyWDOUK7eyD++r3gRhzgiQgc/x4MAv2i1iuQ4lxO5mvqM3vj4bwA==
3907-
39083851
39093852
version "1.0.7"
39103853
resolved "https://registry.yarnpkg.com/js-message/-/js-message-1.0.7.tgz#fbddd053c7a47021871bb8b2c95397cc17c20e47"
@@ -4283,11 +4226,6 @@ mimic-fn@^2.1.0:
42834226
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
42844227
integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
42854228

4286-
minimalistic-assert@^1.0.0:
4287-
version "1.0.1"
4288-
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
4289-
integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==
4290-
42914229
minimatch@^3.0.4, minimatch@^3.1.1:
42924230
version "3.1.2"
42934231
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
@@ -4925,11 +4863,6 @@ proxyquire@^1.7.10:
49254863
module-not-found-error "^1.0.0"
49264864
resolve "~1.1.7"
49274865

4928-
psl@^1.1.33:
4929-
version "1.9.0"
4930-
resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7"
4931-
integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==
4932-
49334866
pump@^3.0.0:
49344867
version "3.0.0"
49354868
resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
@@ -4943,7 +4876,7 @@ punycode@^1.4.1:
49434876
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
49444877
integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==
49454878

4946-
punycode@^2.1.0, punycode@^2.1.1:
4879+
punycode@^2.1.0:
49474880
version "2.3.0"
49484881
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f"
49494882
integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==
@@ -5746,36 +5679,6 @@ [email protected]:
57465679
tunnel-agent "0.6.0"
57475680
webauth "^1.1.0"
57485681

5749-
testcafe-hammerhead@>=19.4.0:
5750-
version "31.4.1"
5751-
resolved "https://registry.yarnpkg.com/testcafe-hammerhead/-/testcafe-hammerhead-31.4.1.tgz#36454e02d7abdf390cada50368139738b5a55c8f"
5752-
integrity sha512-1LqUfxRG5P1dKqgbXjPL0eS+cjCnMxHMZxD9RHJiMLZ8ddjnX+BjZ+LKHjsRpiAR9EBscQBwSkAuQYL2KR89Aw==
5753-
dependencies:
5754-
"@electron/asar" "^3.2.3"
5755-
acorn-hammerhead "0.6.1"
5756-
bowser "1.6.0"
5757-
crypto-md5 "^1.0.0"
5758-
css "2.2.3"
5759-
debug "4.3.1"
5760-
esotope-hammerhead "0.6.4"
5761-
http-cache-semantics "^4.1.0"
5762-
httpntlm "^1.8.10"
5763-
iconv-lite "0.5.1"
5764-
lodash "^4.17.20"
5765-
lru-cache "2.6.3"
5766-
match-url-wildcard "0.0.4"
5767-
merge-stream "^1.0.1"
5768-
mime "~1.4.1"
5769-
mustache "^2.1.1"
5770-
nanoid "^3.1.12"
5771-
os-family "^1.0.0"
5772-
parse5 "2.2.3"
5773-
pinkie "2.0.4"
5774-
read-file-relative "^1.2.0"
5775-
semver "5.5.0"
5776-
tough-cookie "4.0.0"
5777-
tunnel-agent "0.6.0"
5778-
57795682
57805683
version "5.0.0"
57815684
resolved "https://registry.yarnpkg.com/testcafe-legacy-api/-/testcafe-legacy-api-5.0.0.tgz#dde9dc2ee9e9490afed58b83df23cf2e01a6c303"
@@ -6000,15 +5903,6 @@ [email protected]:
60005903
dependencies:
60015904
punycode "^1.4.1"
60025905

6003-
6004-
version "4.0.0"
6005-
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.0.0.tgz#d822234eeca882f991f0f908824ad2622ddbece4"
6006-
integrity sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==
6007-
dependencies:
6008-
psl "^1.1.33"
6009-
punycode "^2.1.1"
6010-
universalify "^0.1.2"
6011-
60125906
tr46@~0.0.3:
60135907
version "0.0.3"
60145908
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
@@ -6130,11 +6024,6 @@ unbox-primitive@^1.0.2:
61306024
has-symbols "^1.0.3"
61316025
which-boxed-primitive "^1.0.2"
61326026

6133-
underscore@~1.12.1:
6134-
version "1.12.1"
6135-
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.12.1.tgz#7bb8cc9b3d397e201cf8553336d262544ead829e"
6136-
integrity sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==
6137-
61386027
unicode-canonical-property-names-ecmascript@^2.0.0:
61396028
version "2.0.0"
61406029
resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc"
@@ -6182,11 +6071,6 @@ unique-slug@^2.0.0:
61826071
dependencies:
61836072
imurmurhash "^0.1.4"
61846073

6185-
universalify@^0.1.2:
6186-
version "0.1.2"
6187-
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
6188-
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
6189-
61906074
universalify@^2.0.0:
61916075
version "2.0.0"
61926076
resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717"

0 commit comments

Comments
 (0)