Add test cases for the collapsible feature of conditional card

Bug: 119593268
Bug: 113451905
Test: robotests
Change-Id: I402f4c975531639b12c24ab8a05a20e547600721
5 files changed