Limitations in rendering result in previews that are not adequate representations of test candidates

Found in

EPiServer.Marketing.Testing 2.5.7

Fixed in

EPiServer.Marketing.Testing 2.5.8


Mar 18, 2019


Apr 02, 2019


Closed, Fixed and tested


The tool used by A/B to generate preview images has a known limitation with regard to how it renders the page for an image. At the present time, it does not respect media queries that appear as attributes on link elements (e.g . <link href="print.css" rel="stylesheet" media="print" />). However, the tool will respect media queries that are defined within the CSS.

Similarly, it fails to render images defined with a 'srcset'.

Steps to reproduce:

  • Create an A/B test for a page that leverages any of the two approaches described above.

Expected result:

  • A/B renders a preview of the candidate that is a reasonable representation of the candidate.

Actual result:

  • A/B is rendering pages that differ substantially from the expectation.