Skip to content

Commit 74f7a06

Browse files
committed
remove .only and some updates
1 parent d4c0c0f commit 74f7a06

File tree

5 files changed

+46
-33
lines changed

5 files changed

+46
-33
lines changed

.circleci/config.yml

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -950,28 +950,30 @@ workflows:
950950
requires:
951951
- Start E2E Tests
952952
# build desktop app
953-
- setup-sign-certificates:
954-
name: Setup sign certificates (stage)
955-
- setup-build:
956-
name: Setup build (stage)
957-
requires:
958-
- Setup sign certificates (stage)
959-
- windows:
960-
name: Build app - Windows (stage)
961-
requires:
962-
- Setup build (stage)
953+
# - setup-sign-certificates:
954+
# name: Setup sign certificates (stage)
955+
# requires:
956+
# - Start E2E Tests
957+
# - setup-build:
958+
# name: Setup build (stage)
959+
# requires:
960+
# - Setup sign certificates (stage)
961+
# - windows:
962+
# name: Build app - Windows (stage)
963+
# requires:
964+
# - Setup build (stage)
963965
- e2e-tests:
964966
name: E2ETest
965967
build: docker
966-
parallelism: 1
968+
parallelism: 4
967969
requires:
968970
- Build docker image
969-
- e2e-exe:
970-
name: E2ETest (exe)
971-
parallelism: 1
972-
report: true
973-
requires:
974-
- Build app - Windows (stage)
971+
# - e2e-exe:
972+
# name: E2ETest (exe)
973+
# parallelism: 1
974+
# report: true
975+
# requires:
976+
# - Build app - Windows (stage)
975977
# Workflow for feature, bugfix, main branches
976978
feature-main-branch:
977979
jobs:
@@ -1237,16 +1239,16 @@ workflows:
12371239
- docker:
12381240
name: Build docker image
12391241
# build desktop app
1240-
- setup-sign-certificates:
1241-
name: Setup sign certificates (stage)
1242-
- setup-build:
1243-
name: Setup build (stage)
1244-
requires:
1245-
- Setup sign certificates (stage)
1246-
- linux:
1247-
name: Build app - Linux (stage)
1248-
requires:
1249-
- Setup build (stage)
1242+
# - setup-sign-certificates:
1243+
# name: Setup sign certificates (stage)
1244+
# - setup-build:
1245+
# name: Setup build (stage)
1246+
# requires:
1247+
# - Setup sign certificates (stage)
1248+
# - linux:
1249+
# name: Build app - Linux (stage)
1250+
# requires:
1251+
# - Setup build (stage)
12501252
# - windows:
12511253
# name: Build app - Windows (stage)
12521254
# requires:

tests/e2e/desktop.runner.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import testcafe from 'testcafe';
1818
.screenshots({
1919
path: 'report/screenshots/',
2020
takeOnFails: true,
21-
pathPattern: '${USERAGENT}/${DATE}_${TIME}/${FIXTURE}_${TEST_INDEX}.png',
21+
pathPattern: '${USERAGENT}/${DATE}_${TIME}/${FIXTURE}_${FILE_INDEX}.png',
2222
})
2323
.reporter([
2424
'spec',
@@ -29,11 +29,17 @@ import testcafe from 'testcafe';
2929
{
3030
name: 'json',
3131
output: './results/e2e.results.json'
32+
},
33+
{
34+
name: 'html',
35+
output: './report/report.html'
3236
}
3337
])
3438
.run({
3539
skipJsErrors: true,
3640
browserInitTimeout: 60000,
41+
selectorTimeout: 5000,
42+
assertionTimeout: 5000,
3743
speed: 1,
3844
});
3945
})

tests/e2e/desktop.runner.win.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import testcafe from 'testcafe';
1818
.screenshots({
1919
path: 'report/screenshots/',
2020
takeOnFails: true,
21-
pathPattern: '${USERAGENT}/${DATE}_${TIME}/${FIXTURE}_${TEST_INDEX}.png',
21+
pathPattern: '${USERAGENT}/${DATE}_${TIME}/${FIXTURE}_${FILE_INDEX}.png',
2222
})
2323
.reporter([
2424
'spec',
@@ -29,12 +29,18 @@ import testcafe from 'testcafe';
2929
{
3030
name: 'json',
3131
output: './results/e2e.results.json'
32+
},
33+
{
34+
name: 'html',
35+
output: './report/report.html'
3236
}
3337
])
3438
.run({
3539
skipJsErrors: true,
3640
browserInitTimeout: 60000,
37-
speed: 1
41+
selectorTimeout: 5000,
42+
assertionTimeout: 5000,
43+
speed: 1,
3844
});
3945
})
4046
.then((failedCount) => {

tests/e2e/tests/smoke/browser/add-keys.e2e.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ fixture `Add keys`
1919
await browserPage.deleteKeyByName(keyName);
2020
await deleteDatabase(ossStandaloneConfig.databaseName);
2121
});
22-
test.only
23-
.meta({ type: 'smoke', rte: rte.standalone, env: env.desktop })('Verify that user can add Hash Key', async t => {
22+
test('Verify that user can add Hash Key', async t => {
2423
keyName = Common.generateWord(10);
2524
// Add Hash key
2625
await browserPage.addHashKey(keyName);

tests/e2e/web.runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import testcafe from 'testcafe';
4141
selectorTimeout: 5000,
4242
assertionTimeout: 5000,
4343
speed: 1,
44-
quarantineMode: { successThreshold: '1', attemptLimit: '3' }
44+
quarantineMode: { successThreshold: '1', attemptLimit: '3' },
4545
});
4646
})
4747
.then((failedCount) => {

0 commit comments

Comments
 (0)