refactor: Use Playwright's baseURL setting instead of explicitly providing a full URL on all navigations.
refactor: Don't use storageState to log users in. Instead create the user and directly set session cookies when needed.
refactor: Stop using zod to verify config. It doesn't really work if you want to share config between client/server. The empty values on the client will always cause the schema validation to fail, so you end up having to coerce values, and in that case, there's no real validation going on. Better to just set a type and make sure the values conform to that type.
Changes
baseURL
setting instead of explicitly providing a full URL on all navigations.storageState
to log users in. Instead create the user and directly set session cookies when needed.Checklist