[desktop] Fix test by using a non deprecated view