Skip to content

Commit 0f687b1

Browse files
committed
parallelism check
1 parent 7825a7e commit 0f687b1

File tree

3 files changed

+44
-44
lines changed

3 files changed

+44
-44
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -969,13 +969,13 @@ workflows:
969969
- e2e-tests:
970970
name: E2ETest
971971
build: docker
972-
parallelism: 1
972+
parallelism: 4
973973
requires:
974974
- Build docker image
975975
# e2e desktop tests on AppImage build
976976
- e2e-app-image:
977977
name: E2ETest (AppImage)
978-
parallelism: 1
978+
parallelism: 2
979979
report: true
980980
requires:
981981
- Build app - Linux (stage)

tests/e2e/tests/critical-path/workbench/index-schema.e2e.ts

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -24,47 +24,47 @@ fixture `Index Schema at Workbench`
2424
await workbenchPage.sendCommandInWorkbench(`FT.DROPINDEX ${indexName} DD`);
2525
await deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
2626
});
27-
test.only
28-
.meta({ env: env.desktop })('Verify that user can open results in Text and Table views for FT.INFO for Hash in Workbench', async t => {
29-
indexName = Common.generateWord(5);
30-
const commandsForSend = [
31-
`FT.CREATE ${indexName} ON HASH PREFIX 1 product: SCHEMA name TEXT`,
32-
'HMSET product:1 name "Apple Juice"'
33-
];
34-
const searchCommand = `FT.INFO ${indexName}`;
27+
test
28+
.meta({ env: env.desktop })('Verify that user can open results in Text and Table views for FT.INFO for Hash in Workbench', async t => {
29+
indexName = Common.generateWord(5);
30+
const commandsForSend = [
31+
`FT.CREATE ${indexName} ON HASH PREFIX 1 product: SCHEMA name TEXT`,
32+
'HMSET product:1 name "Apple Juice"'
33+
];
34+
const searchCommand = `FT.INFO ${indexName}`;
3535

36-
// Send commands
37-
await workbenchPage.sendCommandInWorkbench(commandsForSend.join('\n'));
38-
// Send search command
39-
await workbenchPage.sendCommandInWorkbench(searchCommand);
40-
// Check that result is displayed in Table view
41-
await t.switchToIframe(workbenchPage.iframe);
42-
await t.expect(workbenchPage.queryTableResult.exists).ok('The result is displayed in Table view');
43-
// Select Text view type
44-
await t.switchToMainWindow();
45-
await workbenchPage.selectViewTypeText();
46-
// Check that result is displayed in Text view
47-
await t.expect(workbenchPage.queryTextResult.exists).ok('The result is displayed in Text view');
48-
});
36+
// Send commands
37+
await workbenchPage.sendCommandInWorkbench(commandsForSend.join('\n'));
38+
// Send search command
39+
await workbenchPage.sendCommandInWorkbench(searchCommand);
40+
// Check that result is displayed in Table view
41+
await t.switchToIframe(workbenchPage.iframe);
42+
await t.expect(workbenchPage.queryTableResult.exists).ok('The result is displayed in Table view');
43+
// Select Text view type
44+
await t.switchToMainWindow();
45+
await workbenchPage.selectViewTypeText();
46+
// Check that result is displayed in Text view
47+
await t.expect(workbenchPage.queryTextResult.exists).ok('The result is displayed in Text view');
48+
});
4949
test
50-
.meta({ env: env.desktop })('Verify that user can open results in Text and Table views for FT.INFO for JSON in Workbench', async t => {
51-
indexName = Common.generateWord(5);
52-
const commandsForSend = [
53-
`FT.CREATE ${indexName} ON JSON SCHEMA $.user.name AS name TEXT $.user.tag AS country TAG`,
54-
'JSON.SET myDoc1 $ \'{"user":{"name":"John Smith","tag":"foo,bar","hp":1000, "dmg":150}}\''
55-
];
56-
const searchCommand = `FT.INFO ${indexName}`;
50+
.meta({ env: env.desktop })('Verify that user can open results in Text and Table views for FT.INFO for JSON in Workbench', async t => {
51+
indexName = Common.generateWord(5);
52+
const commandsForSend = [
53+
`FT.CREATE ${indexName} ON JSON SCHEMA $.user.name AS name TEXT $.user.tag AS country TAG`,
54+
'JSON.SET myDoc1 $ \'{"user":{"name":"John Smith","tag":"foo,bar","hp":1000, "dmg":150}}\''
55+
];
56+
const searchCommand = `FT.INFO ${indexName}`;
5757

58-
// Send commands
59-
await workbenchPage.sendCommandInWorkbench(commandsForSend.join('\n'));
60-
// Send search command
61-
await workbenchPage.sendCommandInWorkbench(searchCommand);
62-
// Check that result is displayed in Table view
63-
await t.switchToIframe(workbenchPage.iframe);
64-
await t.expect(workbenchPage.queryTableResult.exists).ok('The result is displayed in Table view');
65-
// Select Text view type
66-
await t.switchToMainWindow();
67-
await workbenchPage.selectViewTypeText();
68-
// Check that result is displayed in Text view
69-
await t.expect(workbenchPage.queryTextResult.exists).ok('The result is displayed in Text view');
70-
});
58+
// Send commands
59+
await workbenchPage.sendCommandInWorkbench(commandsForSend.join('\n'));
60+
// Send search command
61+
await workbenchPage.sendCommandInWorkbench(searchCommand);
62+
// Check that result is displayed in Table view
63+
await t.switchToIframe(workbenchPage.iframe);
64+
await t.expect(workbenchPage.queryTableResult.exists).ok('The result is displayed in Table view');
65+
// Select Text view type
66+
await t.switchToMainWindow();
67+
await workbenchPage.selectViewTypeText();
68+
// Check that result is displayed in Text view
69+
await t.expect(workbenchPage.queryTextResult.exists).ok('The result is displayed in Text view');
70+
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fixture `Add keys`
1919
await browserPage.deleteKeyByName(keyName);
2020
await deleteDatabase(ossStandaloneConfig.databaseName);
2121
});
22-
test.only('Verify that user can add Hash Key', async t => {
22+
test('Verify that user can add Hash Key', async t => {
2323
keyName = Common.generateWord(10);
2424
// Add Hash key
2525
await browserPage.addHashKey(keyName);

0 commit comments

Comments
 (0)