* Checks that the response code is 2xx * Use it instead of seeResponseCodeIs(200) if server can return 204 instead. * * ```js * I.seeResponseCodeIsSuccessful(); * ```
()
| 144 | * ``` |
| 145 | */ |
| 146 | seeResponseCodeIsSuccessful() { |
| 147 | this._checkResponseReady() |
| 148 | assert(this.response.status >= 200 && this.response.status < 300) |
| 149 | } |
| 150 | |
| 151 | /** |
| 152 | * Checks for deep inclusion of a provided json in a response data. |
no test coverage detected