Skip to content

Commit 07775f1

Browse files
committed
skipped again tests failed with ft.search
1 parent eda4dd2 commit 07775f1

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

tests/e2e/tests/critical-path/notifications/notification-center.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ test('Verify that user can open notification center by clicking on icon and see
8080
await t.expect(notificationPage.notificationDate.withExactText(await notificationPage.convertEpochDateToMessageDate(jsonNotifications[i])).exists).ok('Displayed date');
8181
// Verify that user can see notification with category badge and category color in the notification center
8282
if (!jsonNotifications[i].category !== undefined) {
83-
await t.expect(notificationPage.notificationCategory.withExactText(jsonNotifications[i].category ?? '').exists).ok('Displayed category name');
83+
await t.expect(notificationPage.notificationCategory.withExactText(jsonNotifications[i].category ?? '').exists).ok(`${jsonNotifications[i].category} category name not displayed`);
8484
await t.expect(notificationPage.notificationCategory.withExactText(jsonNotifications[i].category ?? '').withAttribute('style', `background-color: rgb${jsonNotifications[i].rbgColor}; color: rgb(0, 0, 0);`).exists).ok('Category color');
8585
}
8686
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ test
5555
await t.expect(workbenchPage.queryColumns.textContent).contains('name', 'The result of the FT.INFO command');
5656
});
5757
test
58-
.meta({ rte: rte.standalone })('Verify that user can edit and run automatically added "Search" script in Workbench and see the results', async t => {
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 => {
5959
indexName = chance.word({ length: 5 });
6060
keyName = chance.word({ length: 5 });
6161
const commandsForSend = [

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

Lines changed: 3 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-
23-
fixture `Command results at Workbench`
22+
// skip due to errors of FT.SEARCH issue https://redislabs.atlassian.net/browse/RI-3501
23+
fixture.skip `Command results at Workbench`
2424
.meta({type: 'regression', rte: rte.standalone })
2525
.page(commonUrl)
2626
.beforeEach(async t => {
@@ -73,7 +73,7 @@ test
7373
await t.expect(await workbenchPage.queryTableResult.exists).ok('The table view is not switched for command FT.AGGREGATE');
7474
});
7575
// skip due to inaccessibility of CLIENT LIST in plugin
76-
test.skip
76+
test
7777
.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 => {
7878
const command = 'CLIENT LIST';
7979
//Send command and check table view is default in full mode

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { acceptLicenseTerms, acceptLicenseTermsAndAddDatabaseApi } from '../../../helpers/database';
22
import { WorkbenchPage, MyRedisDatabasePage, BrowserPage } from '../../../pageObjects';
3-
import { rte } from '../../../helpers/constants';
3+
import { env, rte } from '../../../helpers/constants';
44
import { commonUrl, ossStandaloneConfig, ossStandaloneRedisearch } from '../../../helpers/conf';
55
import { addNewStandaloneDatabasesApi, deleteStandaloneDatabaseApi, deleteStandaloneDatabasesApi } from '../../../helpers/api/api-database';
66
import { Common } from '../../../helpers/common';
@@ -91,16 +91,17 @@ test
9191
});
9292
test
9393
.before(async t => {
94-
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneRedisearch, ossStandaloneRedisearch.databaseName);
95-
// Go to Workbench page
96-
await t.click(myRedisDatabasePage.workbenchButton);
97-
})
94+
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneRedisearch, ossStandaloneRedisearch.databaseName);
95+
// Go to Workbench page
96+
await t.click(myRedisDatabasePage.workbenchButton);
97+
})
9898
.after(async t => {
9999
//Drop index, documents and database
100100
await t.switchToMainWindow();
101101
await workbenchPage.sendCommandInWorkbench(`FT.DROPINDEX ${indexName} DD`);
102102
await deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
103-
})('Display Raw mode for plugins', async t => {
103+
})
104+
.meta({ env: env.desktop })('Display Raw mode for plugins', async t => {
104105
const commandsForSend = [
105106
`FT.CREATE ${indexName} ON HASH PREFIX 1 product: SCHEMA name TEXT`,
106107
`HMSET product:1 name "${unicodeValue}"`,

0 commit comments

Comments
 (0)