Playwright Test Not Running with Postgres database connection using pg package
I’m facing an issue with Playwright tests. I have a separate module, db-connection.ts, for connecting and querying a PostgreSQL database using the pg
package. Here’s the relevant code in db-connection.ts: