HomeSoftware Heritage

cypress: Fix flaky tests related to sidebar

Authored by anlambert on Mar 31 2020, 12:44 PM.

Description

cypress: Fix flaky tests related to sidebar

Set sidebar state (collapsed / expanded) once css animation has finished
in order to make associated cypress test reliable.

Also set "enableRemember" option from adminlte PushMenu and remove custom
code that was doing the same operation as it is not needed anymore
(see https://adminlte.io/docs/3.0/javascript/push-menu.html).

Closes T2341