Skip to content

Commit 6e41176

Browse files
fix test part #3
1 parent 3c1d5f6 commit 6e41176

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

tests/e2e/tests/critical-path/memory-efficiency/memory-efficiency.e2e.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ fixture `Memory Efficiency`
3636
.afterEach(async() => {
3737
await databaseAPIRequests.deleteStandaloneDatabaseApi(ossStandaloneConfig);
3838
});
39-
test('No reports/keys message and report tooltip', async t => {
39+
test.only.before(async t => {
40+
await databaseHelper.acceptLicenseTermsAndAddDatabaseApi(ossStandaloneConfig);
41+
// Go to Analysis Tools page
42+
await t.click(myRedisDatabasePage.NavigationPanel.analysisPageButton);
43+
await browserPage.Cli.sendCommandInCli('flushdb');
44+
45+
})('No reports/keys message and report tooltip', async t => {
4046
const noReportsMessage = 'No Reports foundRun "New Analysis" to generate first report.';
4147
const noKeysMessage = 'No keys to displayUse Workbench Guides and Tutorials to quickly load the data.';
4248
const tooltipText = 'Analyze up to 10 000 keys to get an overview of your data and recommendations';

tests/e2e/tests/regression/insights/live-recommendations.e2e.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ fixture `Live Recommendations`
5252
await databaseAPIRequests.addNewStandaloneDatabaseApi(ossStandaloneConfig);
5353
await myRedisDatabasePage.reloadPage();
5454
await myRedisDatabasePage.clickOnDBByName(ossStandaloneConfig.databaseName);
55+
await browserPage.Cli.sendCommandInCli('flushdb');
5556
})
5657
.afterEach(async() => {
5758
await refreshFeaturesTestData();

0 commit comments

Comments
 (0)