Skip to content

Commit e194bdb

Browse files
author
Artem
authored
Merge pull request #2934 from RedisInsight/e2e/feature/RI-5036-fix-tests
E2e/feature/ri 5036 fix tests
2 parents c846ab0 + f4eb341 commit e194bdb

File tree

5 files changed

+595
-416
lines changed

5 files changed

+595
-416
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,9 @@ workflows:
11561156
- Setup sign certificates (stage)
11571157
- linux:
11581158
name: Build app - Linux (stage)
1159+
env: stage
1160+
redisstack: false
1161+
target: AppImage
11591162
requires:
11601163
- Setup build (stage)
11611164
- docker:

redisinsight/api/config/default.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default {
5858
encryptionKey: process.env.RI_ENCRYPTION_KEY,
5959
tlsCert: process.env.RI_SERVER_TLS_CERT,
6060
tlsKey: process.env.RI_SERVER_TLS_KEY,
61-
staticContent: !!process.env.RI_SERVE_STATICS || false,
61+
staticContent: !!process.env.RI_SERVE_STATICS || true,
6262
buildType: process.env.RI_BUILD_TYPE || 'DOCKER_ON_PREMISE',
6363
appVersion: process.env.RI_APP_VERSION || '2.40.0',
6464
requestTimeout: parseInt(process.env.RI_REQUEST_TIMEOUT, 10) || 25000,

tests/e2e/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
"redis": "3.1.1",
5555
"sqlite3": "^5.1.6",
5656
"supertest": "^4.0.2",
57-
"testcafe": "3.3.0",
58-
"testcafe-browser-provider-electron": "0.0.19",
57+
"testcafe": "3.5.0",
58+
"testcafe-browser-provider-electron": "0.0.20",
5959
"testcafe-reporter-html": "1.4.6",
6060
"testcafe-reporter-json": "2.2.0",
6161
"testcafe-reporter-spec": "2.2.0",

tests/e2e/pageObjects/components/toast.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Selector } from 'testcafe';
22

33
export class Toast {
4-
toastHeader = Selector('[data-test-subj=euiToastHeader]');
4+
toastHeader = Selector('[data-test-subj=euiToastHeader]', { timeout: 30000 });
55
toastBody = Selector('[class*=euiToastBody]');
66
toastSuccess = Selector('[class*=euiToast--success]');
7-
toastError = Selector('[class*=euiToast--danger]');
7+
toastError = Selector('[class*=euiToast--danger]', { timeout: 30000 });
88
toastCloseButton = Selector('[data-test-subj=toastCloseButton]');
99
toastSubmitBtn = Selector('[data-testid=submit-tooltip-btn]');
1010
toastCancelBtn = Selector('[data-testid=toast-cancel-btn]');

0 commit comments

Comments
 (0)