lib/html_formatter.js
function isAfterStepWithScreenshot(step) {
        return step.keyword.trim() === 'After' && step.embeddings && step.embeddings[0] && step.embeddings[0].mime_type === 'image/png';
    }
function isAfterStepWithScreenshot(step) {
        return step.keyword.trim() === 'After' && step.embeddings && step.embeddings[0] && step.embeddings[0].mime_type === 'image/png';
    }
function isAfterStepWithScreenshot ( step ) { return step . keyword . trim ( ) === 'After' && step . embeddings && step . embeddings [ 0 ] && step . embeddings [ 0 ] . mime_type === 'image/png' ; }
Checks if the step is an After step containing a screenshot
@param step - object which contains step data
@returns boolean
Checks if the step is an After step containing a screenshot