moduleBoardHelpersdefclick_card(card)withincarddofirst('.card-number').clickendwait_for_sidebarenddefwait_for_sidebar# loop until the CSS transition is completeTimeout.timeout(0.5)doloopuntilevaluate_script('$(".right-sidebar").outerWidth()')==290endendend