-
Notifications
You must be signed in to change notification settings - Fork 739
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Describe the bug
When creating an E2E tests , when sending an invalid value or if some service is out, we still receive code 200.
To Reproduce
- Create a POST request to service payment or deposit with an invalid value (-1000, for example)
- The response will be 200 ok code even a error message is logged.
- Because of redirect to home, even when we add error code on redirect, home does not propagate the error.
Logs
The frontend app will log the error but is does not return the code.
Screenshots
Environment
Additional context
This error was found when adding an E2E tests on terraform-google-enterprise-application repo. It was workarounded checking the HTML return of home.
Exposure
Persistent.
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.