Kernel::Test::Role::Selenium::Agent::HandlesBoardView

NAME

Kernel::Test::Role::Selenium::Agent::HandlesBoardView – role to interact with object action menu in Selenium tests.

WaitForCardAmount() Usage: WaitForCardAmount( ColumnNumber => 1, # checking nth column for correct amount of cards. ExpectedCardAmount => 7, Message => 'After doing <xyz>', );

AssertCardsAndNoMore() Check that the given column contains exactly the ticket numbers existent in $Self->TestTickets() and no more.

Usage: $Self->AssertCardsAndNoMore( ColumnTitle => … # the title/heading of the column to check );

BoardViewSelectAllCardsInColumn {

Usage: $Self->BoardViewSelectAllCardsInColumn(4)

BoardViewMoveCardToColumn

Usage: BoardViewMoveCardToColumn( OriginColumnNumber => 2, TargetColumnTitle => 'Postmaster', CardNumber => 1, # nth card from OriginColumn to move );

NOTE: This will error if the column triggers a form, so don't do that! 🙂

ActivateKanbanViewContractFeature

Usage: ActivateKanbanViewContractFeature( IsActivate => 1, # 0 (deactivate) | 1 (activate) );

This will add all the necessary config settings to make the board view display switch available in the BOL(s)

Scroll to Top