Repository navigation
Add Connections pane e2e tests for PostgreSQL and SQLite - #18648
Conversation
ReviewFive specialized agents reviewed this PR's diff against code-reviewer
pr-test-analyzer
comment-analyzer
silent-failure-hunter
type-design-analyzer AssessmentAll five critical/important findings were verified directly against the code (not taken at face value) before deciding. All were confirmed accurate:
Fixing the explorer filter test surfaced an additional, real bug not caught by any of the five agents: the fix initially appeared to reveal a product-level CSS bug in Actions TakenFixed:
Deliberately not taken in this PR (tracked as follow-up, not blocking):
|
|
Snyk raised five issues and marked the test failed. But all five are false positives—standard Snyk noise for e2e test fixtures, not a real security issue:
|
|
Addresses #18429. |
Adds a Playwright e2e suite for the Connections pane: the New Connection
wizard, connecting/disconnecting, the object explorer, and running queries
over a connection. Covers PostgreSQL and SQLite, on Desktop, across macOS,
Windows, and Linux.
Two test.fixme cases are parked and documented inline: verifying a
wizard-generated script actually connects when run (no reliable way found to
run it from a test), and a connection-removal list-refresh check (the app
doesn't always refresh the list immediately, a real product quirk, not a
test bug).
Caveat: this is not a real test of Server. A Server-only bug makes the New
Connection wizard disappear right after a session restart, so the tests that
actually connect, browse, or query a database are @desktop_only for now.
Server only gets a driver-registration and reachability check here.