Skip to content
Snippets Groups Projects
Commit 3f3ea319 authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !26
parents 2942f702 b8828cc0
No related branches found
Tags v3.7.39
1 merge request!26Merging develop into main
Pipeline #526571 passed
......@@ -772,7 +772,9 @@ class Handler extends BaseHandler {
],
],
'scenarios' => [
'frontpage' => '/',
'frontpage' => [
'path' => '/',
],
],
];
}
......
......@@ -15,8 +15,17 @@
{% set i = 0 %}
{% for label,path in backstop.scenarios %}
{% if i > 0 %},{% endif %}{
"label": "{{ label }}",
"url": "{{ projectprotocol }}://{{ projectdomain }}{{ projectport }}{{ path }}"
"label": "{{ label }}"
,"url": "{{ projectprotocol }}://{{ projectdomain }}{{ projectport }}{{ scenario.path }}"
{% if scenario.selectors %}
,"selectors": ["{{ scenario.selectors|join('","') }}"]
{% endif %}
{% if scenario.hideSelectors %}
,"hideSelectors": ["{{ scenario.hideSelectors|join('","') }}"]
{% endif %}
{% if scenario.removeSelectors %}
,"removeSelectors": ["{{ scenario.removeSelectors|join('","') }}"]
{% endif %}
}
{% set i = i + 1 %}
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment