项目文件夹

文件
Nikolay Vitkov 327a3884d8 refactor: remove text from the status code for Network requests (#778)
LLM are trained to know the common status code so we can rely on that
when displaying the status code and fall back to text in case of errors
or pending reponse.
2026-02-18 14:23:26 +00:00

54 行
1.7 KiB
Plaintext

exports[`network > network_get_request > should get request from previous navigations 1`] = `
# get_request response
## Request http://localhost:<port>/one
Status: 200
### Request Headers
- accept-language:<lang>
- upgrade-insecure-requests:1
- user-agent:<user-agent>
- sec-ch-ua:"Chromium";v="<version>", "Not:A-Brand";v="99"
- sec-ch-ua-mobile:?0
- sec-ch-ua-platform:"<os>"
- accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding:gzip, deflate, br, zstd
- connection:keep-alive
- host:localhost:<port>
- sec-fetch-dest:document
- sec-fetch-mode:navigate
- sec-fetch-site:none
- sec-fetch-user:?1
### Response Headers
- connection:keep-alive
- content-length:239
- content-type:text/html; charset=utf-8
- date:<long date>
- keep-alive:timeout=5
### Response Body
<not available anymore>
`;
exports[`network > network_list_requests > list requests form current navigations only 1`] = `
# list_request response
## Network requests
Showing 1-1 of 1 (Page 1 of 1).
reqid=3 GET http://localhost:<port>/three [200]
`;
exports[`network > network_list_requests > list requests from previous navigations 1`] = `
# list_request response
## Network requests
Showing 1-3 of 3 (Page 1 of 1).
reqid=1 GET http://localhost:<port>/one [200]
reqid=2 GET http://localhost:<port>/two [200]
reqid=3 GET http://localhost:<port>/three [200]
`;
exports[`network > network_list_requests > list requests from previous navigations from redirects 1`] = `
# list_request response
## Network requests
Showing 1-3 of 3 (Page 1 of 1).
reqid=1 GET http://localhost:<port>/redirect [302]
reqid=2 GET http://localhost:<port>/redirected [200]
reqid=3 GET http://localhost:<port>/redirected-page [200]
`;