1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| ---
| test_name: csrf check
| strict: false
| marks:
| - usefixtures:
| - django_live_url
| - enable_csrf
| stages:
| - id: login_csrf
| name: Sign up without csrf
| request:
| url: "{django_live_url}/user/signup?enforce_csrf_checks=1"
| data:
| email: test_suites_user@heartex.com
| password: 12345678
| method: POST
| response:
| status_code: 403
|
| - id: login_csrf
| name: Login without csrf
| request:
| url: "{django_live_url}/user/login?enforce_csrf_checks=1"
| data:
| email: test_suites_user@heartex.com
| password: 12345678
| method: POST
| response:
| status_code: 403
|
|
|