Sometimes it is useful to avoid implicit assertion of each statement in waitFor {} block. Can this be done by adding an option as block's argument? For instance, below the only last row should be checked for truth:
waitFor {
jobRow.clickUpdate()
processDialog.waitIfShown() //can return false and this is okay.
jobRow.statusCell.text() == status.value
}
So current workaround is to place these statements in a separate closure, and pass it to the waitFor block:
Sometimes it is useful to avoid implicit assertion of each statement in waitFor {} block. Can this be done by adding an option as block's argument? For instance, below the only last row should be checked for truth:
So current workaround is to place these statements in a separate closure, and pass it to the waitFor block:
Instead, it would be good to write:
The text was updated successfully, but these errors were encountered: