22 lines
649 B
Markdown
22 lines
649 B
Markdown
|
|
# Instructions
|
||
|
|
|
||
|
|
- Following Playwright test failed.
|
||
|
|
- Explain why, be concise, respect Playwright best practices.
|
||
|
|
- Provide a snippet of code with the fix, if possible.
|
||
|
|
|
||
|
|
# Test info
|
||
|
|
|
||
|
|
- Name: api.spec.ts >> Gateway API >> Gateway returns 404 for unknown routes
|
||
|
|
- Location: tests/e2e/api.spec.ts:255:3
|
||
|
|
|
||
|
|
# Error details
|
||
|
|
|
||
|
|
```
|
||
|
|
Error: apiRequestContext.get: connect ECONNREFUSED ::1:3000
|
||
|
|
Call log:
|
||
|
|
- → GET http://localhost:3000/api/nonexistent-route
|
||
|
|
- user-agent: Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.7778.96 Mobile Safari/537.36
|
||
|
|
- accept: */*
|
||
|
|
- accept-encoding: gzip,deflate,br
|
||
|
|
|
||
|
|
```
|