-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe
Most real use cases require some authentication.
Often, that authentication requires interacting with a browser.
Since the focus of this repo is api testing, it makes sense to me to store the auth state/api key after a successful authentication
Describe the solution you'd like
A working example of how to fetch a temporary token from the browser (JWE, Auth token), cache it and use it on following tests, a la playwright storage state
Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
https://playwright.dev/docs/api/class-apirequestcontext#api-request-context-storage-state
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request