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
3 changes: 2 additions & 1 deletion tests/e2e/pageObjects/monitor-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export class MonitorPage {
clearMonitorButton = Selector('[data-testid=clear-monitor]');
hideMonitor = Selector('[data-testid=hide-monitor]');
closeMonitor = Selector('[data-testid=close-monitor]');
resetProfilerButton = Selector('[data-testid=reset-profiler-btn]');
//TEXT ELEMENTS
monitorIsStoppedText = Selector('[data-testid=monitor-stopped]');
monitorIsStartedText = Selector('[data-testid=monitor-started]');
Expand Down Expand Up @@ -53,6 +54,6 @@ export class MonitorPage {
*/
async stopMonitor(): Promise<void> {
await t.click(this.runMonitorToggle);
await t.expect(this.monitorIsStoppedText.exists).ok('Profiler is stopped text');
await t.expect(this.resetProfilerButton.visible).ok('Reset profiler button appeared');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test
//Verify that user when users select DB index they can see info message how to work with DB index in add DB screen
await t.expect(addRedisDatabasePage.databaseIndexMessage.visible).ok('Index message');
await t.expect(addRedisDatabasePage.databaseIndexMessage.innerText).eql(indexDbMessage);
await t.expect(addRedisDatabasePage.databaseIndexCheckbox.parent().withExactText('Select the Redis logical database').exists).ok('Checkbox text');
await t.expect(addRedisDatabasePage.databaseIndexCheckbox.parent().withExactText('Select Logical Database').exists).ok('Checkbox text');
//Click for saving
await t.click(addRedisDatabasePage.addRedisDatabaseButton);
//Verify that the database is in the list
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/tests/regression/cli/cli-command-helper.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ test
});
test
.meta({ env: env.web, rte: rte.standalone })('Verify that user can work with Bloom groups in Command Helper (RedisBloom module)', async t => {
filteringGroups = ['Bf', 'CMS', 'TDigest', 'TopK', 'Cf'];
filteringGroups = ['Bloom Filter', 'CMS', 'TDigest', 'TopK', 'Cuckoo Filter'];
commandsToCheck = [
'BF.MEXISTS',
'CMS.QUERY',
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/tests/regression/monitor/monitor.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ test
await monitorPage.startMonitor();
//Click on Stop Monitor button
await t.click(monitorPage.runMonitorToggle);
//Check for "Monitor is stopped." text
await t.expect(monitorPage.monitorIsStoppedText.innerText).eql('Profiler is paused.', 'Paused profiler message');
//Check that Monitor is stopped
await t.expect(monitorPage.resetProfilerButton.visible).ok('Reset profiler button appeared');
//Get the last log line
const lastTimestamp = await monitorPage.monitorCommandLineTimestamp.nth(-1).textContent;
//Click on refresh keys to get new logs
Expand Down