Skip to content

RI-8039 [E2E] 7.3 Settings -> Workbench Settings#5593

Merged
DimoHG merged 6 commits intomainfrom
e2e/RI-8039/workbench-settings
Mar 16, 2026
Merged

RI-8039 [E2E] 7.3 Settings -> Workbench Settings#5593
DimoHG merged 6 commits intomainfrom
e2e/RI-8039/workbench-settings

Conversation

@pd-redis
Copy link
Copy Markdown
Contributor

@pd-redis pd-redis commented Mar 4, 2026

What

Add Playwright E2E tests for the Workbench Settings section (7.3) of the Settings page.

Tests verify that the editor cleanup switch and pipeline commands setting are displayed when expanding the Workbench section. The "Configure command timeout" test case is N/A (per-database setting, not on the Settings page).

Testing

Run: npx playwright test tests/main/settings/workbench-settings


Closes #RI-8039

Made with Cursor


Note

Medium Risk
Medium risk because it changes shared SettingsPage locators/expanded-state detection, which could affect other Settings E2E tests if the new selectors don’t match all UI variants; otherwise changes are test-only.

Overview
Adds new Playwright E2E coverage for Settings → Workbench: verifies the editor cleanup switch and pipeline command batch size control are visible, persist after navigation, and that editor cleanup behavior actually affects Workbench command execution.

Updates the SettingsPage object to better match the accordion UI (heading-based toggles, data-state checks), and adds scoped locators plus helper methods for editing/applying the pipeline commands value. Marks the corresponding Workbench settings cases as ✅ in TEST_PLAN.md.

Written by Cursor Bugbot for commit b4bd146. This will update automatically on new commits. Configure here.

@jit-ci
Copy link
Copy Markdown

jit-ci Bot commented Mar 4, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

References: #RI-8039
Made-with: Cursor
@pd-redis pd-redis force-pushed the e2e/RI-8039/workbench-settings branch from 0bdc3f2 to 08bc78f Compare March 5, 2026 08:56
KrumTy
KrumTy previously approved these changes Mar 9, 2026
@KrumTy KrumTy dismissed their stale review March 9, 2026 13:20

to be re-reviewed once tests pass

The Section accordion from redis-ui renders headings, not buttons,
for section labels. The collapse button has aria-label="Expand Section",
not the section name. Updated isExpanded checks to use data-state
on the accordion root element.

Made-with: Cursor
…nctionality

- Added new locators for pipeline commands value, input, and apply button in SettingsPage.
- Implemented methods to toggle editor cleanup and manage pipeline commands in SettingsPage.
- Expanded tests to verify persistence of editor cleanup and pipeline commands settings after navigation.
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Comment thread tests/e2e-playwright/pages/settings/SettingsPage.ts Outdated
…functionality

- Added tests to ensure that enabling editor cleanup clears the editor after command execution, while disabling it retains the command in the editor.
- Updated documentation to reflect the new behavior of Workbench settings.
- Refactored locators for pipeline commands to be scoped within the workbench settings section.
- Adjusted the apply button locator to ensure it correctly references the form ancestor.
@pd-redis pd-redis requested review from KrumTy and pawelangelow March 16, 2026 07:35
@DimoHG DimoHG merged commit 1f9f1a4 into main Mar 16, 2026
5 checks passed
@DimoHG DimoHG deleted the e2e/RI-8039/workbench-settings branch March 16, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants