Increase wait time when testing sidebar expanding / collapsing to a value greater
than the sidebar animation one (300 ms).
CSS class related to expanded / collapsed sidebar is set at the beginning of the
animation so we are unfortunately forced to use cy.wait() here.
Related to T2341