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
parent
f8ac17e1
No related branches found
No related tags found
Showing
- cypress/integration/sidebar.spec.js 2 additions, 4 deletionscypress/integration/sidebar.spec.js
- swh/web/assets/src/bundles/webapp/webapp-utils.js 32 additions, 5 deletionsswh/web/assets/src/bundles/webapp/webapp-utils.js
- swh/web/templates/layout.html 3 additions, 1 deletionswh/web/templates/layout.html
-
Some references in the commit message have been migrated:
- T2341 is now #2341 (closed)
-
mentioned in merge request !275 (closed)
-
mentioned in merge request !279 (closed)
Please register or sign in to comment