Introduce a way to access the most recent response in User testing #4278
Mte90
started this conversation in
Ideas / Feature Requests
Replies: 2 comments 2 replies
-
Could you provide an example where the response would be helpful in testing? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Currently the user fixture asserts response code nicegui/nicegui/testing/user.py Line 55 in 1137b50 This would need to change if we want to check the request status codes.
This is tracked in #4281. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ref: #4264
Ref: #4276
In the Pr I added a new variable in the user class to save the request with a method to return it.
Beta Was this translation helpful? Give feedback.
All reactions