Skip to content

RI-7998 Add database list E2E tests#5602

Open
pd-redis wants to merge 2 commits intomainfrom
e2e/RI-7998/database-list
Open

RI-7998 Add database list E2E tests#5602
pd-redis wants to merge 2 commits intomainfrom
e2e/RI-7998/database-list

Conversation

@pd-redis
Copy link
Contributor

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

What

Add 19 Playwright E2E tests for the database list page (TEST_PLAN.md section 1.2). Tests are organized by feature area:

  • Search (9 tests): query, partial match, case-insensitive, host:port, clear, no results, by name/host/port
  • Columns (2 tests): show columns button, hide/show columns
  • Selection (4 tests): single, multiple, select all, bulk delete
  • Row Actions (3 tests): edit, clone, connect to database
  • Other (1 test): Redis Stack icon verification

3 test cases left unimplemented (connection status indicator, search by connection type, search by last connection time) as they require deeper UI exploration.

Testing

  • Run npx playwright test tests/main/databases/list/database-list.spec.ts with local Redis instances (standalone + cluster)

Closes #RI-7998

Made with Cursor


Note

Medium Risk
Adds a sizeable new Playwright E2E suite that performs UI selection and bulk-delete flows; main risk is increased CI runtime/flakiness and reliance on stable test environments, not production behavior.

Overview
Adds a new Playwright E2E spec (database-list.spec.ts) covering the database list page, including search behavior, column visibility toggling, row selection (single/multi/all) with bulk delete, and row actions (edit/clone/connect) plus a Redis Stack icon check.

Updates TEST_PLAN.md to mark the corresponding Database List (section 1.2) cases as implemented.

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

Add 19 Playwright E2E tests for the database list page covering search
(query, partial, case-insensitive, host:port, clear, no results),
column configuration, selection (single, multiple, all, bulk delete),
row actions (edit, clone, connect), and Redis Stack icon verification.

References: #RI-7998
Made-with: Cursor
@jit-ci
Copy link

jit-ci bot commented Mar 5, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

Copy link

@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.

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

Refactor the test for verifying the Redis Stack icon in the database list to check for module icons instead. This change improves the robustness of the test by ensuring it correctly identifies the presence of modules associated with the standalone database.

References: #RI-7998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant