<td>//div[@data-gadget-scope='m']//li[1]//a[text()='Title 2 (Foo)' and contains(@href, '#!display') and contains(@href, 'n.jio_key=foo_module%2F2')]</td>
<td>//div[@data-gadget-scope='m']//li[1]//a[text()='Title 2 (Foo)' and contains(@href, '#!push_history') and contains(@href, 'n.jio_key=foo_module%2F2')]</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>waitForElementPresent</td>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='m']//a[text()='Title 1 (Foo)' and contains(@href, '#!display') and contains(@href, 'n.jio_key=foo_module%2F1')]</td>
<td>//div[@data-gadget-scope='m']//a[text()='Title 1 (Foo)' and contains(@href, '#!push_history') and contains(@href, 'n.jio_key=foo_module%2F1')]</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Click on second one to change the order -->
<!-- Click on second one to change the order -->
<tr>
<tr>
<td>click</td>
<td>click</td>
<td>//div[@data-gadget-scope='m']//a[text()='Title 1 (Foo)' and contains(@href, '#!display') and contains(@href, 'n.jio_key=foo_module%2F1')]</td>
<td>//div[@data-gadget-scope='m']//a[text()='Title 1 (Foo)' and contains(@href, '#!push_history') and contains(@href, 'n.jio_key=foo_module%2F1')]</td>
<td>//div[@data-gadget-scope='m']//li[1]//a[text()='Title 1 (Foo)' and contains(@href, '#!display') and contains(@href, 'n.jio_key=foo_module%2F1')]</td>
<td>//div[@data-gadget-scope='m']//li[1]//a[text()='Title 1 (Foo)' and contains(@href, '#!push_history') and contains(@href, 'n.jio_key=foo_module%2F1')]</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>waitForElementPresent</td>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='m']//a[text()='Title 2 (Foo)' and contains(@href, '#!display') and contains(@href, 'n.jio_key=foo_module%2F2')]</td>
<td>//div[@data-gadget-scope='m']//a[text()='Title 2 (Foo)' and contains(@href, '#!push_history') and contains(@href, 'n.jio_key=foo_module%2F2')]</td>