Skip to content
Snippets Groups Projects
backstop.json.twig 961 B
Newer Older
  • Learn to ignore specific revisions
  • jurgenhaas's avatar
    jurgenhaas committed
      "id": "{{ backstop.id }}",
    
      "viewports": [
    
    {% set i = 0 %}
    {% for label,viewport in backstop.viewports %}
      {% if i > 0 %},{% endif %}{
        "label": "{{ label }}",
        "width": {{ viewport.width }},
        "height": {{ viewport.width }}
      }
    {% set i = i + 1 %}
    {% endfor %}
    
      ],
      "scenarios": [
    
    {% set i = 0 %}
    {% for label,path in backstop.scenarios %}
      {% if i > 0 %},{% endif %}{
        "label": "{{ label }}",
        "url": "{{ projectprotocol }}://{{ projectdomain }}{{ projectport }}{{ path }}"
      }
    {% set i = i + 1 %}
    {% endfor %}
    
      ],
      "paths": {
        "bitmaps_reference": "backstop_data/bitmaps_reference",
        "bitmaps_test": "backstop_data/bitmaps_test",
        "html_report": "backstop_data/html_report",
        "ci_report": "backstop_data/ci_report"
      },
      "report": ["browser"],
      "engine": "puppeteer",
      "engineOptions": {
        "args": ["--no-sandbox"]
      },
    
      "asyncCaptureLimit": 1,
    
      "asyncCompareLimit": 50,
      "debug": false,
      "debugWindow": false
    }