Skip to content

RI-8000 Add database list pagination E2E tests#5603

Merged
pd-redis merged 3 commits intomainfrom
e2e/RI-8000/pagination
Mar 12, 2026
Merged

RI-8000 Add database list pagination E2E tests#5603
pd-redis merged 3 commits intomainfrom
e2e/RI-8000/pagination

Conversation

@pd-redis
Copy link
Copy Markdown
Contributor

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

What

Add 8 Playwright E2E tests for database list pagination (TEST_PLAN.md section 1.4). Creates 20 databases to trigger pagination and tests navigation, items per page, page selection, row count display, and disabled button states.

Testing

  • Run npx playwright test tests/main/databases/pagination/pagination.spec.ts with local Redis instances

Closes #RI-8000

Made with Cursor


Note

Low Risk
Low risk: changes are limited to Playwright E2E tests and test plan documentation, with a small selector tightening that may only affect test stability.

Overview
Adds a new Playwright E2E suite (pagination.spec.ts) that creates 20 databases to exercise database list pagination and verifies navigation (next/prev/first/last), items-per-page behavior, page selection, row count text, and disabled button states.

Tightens DatabaseList page-object dropdown selection by requiring exact option matches, and marks the pagination cases as implemented in TEST_PLAN.md.

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

Add 8 Playwright E2E tests for database list pagination covering
visibility, next/previous/first/last navigation, items per page,
page selection, row count display, and disabled button states.

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

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

Use exact match for items-per-page options and avoid clicking
disabled first-page button when already on page 1.

References: #RI-8000
Made-with: Cursor
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.

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/databases/components/DatabaseList.ts
valkirilov
valkirilov previously approved these changes Mar 10, 2026
@pd-redis pd-redis merged commit 75a1f71 into main Mar 12, 2026
5 checks passed
@pd-redis pd-redis deleted the e2e/RI-8000/pagination branch March 12, 2026 13:21
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.

2 participants