Fix an assertion about view content on functional tests