Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/e2e/pageObjects/my-redis-databases-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export class MyRedisDatabasePage {
//-------------------------------------------------------------------------------------------
// CSS Selectors
cssNumberOfDbs = '[data-testid=number-of-dbs]';
cssRedisStackIcon = '[data-testid=redis-stack-icon]';
//BUTTONS
settingsButton = Selector('[data-testid=settings-page-btn]');
workbenchButton = Selector('[data-testid=workbench-page-btn]');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ test('Verify DB list search', async t => {
const searchTimeout = 60 * 1000; // 60 sec to wait for changing Last Connection time
const dbSelector = myRedisDatabasePage.dbNameList.withExactText(databasesForSearch[2].databaseName);
const startTime = Date.now();
const noModulesDbRedisStackIcon = myRedisDatabasePage.dbNameList.withExactText(databasesForSearch[2].databaseName).parent('tr').find(myRedisDatabasePage.cssRedisStackIcon);

// Verify that db without modules has no redis stack icon
await t.expect(noModulesDbRedisStackIcon.exists).notOk('The database with other alias is found');

// Search for DB by Invalid search
await t.typeText(myRedisDatabasePage.searchInput, searchedDBHostInvalid, { replace: true, paste: true });
Expand Down
2 changes: 2 additions & 0 deletions tests/e2e/tests/smoke/database/add-standalone-db.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,6 @@ test
await addRECloudDatabase(cloudDatabaseConfig);
// Verify new connection badge for RE cloud
await myRedisDatabasePage.verifyDatabaseStatusIsVisible();
// Verify redis stack icon for RE Cloud with all 5 modules
await t.expect(myRedisDatabasePage.redisStackIcon.visible).ok('Redis Stack icon not found for RE Cloud db with all 5 modules');
});