Anything assertion (verify)

in Japanese(日本語)

Groups several assertions into one reported check.

Functions

function description
verify(message) { } Runs the block and records it as one check step named message. Passes when one or more assertion commands (every assertion command except screenLooksLike: exist / notExist / countIs / waitForDisplay, the text / value / id / state / image / keyboard / this / app assertions) inside the block all succeed.

Example

verify("Order info is correct") {
    select("#order_id").textIs(orderNumber ?? "")
    exist("#order_total")
}

Notes