PostgreSQL

Databases

Validate PostgreSQL database state inside Playwright test workflows

Tynkr lets you query PostgreSQL tables and assert row-level data as a step in any automation workflow — alongside your browser tests. You can validate that a form submission wrote the correct data, check that a background job updated a record, or assert database state before and after a user action, all in one workflow.

What you can do

  • Assert that a checkout form wrote the correct order data to PostgreSQL
  • Validate database state before and after a test to confirm data integrity
  • Query a PostgreSQL table to generate test data dynamically at runtime
  • Check that a background job updated records correctly after triggering it via browser

Common questions

How does Tynkr connect to PostgreSQL?

Tynkr connects to your PostgreSQL database using a connection string stored as an encrypted workflow secret. You add a database query step to your workflow, write a SQL query, and define the assertion — Tynkr executes the query at runtime and fails the workflow if the assertion does not pass.