tests for share dialog showing legends and layer-selector depending the number of layers in the visualization - CDB-881 CDB-880 #resolve