Skip to content

Commit e1d58ed

Browse files
committed
check for default config express in algolia
1 parent 1e1dc59 commit e1d58ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/docs/smoke-all/website-search/algolia-with-consent/index.qmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ _quarto:
1515
- '"cookie-consent-enabled":\s*true'
1616
# Scripts should be deferred with cookie-consent attribute
1717
- 'type="text/plain"[^>]*cookie-consent="tracking"[^>]*>[\s\S]*search-insights'
18+
# Default type should be express
19+
- 'cookieconsent.run\(\{[^}]*"consent_type":"express"'
1820
---
1921

2022
This test verifies that when `cookie-consent` is configured in the website settings:

0 commit comments

Comments
 (0)