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
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Node = ({
onKeyDown={handleKeyDown}
tabIndex={0}
onFocus={() => {}}
data-testid={fullName}
data-testid={`node-item_${fullName}`}
>
<div className={styles.nodeName}>
{!isLeaf && (
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/tests/critical-path/database/modules.e2e.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { rte } from '../../../helpers/constants';
import { rte, env } from '../../../helpers/constants';
import {
acceptLicenseTerms,
addNewStandaloneDatabase,
Expand All @@ -25,7 +25,7 @@ fixture `Database modules`
await deleteDatabase(ossStandaloneRedisearch.databaseName);
})
test
.meta({ rte: rte.standalone })
.meta({ rte: rte.standalone, env: env.web })
('Verify that user can see DB modules on DB list page for Standalone DB', async t => {
//Check module column on DB list page
await t.expect(myRedisDatabasePage.moduleColumn.exists).ok('Module column');
Expand Down
3 changes: 2 additions & 1 deletion tests/e2e/tests/critical-path/tree-view/tree-view.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ test
('Verify that user can see DB is automatically scanned by 10K keys in the background, user can see the number of keys scanned and use the "Scan More" button to search per another 10000 keys', async t => {
let scannedValue = 10;
await t.click(browserPage.treeViewButton);
await t.expect(browserPage.scannedValue.visible).ok('The database scanned value is displayed', { timeout: 40000 });
await t.expect(browserPage.scannedValue.textContent).eql(`${scannedValue} 000`, 'The database is automatically scanned by 10K keys');
//Verify that user can use the "Scan More" button to search per another 10000 keys
for (let i = 0; i < 10; i++){
scannedValue = scannedValue + 10;
await t.click(browserPage.scanMoreButton);
await t.expect(await browserPage.scannedValue.withExactText(`${scannedValue} 000`).exists).ok('The database is automatically scanned by 10K keys');
await t.expect(browserPage.scannedValue.textContent).eql(`${scannedValue} 000`, `The database is automatically scanned by ${scannedValue} 000 keys`, { timeout: 40000 });
}
});
test
Expand Down