24 lines
728 B
Markdown
24 lines
728 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: security.spec.ts >> Security - Authentication >> Login without password returns proper error
|
||
|
|
- Location: tests/e2e/security.spec.ts:31:3
|
||
|
|
|
||
|
|
# Error details
|
||
|
|
|
||
|
|
```
|
||
|
|
Error: apiRequestContext.post: connect ECONNREFUSED ::1:3000
|
||
|
|
Call log:
|
||
|
|
- → POST http://localhost:3000/api/auth/login
|
||
|
|
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.7778.96 Safari/537.36
|
||
|
|
- accept: */*
|
||
|
|
- accept-encoding: gzip,deflate,br
|
||
|
|
- content-type: application/json
|
||
|
|
- content-length: 28
|
||
|
|
|
||
|
|
```
|