#FEC-1572 #coment fix for test page + on ended event