Fix the title check in a dashboard test