|
77 | 77 | await databaseAPIRequests.deleteAllDatabasesApi();
|
78 | 78 | })('Verify that insights panel can be opened from Welcome and Overview pages', async t => {
|
79 | 79 | const welcomeTutorial = 'JSON';
|
80 |
| - const myRedisTutorial = 'Time series'; |
| 80 | + const myRedisTutorial = 'How To Query Your Data'; |
81 | 81 |
|
82 | 82 | await t.click(browserPage.NavigationPanel.myRedisDBButton);
|
83 |
| - await myRedisDatabasePage.CompatibilityPromotion.clickOnLinkByName(Compatibility.TimeSeries); |
| 83 | + await myRedisDatabasePage.CompatibilityPromotion.clickOnLinkByName(Compatibility.SearchAndQuery); |
84 | 84 | await t.expect(await myRedisDatabasePage.InsightsPanel.getActiveTabName()).eql(ExploreTabs.Explore);
|
85 | 85 | let tab = await myRedisDatabasePage.InsightsPanel.setActiveTab(ExploreTabs.Explore);
|
86 | 86 | await t.expect(tab.preselectArea.textContent).contains(myRedisTutorial, 'the tutorial is incorrect');
|
87 | 87 | await t.click(tab.nextPageButton);
|
88 |
| - await tab.runBlockCode('Create time series for each shop'); |
| 88 | + await tab.runBlockCode('Create the bike shop idx:bicycle'); |
89 | 89 | await t.expect(tab.openDatabasePopover.exists).ok('Open a database popover is not displayed');
|
90 | 90 | await myRedisDatabasePage.InsightsPanel.togglePanel(false);
|
91 | 91 | await myRedisDatabasePage.deleteAllDatabases();
|
|
96 | 96 | await t.expect(tab.preselectArea.textContent).contains(welcomeTutorial, 'the tutorial is incorrect');
|
97 | 97 | });
|
98 | 98 | test('Verify that user can open Explore tab into Insights panel by clicking on Explore Redis button', async t => {
|
| 99 | + await t.click(browserPage.NavigationPanel.myRedisDBButton); |
99 | 100 | await t.click(browserPage.exploreRedisBtn);
|
100 | 101 | await t.expect(browserPage.InsightsPanel.sidePanel.exists).ok('Insights panel is not opened');
|
101 | 102 | await t.expect(await browserPage.InsightsPanel.getActiveTabName()).eql(ExploreTabs.Explore);
|
|
0 commit comments