Skip to content

Commit bb1e26b

Browse files
authored
Doc : Manual testing POST /register (anitab-org#285)
* test : Manual testing POST /register * test : register / Done Requested Changes
1 parent 575dd50 commit bb1e26b

File tree

1 file changed

+133
-0
lines changed

1 file changed

+133
-0
lines changed

docs/manual_tests/test_register.md

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
2+
### Test Description 📜 : /register [method = POST]
3+
4+
- #### Positive Tests ✅ :
5+
6+
- **Screenshot/gif** 📸 :
7+
<br>
8+
9+
![post-register-positive](https://user-images.githubusercontent.com/56113566/120222706-01edad00-c25e-11eb-96b0-d0a6d62534e8.gif)
10+
11+
- **Expected Result** 📝 : A new user should be created.
12+
13+
<br>
14+
15+
- **Screenshot/gif** 📸 :
16+
17+
<br>
18+
19+
![register-positive-1](https://user-images.githubusercontent.com/56113566/120224846-d7055800-c261-11eb-8989-2d8da8de84c1.png)
20+
21+
- **Expected Result** 📝 : A new user should be created.
22+
<br>
23+
24+
![register-positive-1-res](https://user-images.githubusercontent.com/56113566/120224850-d8cf1b80-c261-11eb-8801-59f7fa4a3fa5.png)
25+
26+
<br>
27+
28+
- **Screenshot/gif** 📸 :
29+
<br>
30+
31+
![register-positive-2](https://user-images.githubusercontent.com/56113566/120225485-f8b30f00-c262-11eb-85d6-4805e2620372.png)
32+
33+
- **Expected Result** 📝 : A new user should be created.
34+
<br>
35+
36+
![register-positive-1-res](https://user-images.githubusercontent.com/56113566/120224850-d8cf1b80-c261-11eb-8801-59f7fa4a3fa5.png)
37+
38+
<br>
39+
40+
- #### Negative Tests ❌ :
41+
42+
43+
- **Screenshot/gif** 📸 :
44+
- If a username **already exists**.
45+
<br>
46+
47+
![register-negative-6](https://user-images.githubusercontent.com/56113566/120224858-dc62a280-c261-11eb-84dd-7d1014b43b7e.png)
48+
49+
- **Expected Result** 📝 : A new user shouldn't be created.
50+
<br>
51+
52+
![register-negative-6-res](https://user-images.githubusercontent.com/56113566/120224864-de2c6600-c261-11eb-8e7b-391be3281f6d.png)
53+
54+
<br>
55+
56+
- **Screenshot/gif** 📸 :
57+
- If user email **already exists**.
58+
<br>
59+
60+
![register-negative-7](https://user-images.githubusercontent.com/56113566/120224867-df5d9300-c261-11eb-900c-b8ef91aa3ae4.png)
61+
62+
- **Expected Result** 📝 : A new user shouldn't be created.
63+
64+
<br>
65+
66+
![register-negative-7-res](https://user-images.githubusercontent.com/56113566/120224876-e4224700-c261-11eb-8c6c-792e1e51289f.png)
67+
68+
69+
70+
- **Screenshot/gif** 📸 :
71+
- If name attribute is **invalid**.
72+
<br>
73+
74+
![post-register-negative-1](https://user-images.githubusercontent.com/56113566/120222960-6f014280-c25e-11eb-8aa8-691fec8c8e8b.png)
75+
76+
- **Expected Result** 📝 : A new user shouldn't be created.
77+
78+
<br>
79+
80+
![post-register-negative-1-res](https://user-images.githubusercontent.com/56113566/120222966-745e8d00-c25e-11eb-99ec-5054111a0957.png)
81+
82+
<br>
83+
84+
- **Screenshot/gif** 📸 :
85+
- If user email is **invalid**.
86+
<br>
87+
88+
![post-register-negative-2](https://user-images.githubusercontent.com/56113566/120222980-79bbd780-c25e-11eb-9345-6e588e518cdf.png)
89+
90+
- **Expected Result** 📝 : A new user shouldn't be created.
91+
<br>
92+
93+
![post-register-negative-2-res](https://user-images.githubusercontent.com/56113566/120222985-7aed0480-c25e-11eb-8156-e71a64c1ed92.png)
94+
95+
<br>
96+
97+
- **Screenshot/gif** 📸 :
98+
- Password field has to be at **least 8 characters**.
99+
<br>
100+
101+
![post-register-negative-3](https://user-images.githubusercontent.com/56113566/120222996-804a4f00-c25e-11eb-910e-b93e97b44b45.png)
102+
103+
- **Expected Result** 📝 : A new user shouldn't be created.
104+
<br>
105+
106+
![post-register-negative-3-res](https://user-images.githubusercontent.com/56113566/120222998-817b7c00-c25e-11eb-9d50-daded22e17ba.png)
107+
108+
<br>
109+
110+
- **Screenshot/gif** 📸 :
111+
- Username field has to be **atleast 5-25 characters**.
112+
<br>
113+
114+
![post-register-negative-4](https://user-images.githubusercontent.com/56113566/120223004-84766c80-c25e-11eb-8b3d-478c32473f1b.png)
115+
116+
- **Expected Result** 📝 : A new user shouldn't be created.
117+
<br>
118+
119+
![post-register-negative-4-res](https://user-images.githubusercontent.com/56113566/120223012-86d8c680-c25e-11eb-9e11-381ca4d3b4f0.png)
120+
121+
<br>
122+
123+
- **Screenshot/gif** 📸 :
124+
- Terms and condition are **not checked**.
125+
<br>
126+
127+
![post-register-negative-5](https://user-images.githubusercontent.com/56113566/120223026-8b9d7a80-c25e-11eb-87b3-cf8b85ee742e.png)
128+
129+
- **Expected Result** 📝 : A new user shouldn't be created.
130+
131+
<br>
132+
133+
![post-register-negative-5-res](https://user-images.githubusercontent.com/56113566/120223043-91935b80-c25e-11eb-97be-fab631b367b7.png)

0 commit comments

Comments
 (0)