def add_discussion(page, menu_index=0):
 page.wait_for_component_menu()
 click_css(page, 'button>span.large-discussion-icon', menu_index)

def add_discussion ( page , menu_index = 0 ) : page . wait_for_component_menu ( ) click_css ( page , 'button>span.large-discussion-icon' , menu_index )
add a new instance of the discussion category .