Fix failing preview functional test on CI