Skip to content

Commit 08bc78f

Browse files
committed
test(e2e): add workbench settings tests
References: #RI-8039 Made-with: Cursor
1 parent 423491d commit 08bc78f

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

tests/e2e-playwright/TEST_PLAN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,8 @@ The test plan is organized by feature area. Tests are grouped for parallel execu
673673
### 7.3 Workbench Settings
674674
| Status | Group | Test Case |
675675
|--------|-------|-----------|
676-
| 🔲 | main | Show editor cleanup switch |
677-
| 🔲 | main | Show pipeline commands setting |
676+
| | main | Show editor cleanup switch |
677+
| | main | Show pipeline commands setting |
678678
| 🔲 | main | Configure command timeout (N/A - per-database setting, not in settings page) |
679679

680680
### 7.4 Redis Cloud Settings
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { test, expect } from '../../../../fixtures/base';
2+
3+
/**
4+
* Workbench Settings tests (TEST_PLAN.md: 7.3 Workbench Settings)
5+
*
6+
* Tests for the Workbench section on the Settings page.
7+
* Verifies editor cleanup switch and pipeline commands setting are displayed.
8+
*
9+
* Note: "Configure command timeout" is N/A -- it's a per-database setting, not on the Settings page.
10+
*/
11+
test.describe('Workbench Settings', () => {
12+
test.beforeEach(async ({ settingsPage }) => {
13+
await settingsPage.goto();
14+
await settingsPage.expandWorkbench();
15+
});
16+
17+
test('should show editor cleanup switch', async ({ settingsPage }) => {
18+
await expect(settingsPage.editorCleanupSwitch).toBeVisible();
19+
});
20+
21+
test('should show pipeline commands setting', async ({ settingsPage }) => {
22+
await expect(settingsPage.pipelineCommandsText).toBeVisible();
23+
});
24+
});

0 commit comments

Comments
 (0)