Then the "New" column should have 2 cards

Assert the number of cards a column of the kanban view shows.

Examples

Then the "New" column should have 2 cards
And the "Won" column should have 1 card
Then the "Qualified" kanban column should have 3 cards
And the "Proposition" column should have 0 cards
Then the "New" column should have 4 cards

Pattern

Then(/^the "([^"]*)" (?:kanban )?column should have (\d+) cards?$/, …)

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