picuscreative / testcafe-reporter-html

The HTML reporter for TestCafe
https://picuscreative.com/
22 stars 30 forks source link

Screenshots not displaying in report #34

Open ErinMorelli opened 4 years ago

ErinMorelli commented 4 years ago

I'm currently using version 1.4.4 and I'm not able to see screenshots in the HTML report that is generated.

This is how I have screenshots configured in my testcafe config file:

"screenshots" : {
    "takeOnFails": true,
    "path": "build/integration-tests/",
    "pathPattern": "failed_test_${TEST_INDEX}/${BROWSER}/${FILE_INDEX}.png"
  }

Is there a setting I'm missing or some other change needed to get this feature to work?