tags:

views:

13

answers:

0

I am trying to use assertJsxTextEqual in my GiTak test case, however it always returns false for a test that should be true. Here is my Test row.

<tr>
    <td>assertJsxTextEqual</td>
    <td>searchErrorMessageBlock</td>
    <td>Error</td>
</tr>

The name searchErrorMessageBlock works as with another name a different error is shown about object being null.

This is the API for the assert

assertJsxTextEqual

| [assert/verify/waitFor]JsxTextEqual | jsxname | expected text |

assert that object of jsxname has text equal to given expected text

I am convinced that it is because I am not correctly formatting my search string, does anyone have any ideas?

I have already tried enclosing my search in "".