Skip to content

Commit 0cd1744

Browse files
committed
test run of tests with ftsearch
1 parent 583d526 commit 0cd1744

File tree

5 files changed

+11
-17
lines changed

5 files changed

+11
-17
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ jobs:
383383
description: Number of threads to run tests
384384
type: integer
385385
default: 1
386-
parallelism: << parameters.parallelism >>
386+
# parallelism: << parameters.parallelism >>
387+
parallelism: 1
387388
steps:
388389
- checkout
389390
- when:

tests/e2e/tests/critical-path/workbench/command-results.e2e.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ test('Verify that user can see the results found in the table view by default fo
7272
await t.expect(await workbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssTableViewTypeOption).visible).ok(`The table view is selected by default for command ${command}`);
7373
}
7474
});
75-
test
76-
.meta({ env: env.desktop })('Verify that user can switches between views and see results according to the view rules in Workbench in results', async t => {
75+
test.only('Verify that user can switches between views and see results according to the view rules in Workbench in results', async t => {
7776
indexName = chance.word({ length: 5 });
7877
const commands = [
7978
'hset doc:10 title "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud" url "redis.io" author "Test" rate "undefined" review "0" comment "Test comment"',

tests/e2e/tests/critical-path/workbench/default-scripts-area.e2e.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const chance = new Chance();
1212
let indexName = chance.word({ length: 5 });
1313
let keyName = chance.word({ length: 5 });
1414

15-
fixture `Default scripts area at Workbench`
16-
.meta({type: 'critical_path'})
15+
fixture.only `Default scripts area at Workbench`
16+
.meta({ type: 'critical_path', rte: rte.standalone })
1717
.page(commonUrl)
1818
.beforeEach(async t => {
1919
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneRedisearch, ossStandaloneRedisearch.databaseName);
@@ -26,8 +26,7 @@ fixture `Default scripts area at Workbench`
2626
await workbenchPage.sendCommandInWorkbench(`FT.DROPINDEX ${indexName} DD`);
2727
await deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
2828
});
29-
test
30-
.meta({ env: env.desktop, rte: rte.standalone })('Verify that user can edit and run automatically added "FT._LIST" and "FT.INFO {index}" scripts in Workbench and see the results', async t => {
29+
test('Verify that user can edit and run automatically added "FT._LIST" and "FT.INFO {index}" scripts in Workbench and see the results', async t => {
3130
indexName = chance.word({ length: 5 });
3231
keyName = chance.word({ length: 5 });
3332
const commandsForSend = [
@@ -54,8 +53,7 @@ test
5453
await t.switchToIframe(workbenchPage.iframe);
5554
await t.expect(workbenchPage.queryColumns.textContent).contains('name', 'The result of the FT.INFO command');
5655
});
57-
test
58-
.meta({ env: env.desktop, rte: rte.standalone })('Verify that user can edit and run automatically added "Search" script in Workbench and see the results', async t => {
56+
test('Verify that user can edit and run automatically added "Search" script in Workbench and see the results', async t => {
5957
indexName = chance.word({ length: 5 });
6058
keyName = chance.word({ length: 5 });
6159
const commandsForSend = [
@@ -79,8 +77,7 @@ test
7977
await t.expect(key.exists).ok('The added key is in the Search result');
8078
await t.expect(name.exists).ok('The added key name field is in the Search result');
8179
});
82-
test
83-
.meta({ env: env.desktop, rte: rte.standalone })('Verify that user can edit and run automatically added "Aggregate" script in Workbench and see the results', async t => {
80+
test('Verify that user can edit and run automatically added "Aggregate" script in Workbench and see the results', async t => {
8481
indexName = chance.word({ length: 5 });
8582
const aggregationResultField = 'max_price';
8683
const commandsForSend = [
@@ -102,8 +99,7 @@ test
10299
await t.expect(workbenchPage.queryTableResult.textContent).contains(aggregationResultField, 'The aggregation field name is in the Search result');
103100
await t.expect(workbenchPage.queryTableResult.textContent).contains('100', 'The aggregation max value is in the Search result');
104101
});
105-
test
106-
.meta({ rte: rte.standalone })('Verify that when the “Manual” option clicked, user can see the Editor is automatically prepopulated with the information', async t => {
102+
test('Verify that when the “Manual” option clicked, user can see the Editor is automatically prepopulated with the information', async t => {
107103
const information = [
108104
'// Workbench is the advanced Redis command-line interface that allows to send commands to Redis, read and visualize the replies sent by the server.',
109105
'// Enter multiple commands at different rows to run them at once.',

tests/e2e/tests/regression/workbench/command-results.e2e.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ const commandsForIndex = [
2020
'HMSET product:2 price 100'
2121
];
2222

23-
// skip due to errors of FT.SEARCH issue https://redislabs.atlassian.net/browse/RI-3501
24-
fixture.skip `Command results at Workbench`
23+
fixture.only `Command results at Workbench`
2524
.meta({type: 'regression', rte: rte.standalone })
2625
.page(commonUrl)
2726
.beforeEach(async t => {

tests/e2e/tests/regression/workbench/raw-mode.e2e.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ test
8989
await t.click(workbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssReRunCommandButton));
9090
await workbenchPage.checkWorkbenchCommandResult(commandsForSend[1], `"${unicodeValue}"`);
9191
});
92-
test
93-
.meta({ env: env.desktop })
92+
test.only
9493
.before(async t => {
9594
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneRedisearch, ossStandaloneRedisearch.databaseName);
9695
// Go to Workbench page

0 commit comments

Comments
 (0)