Skip to content

Commit

Permalink
Merge pull request #809 from City-of-Helsinki/UHF-9126_fix-false-posi…
Browse files Browse the repository at this point in the history
…tives

UHF-9126 fix false positives
  • Loading branch information
dire authored Oct 24, 2023
2 parents 5c125ee + e2d5666 commit 0865c8b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions backstop_data/backstop_dynamic_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ function getConfig(hostname, type) {
'.breadcrumb__container',
'.block--react-and-share',
'.footer',
'.sliding-popup-bottom'
'.sliding-popup-bottom',
'iframe',
];

// All of our breakpoints
Expand Down Expand Up @@ -239,7 +240,7 @@ function getConfig(hostname, type) {
'url': `https://${hostname}/en/dc-components/dc-announcements`,
'removeSelectors': removeDefault,
'selectors': [
'.block-hdbt-subtheme-announcements'
'#block-hdbt-subtheme-announcements'
],
'selectorExpansion': expandComponents,
},
Expand Down Expand Up @@ -369,6 +370,9 @@ function getConfig(hostname, type) {
'label': 'DC: Phasing',
'url': `https://${hostname}/en/dc-components/dc-phasing`,
'removeSelectors': removeDefault,
'selectors': [
'.components'
],
'selectorExpansion': expandComponents,
},
{
Expand Down Expand Up @@ -412,7 +416,7 @@ function getConfig(hostname, type) {
'url': `https://${hostname}/en/dc-components/dc-text`,
'removeSelectors': removeDefault,
'selectors': [
'.component--paragraph-text'
'.components'
],
'selectorExpansion': expandComponents,
},
Expand Down

0 comments on commit 0865c8b

Please sign in to comment.