Skip to content

Commit ff85235

Browse files
authored
Merge pull request #2378 from RedisInsight/e2e/bugfix/updates-for-failed-e2e
updates after RI-4601
2 parents 9a636c2 + c0613d9 commit ff85235

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tests/e2e/tests/critical-path/browser/search-capabilities.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ test
150150
.after(async() => {
151151
await databaseAPIRequests.deleteStandaloneDatabaseApi(ossStandaloneV5Config);
152152
})('No RediSearch module message', async t => {
153-
const noRedisearchMessage = 'Looks like RediSearch is not available for this database';
153+
const noRedisearchMessage = 'RediSearch is not available for this database';
154154
// const externalPageLink = 'https://redis.com/try-free/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_browser_search';
155155

156156
await t.click(browserPage.redisearchModeBtn);

tests/e2e/tests/critical-path/workbench/redisearch-module-not-available.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ test('Verify that user can see the information message that the RediSearch modul
2727
// Send command with 'FT.'
2828
await workbenchPage.sendCommandInWorkbench(commandForSend);
2929
// Verify the information message
30-
await t.expect(await workbenchPage.commandExecutionResult.textContent).contains('Looks like RediSearch is not available', 'The information message');
30+
await t.expect(await workbenchPage.commandExecutionResult.textContent).contains('RediSearch is not available for this database', 'The information message');
3131
});

tests/e2e/tests/regression/workbench/redisearch-module-not-available.e2e.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ test
5252
const commandJSON = 'JSON.ARRAPPEND key value';
5353
const commandFT = 'FT.LIST';
5454
await workbenchPage.sendCommandInWorkbench(commandJSON);
55-
// Verify change screens when capability not available - 'Search'
56-
await t.expect(workbenchPage.welcomePageTitle.withText('Looks like RedisJSON is not available').visible)
55+
// Verify change screens when capability not available - 'JSON'
56+
await t.expect(await workbenchPage.commandExecutionResult.withText('RedisJSON is not available for this database').visible)
5757
.ok('Missing RedisJSON title is not visible');
5858
await workbenchPage.sendCommandInWorkbench(commandFT);
59-
// Verify change screens when capability not available - 'JSON'
60-
await t.expect(workbenchPage.welcomePageTitle.withText('Looks like RediSearch is not available').visible)
61-
.ok('Missing RedisJSON title is not visible');
59+
// Verify change screens when capability not available - 'Search'
60+
await t.expect(await workbenchPage.commandExecutionResult.withText('RediSearch is not available for this database').visible)
61+
.ok('Missing RedisSearch title is not visible');
6262
});

0 commit comments

Comments
 (0)