|
89 | 89 | .eql(expandedTextContaiterSize, 'Lua script recommendation not expanded');
|
90 | 90 | });
|
91 | 91 | // skipped due to inability to receive no recommendations for now
|
92 |
| -test |
93 |
| -.before(async() => { |
94 |
| - await databaseHelper.acceptLicenseTerms(); |
95 |
| - // Add Sentinel databases |
96 |
| - await databaseAPIRequests.discoverSentinelDatabaseApi(ossSentinelConfig); |
97 |
| - await myRedisDatabasePage.reloadPage(); |
98 |
| -}) |
99 |
| -.after(async() => { |
100 |
| - // Delete all primary groups |
101 |
| - await databaseAPIRequests.deleteAllDatabasesByConnectionTypeApi('SENTINEL'); |
102 |
| - await myRedisDatabasePage.reloadPage(); |
103 |
| -}) |
104 |
| -.meta({ rte: rte.sentinel })('No recommendations message', async t => { |
| 92 | +test.skip('No recommendations message', async t => { |
105 | 93 | keyName = `recomKey-${Common.generateWord(10)}`;
|
106 |
| - const noRecommendationsMessage = 'No recommendations at the moment, run a new report later to keep up the good work!'; |
| 94 | + const noRecommendationsMessage = 'No Tips at the moment,keep up the good work!'; |
107 | 95 | const command = `HSET ${keyName} field value`;
|
108 | 96 |
|
109 | 97 | // Create Hash key and create report
|
110 | 98 | await browserPage.Cli.sendCommandInCli(command);
|
| 99 | + // Go to Analysis Tools page |
| 100 | + await t.click(myRedisDatabasePage.NavigationPanel.analysisPageButton); |
111 | 101 | await t.click(memoryEfficiencyPage.newReportBtn);
|
112 | 102 | // Go to Recommendations tab
|
113 | 103 | await t.click(memoryEfficiencyPage.recommendationsTab);
|
| 104 | + await t.debug() |
114 | 105 | // No recommendations message
|
115 | 106 | await t.expect(memoryEfficiencyPage.noRecommendationsMessage.textContent).eql(noRecommendationsMessage, 'No recommendations message not displayed');
|
116 | 107 | });
|
|
203 | 194 | // Verify that tutorial opened
|
204 | 195 | await t.click(memoryEfficiencyPage.getToTutorialBtnByRecomName(searchJsonRecommendation));
|
205 | 196 | await workbenchPage.InsightsPanel.togglePanel(true);
|
206 |
| - await t.expect(await workbenchPage.InsightsPanel.getActiveTabName()).eql(ExploreTabs.Tutorials); |
207 | 197 | const tutorial = await workbenchPage.InsightsPanel.setActiveTab(ExploreTabs.Tutorials);
|
208 | 198 | await t.expect(tutorial.preselectArea.visible).ok('Workbench Enablement area not opened');
|
209 | 199 | // Verify that REDIS FOR TIME SERIES tutorial expanded
|
|
0 commit comments