Skip to content

Commit 6aaa9d3

Browse files
e2e - fix test with auto-update
1 parent fb12b08 commit 6aaa9d3

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

tests/e2e/.desktop.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
COMMON_URL=https://localhost:5001
22
OSS_SENTINEL_PASSWORD=password
3-
APP_FOLDER_NAME=.redisinsight-preview
3+
APP_FOLDER_NAME=.redisinsight-v2-stage
44

55
OSS_STANDALONE_HOST=localhost
66
OSS_STANDALONE_PORT=8100

tests/e2e/tests/critical-path/database/autoupdate-of-json.e2e.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,17 @@ const timestampBeforeUpdate = buildFilePath.get("timestamp");
2020
const timestampForEdit = timestampBeforeUpdate - 1;
2121
const cloudValueForEdit = chance.word({ length: 10 });
2222

23-
//Edit json file values
24-
createRedisFilePath.set('cloud.title', cloudValueForEdit);
25-
createRedisFilePath.set('cloud.description', cloudValueForEdit);
26-
createRedisFilePath.save();
27-
buildFilePath.set('timestamp', timestampForEdit);
28-
buildFilePath.save();
29-
3023
fixture `Automatically update information`
3124
.meta({type: 'critical_path'})
3225
.page(commonUrl)
3326
.beforeEach(async () => {
3427
await acceptLicenseTerms();
28+
//Edit json file values
29+
createRedisFilePath.set('cloud.title', cloudValueForEdit);
30+
createRedisFilePath.set('cloud.description', cloudValueForEdit);
31+
createRedisFilePath.save();
32+
buildFilePath.set('timestamp', timestampForEdit);
33+
buildFilePath.save();
3534
})
3635
test
3736
.meta({ rte: rte.standalone, env: env.desktop })

0 commit comments

Comments
 (0)