Given user johndoe@mail.com is trying to access /account/ endpoint from the origin, API is configured for
When browser sends OPTIONS request with GET HTTP method for ACPM header
Then API responds with 200 HTTP code
Given user johndoe@mail.com is trying to access /account/ endpoint from the wrong origin
When browser sends OPTIONS request with GET HTTP method for ACPM header
Then API responds with 403 HTTP code
| Number of Scenarios | 2 | Total Duration | 13ms |
| Total Number of Test Cases | 2 | Fastest Test | 5ms |
| Number of Manual Test Cases | 0 | Slowest Test | 6ms |
| Tests Started | Aug 21, 2025 23:49:45 | Average Execution Time | 5ms |
| Tests Finished | Aug 21, 2025 23:49:45 | Total Execution Time | 11ms |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Cross-origin resource sharing | CORS positive scenario: OPTIONS request is sent to check if API endpoint accepts requests from the origin it is configured for | 3 | 23:49:45 | 006ms | ||
| Cross-origin resource sharing | CORS negative scenario: OPTIONS request is sent to check if API endpoint accepts requests from the wrong origin | 3 | 23:49:45 | 005ms |