Skip to content

Commit f52069c

Browse files
committed
unskipped tests with ft.search
1 parent 6a88c61 commit f52069c

File tree

4 files changed

+8
-13
lines changed

4 files changed

+8
-13
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const commandForSend1 = 'info';
1313
const commandForSend2 = 'FT._LIST';
1414
let indexName = chance.word({ length: 5 });
1515

16-
fixture `Command results at Workbench`
16+
fixture.only `Command results at Workbench`
1717
.meta({ type: 'critical_path', rte: rte.standalone })
1818
.page(commonUrl)
1919
.beforeEach(async t => {
@@ -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('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"',
@@ -92,9 +91,7 @@ test
9291
await workbenchPage.selectViewTypeText();
9392
await t.expect(await workbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssQueryTextResult).visible).ok('The result is displayed in Text view');
9493
});
95-
//skipped due the inaccessibility of the iframe
96-
test.skip
97-
.meta({ env: env.desktop })('Verify that user can switches between Table and Text for Client List and see results corresponding to their views', async t => {
94+
test('Verify that user can switches between Table and Text for Client List and see results corresponding to their views', async t => {
9895
const command = 'CLIENT LIST';
9996
//Send command and check table view is default
10097
await workbenchPage.sendCommandInWorkbench(command);

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const commandsForIndex = [
1919
'HMSET product:1 price 20',
2020
'HMSET product:2 price 100'
2121
];
22-
// skip due to errors of FT.SEARCH issue https://redislabs.atlassian.net/browse/RI-3501
23-
fixture.skip `Command results at Workbench`
22+
23+
fixture.only `Command results at Workbench`
2424
.meta({type: 'regression', rte: rte.standalone })
2525
.page(commonUrl)
2626
.beforeEach(async t => {
@@ -72,7 +72,6 @@ test
7272
await t.switchToIframe(workbenchPage.iframe);
7373
await t.expect(await workbenchPage.queryTableResult.exists).ok('The table view is not switched for command FT.AGGREGATE');
7474
});
75-
// skip due to inaccessibility of CLIENT LIST in plugin
7675
test
7776
.meta({ env: env.web })('Verify that user can switches between views and see results according to this view in full mode in Workbench', async t => {
7877
const command = 'CLIENT LIST';

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ test
8989
await t.click(workbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssReRunCommandButton));
9090
await workbenchPage.checkWorkbenchCommandResult(commandsForSend[1], `"${unicodeValue}"`);
9191
});
92-
test
92+
test.only
9393
.before(async t => {
9494
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneRedisearch, ossStandaloneRedisearch.databaseName);
9595
// Go to Workbench page
@@ -100,8 +100,7 @@ test
100100
await t.switchToMainWindow();
101101
await workbenchPage.sendCommandInWorkbench(`FT.DROPINDEX ${indexName} DD`);
102102
await deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
103-
})
104-
.meta({ env: env.desktop })('Display Raw mode for plugins', async t => {
103+
})('Display Raw mode for plugins', async t => {
105104
const commandsForSend = [
106105
`FT.CREATE ${indexName} ON HASH PREFIX 1 product: SCHEMA name TEXT`,
107106
`HMSET product:1 name "${unicodeValue}"`,

tests/e2e/tests/regression/workbench/scripting-area.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const settingsPage = new SettingsPage();
1515
const indexName = chance.word({ length: 5 });
1616
let keyName = chance.word({ length: 10 });
1717

18-
fixture`Scripting area at Workbench`
18+
fixture.only `Scripting area at Workbench`
1919
.meta({ type: 'regression' })
2020
.page(commonUrl)
2121
.beforeEach(async t => {

0 commit comments

Comments
 (0)