Then I should see 3 records

Assert the number of records on screen: the rows of the list view or the cards of the kanban view, for the current page and search.

Examples

Then I should see 3 records
And I should see 1 record
Then we should see 15 records
And I should see 0 records
Then we should see 80 records

Pattern

Then(/^(I |we )*should see (\d+) records?$/, …)

Part of @webship-js/odoo-steps (github.com/webship/odoo-steps), a step pack for Webship-js 2.0.x.