Queues with drawers: expand and collapse all top-level queue drawers

This is the entire snippet:

skuid.$(‘#MY_TABLE_ID’).find(‘table:first > tbody’).children(‘.nx-item’).not(‘.nx-item-has-drawer’).find(‘.my-icon:visible’).click();

Replace MY_TABLE_ID with the unique id of your table.
Replace my-icon with the icon for your drawer row action.