Somehow missed this, but has_text?, has_field? just return boolean, we need to have a condtion for a test to fail. Till now it was just returning boolean

Signed-off-by: Arpit Goyal <agmps17@gmail.com>