authgear-server icon indicating copy to clipboard operation
authgear-server copied to clipboard

Add `step: action` to e2e tests for SELECT queries

Open pkong-ds opened this issue 1 year ago • 0 comments

What's in this PR?

Add a new step to run a database query and assert the result

Why?

  1. reauth need fetch user_id from db to generateIDToken
  2. 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

pkong-ds avatar Aug 09 '24 11:08 pkong-ds