authgear-server
authgear-server copied to clipboard
Add `step: action` to e2e tests for SELECT queries
What's in this PR?
Add a new step to run a database query and assert the result
Why?
- reauth need fetch user_id from db to
generateIDToken - userimport needs to verify user attributes are populated correctly (uppercase/lowercase) in db
Usage example
Please see https://github.com/authgear/authgear-server/pull/4562/commits/28f884a9f658ca279b21bd056c98d6f06908c618 at PR #4562