list.js; fix a bug on show/hide all buttons

Add some tests on it.
Link to #3951
12 jobs for feature-c/3951-displaying-all-sub-clones-does-not-work in 9 minutes and 12 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test Tools
passed #423720
test_tools

00:00:07

 
  Test Quality
passed #423721
web
code_quality

00:00:09

 
  Test Unit
passed #423722
web
test_browser_unit

00:00:30

 
  Deploy Review
passed #423723
web
deploy_review

00:00:16

passed #423724
web manual
stop_deploy_review

00:00:07

 
  Test Functional
passed #423725
web
test_browser-functional

00:04:32

passed #423730
legacy
test_legacy-browser-functional

00:01:38

failed #423729
legacy
test_legacy-browser-functional

00:01:59

failed #423726
legacy
test_legacy-browser-functional

00:01:50

 
  Test Functional External
passed #423727
web
test_browser-functional-external

00:02:31

passed #423732
legacy
test_legacy-browser-functional-external

00:00:58

failed #423728
legacy
test_legacy-browser-functional-external

00:00:49