|
| 1 | + |
| 2 | +### Test Description 📜 : /register [method = POST] |
| 3 | + |
| 4 | +- #### Positive Tests ✅ : |
| 5 | + |
| 6 | + - **Screenshot/gif** 📸 : |
| 7 | + <br> |
| 8 | + |
| 9 | +  |
| 10 | + |
| 11 | + - **Expected Result** 📝 : A new user should be created. |
| 12 | + |
| 13 | + <br> |
| 14 | + |
| 15 | + - **Screenshot/gif** 📸 : |
| 16 | + |
| 17 | + <br> |
| 18 | + |
| 19 | +  |
| 20 | + |
| 21 | + - **Expected Result** 📝 : A new user should be created. |
| 22 | + <br> |
| 23 | + |
| 24 | +  |
| 25 | + |
| 26 | + <br> |
| 27 | + |
| 28 | + - **Screenshot/gif** 📸 : |
| 29 | + <br> |
| 30 | + |
| 31 | +  |
| 32 | + |
| 33 | + - **Expected Result** 📝 : A new user should be created. |
| 34 | + <br> |
| 35 | + |
| 36 | +  |
| 37 | + |
| 38 | + <br> |
| 39 | + |
| 40 | +- #### Negative Tests ❌ : |
| 41 | + |
| 42 | + |
| 43 | + - **Screenshot/gif** 📸 : |
| 44 | + - If a username **already exists**. |
| 45 | + <br> |
| 46 | + |
| 47 | +  |
| 48 | + |
| 49 | + - **Expected Result** 📝 : A new user shouldn't be created. |
| 50 | + <br> |
| 51 | + |
| 52 | +  |
| 53 | + |
| 54 | + <br> |
| 55 | + |
| 56 | + - **Screenshot/gif** 📸 : |
| 57 | + - If user email **already exists**. |
| 58 | + <br> |
| 59 | + |
| 60 | +  |
| 61 | + |
| 62 | + - **Expected Result** 📝 : A new user shouldn't be created. |
| 63 | + |
| 64 | + <br> |
| 65 | + |
| 66 | +  |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + - **Screenshot/gif** 📸 : |
| 71 | + - If name attribute is **invalid**. |
| 72 | + <br> |
| 73 | + |
| 74 | +  |
| 75 | + |
| 76 | + - **Expected Result** 📝 : A new user shouldn't be created. |
| 77 | + |
| 78 | + <br> |
| 79 | + |
| 80 | +  |
| 81 | + |
| 82 | + <br> |
| 83 | + |
| 84 | + - **Screenshot/gif** 📸 : |
| 85 | + - If user email is **invalid**. |
| 86 | + <br> |
| 87 | + |
| 88 | +  |
| 89 | + |
| 90 | + - **Expected Result** 📝 : A new user shouldn't be created. |
| 91 | + <br> |
| 92 | + |
| 93 | +  |
| 94 | + |
| 95 | + <br> |
| 96 | + |
| 97 | + - **Screenshot/gif** 📸 : |
| 98 | + - Password field has to be at **least 8 characters**. |
| 99 | + <br> |
| 100 | + |
| 101 | +  |
| 102 | + |
| 103 | + - **Expected Result** 📝 : A new user shouldn't be created. |
| 104 | + <br> |
| 105 | + |
| 106 | +  |
| 107 | + |
| 108 | + <br> |
| 109 | + |
| 110 | + - **Screenshot/gif** 📸 : |
| 111 | + - Username field has to be **atleast 5-25 characters**. |
| 112 | + <br> |
| 113 | + |
| 114 | +  |
| 115 | + |
| 116 | + - **Expected Result** 📝 : A new user shouldn't be created. |
| 117 | + <br> |
| 118 | + |
| 119 | +  |
| 120 | + |
| 121 | + <br> |
| 122 | + |
| 123 | + - **Screenshot/gif** 📸 : |
| 124 | + - Terms and condition are **not checked**. |
| 125 | + <br> |
| 126 | + |
| 127 | +  |
| 128 | + |
| 129 | + - **Expected Result** 📝 : A new user shouldn't be created. |
| 130 | + |
| 131 | + <br> |
| 132 | + |
| 133 | +  |
0 commit comments