PrestaShop 1.7.x Smooth solution
In case somebody wants to expand Category Tree list in PrestaShop 1.7.X and can't find "aria" tags inside .tpl files.
This worked for me on 1.7.4
1. Locate file "../modules/ps_categorytree/views/templates/hook/ps_categorytree.tpl"
2. Add class "in" so you will get class="collapse in" inside where relevant. You should get something like this:
<div class="collapse in" id="exCollapsingNavbar{$node.id}"> {categories nodes=$node.children depth=$depth+1} </div>
3. Replace the "ps_categorytree.tpl" on your server and force the memory reload via Advanced Settings. This should open all your category levels in the sidebar.
4. You will see that the "+" and "-" icons are the other way round.
5. In the same file add "{if !$_collapse} aria-expanded="true"{/if}", right after the tag data-target="#exCollapsingNavbar{$node.id}", without spaces. You should get something like this:
<div class="navbar-toggler collapse-icons" data-toggle="collapse" data-target="#exCollapsingNavbar{$node.id}"{if !$_collapse} aria-expanded="true"{/if}> <i class="material-icons add"></i> <i class="material-icons remove"></i> </div>
6. Save "ps_categorytree.tpl" again, replace on your server, flush memory again and reload your site in Incognito (noCache) mode.
7. Final result with all categories opened attached.