Open php-coder opened 7 years ago
The old code is causing test flakes (like #556) because sometimes the block is visible and sometimes it's not. After fixing #565 the code for hiding/showing elements has started to use height(0)
that seems causes flakes because zero height passes Wait Until Element Is Visible
check.
Could be related: https://habr.com/ru/post/477520/
Idea from Pavel Finkelshtein (@asm0dey): instead of using JS code and chevrons for hiding parts of the form, it's better to use a pure CSS approach with
<details>
/<summary>
tags: http://jsfiddle.net/thurstanh/emtAm/2/ It won't work in IE but it's OK because in this case all the parts will be visible.