Skip to content

Commit b1be051

Browse files
fix for tests
1 parent 12fc851 commit b1be051

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/e2e/tests/web/regression/insights/open-insights-panel.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test
4141
await t.click(browserPage.NavigationPanel.myRedisDBButton);
4242
await myRedisDatabasePage.clickOnDBByName(ossStandaloneConfig.databaseName);
4343
await t.expect(browserPage.InsightsPanel.sidePanel.exists).ok('Insights panel is not opened');
44-
await t.expect(await browserPage.InsightsPanel.existsCompatibilityPopover.textContent).contains('Search and query capability', 'popover is not displayed');
44+
await t.expect(await browserPage.InsightsPanel.existsCompatibilityPopover.textContent).contains('Redis Query Engine', 'popover is not displayed');
4545
const tab = await browserPage.InsightsPanel.setActiveTab(ExploreTabs.Tutorials);
4646
await t.expect(tab.preselectArea.textContent).contains('How To Query Your Data', 'the tutorial is incorrect');
4747

@@ -53,7 +53,7 @@ test
5353
await t.click(browserPage.NavigationPanel.myRedisDBButton);
5454
await myRedisDatabasePage.clickOnDBByName(ossStandaloneConfig.databaseName);
5555
await t.expect(browserPage.InsightsPanel.sidePanel.exists).ok('Insights panel is not opened');
56-
await t.expect(await browserPage.InsightsPanel.existsCompatibilityPopover.textContent).contains('Time series data', 'popover is not displayed');
56+
await t.expect(await browserPage.InsightsPanel.existsCompatibilityPopover.textContent).contains('Time series data structure', 'popover is not displayed');
5757
await t.expect(tab.preselectArea.textContent).contains('Time Series', 'the tutorial is incorrect');
5858
});
5959

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ test('Verify that user can see options on what can be done to work with capabili
4545
await workbenchPage.NavigationHeader.togglePanel(true);
4646
await workbenchPage.sendCommandInWorkbench(commandJSON);
4747
// Verify change screens when capability not available - 'JSON'
48-
await t.expect(await workbenchPage.commandExecutionResult.withText('RedisJSON is not available').visible)
48+
await t.expect(await workbenchPage.commandExecutionResult.withText('JSON data structure is not available for this database').visible)
4949
.ok('Missing RedisJSON title is not visible');
5050
await workbenchPage.sendCommandInWorkbench(commandFT);
5151
// Verify change screens when capability not available - 'Search'
52-
await t.expect(await workbenchPage.commandExecutionResult.withText('RediSearch is not available').visible)
52+
await t.expect(await workbenchPage.commandExecutionResult.withText('Redis Query Engine is not available for this database').visible)
5353
.ok('Missing RedisSearch title is not visible');
5454
});

0 commit comments

Comments
 (0)