Skip to content

Commit 732ceeb

Browse files
fix #3
1 parent d3770f5 commit 732ceeb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/e2e/tests/critical-path/pub-sub/subscribe-unsubscribe.e2e.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fixture `Subscribe/Unsubscribe from a channel`
2020
await t.click(myRedisDatabasePage.NavigationPanel.pubSubButton);
2121
})
2222
.afterEach(async() => {
23-
await databaseAPIRequests.deleteStandaloneDatabaseApi(ossStandaloneConfig);
23+
await databaseAPIRequests.deleteAllDatabasesApi();
2424
});
2525
test('Verify that when user subscribe to the pubsub channel he can see all the messages being published to my database from the moment of my subscription', async t => {
2626
// Verify that the Channel field placeholder is 'Enter Channel Name'
@@ -66,9 +66,7 @@ test('Verify that the focus gets always shifted to a newest message (auto-scroll
6666
});
6767
test
6868
.before(async t => {
69-
await databaseHelper.acceptLicenseTerms();
70-
await databaseAPIRequests.deleteAllDatabasesApi();
71-
await databaseAPIRequests.addNewStandaloneDatabaseApi(ossStandaloneV5Config);
69+
await databaseHelper.acceptLicenseTermsAndAddDatabase(ossStandaloneV5Config);
7270
await databaseAPIRequests.addNewStandaloneDatabaseApi(ossStandaloneConfig);
7371
await myRedisDatabasePage.reloadPage();
7472
await myRedisDatabasePage.clickOnDBByName(ossStandaloneConfig.databaseName);

0 commit comments

Comments
 (0)