From fdee48284b3087089ea55646c91bbe9b5ab46cf1 Mon Sep 17 00:00:00 2001 From: ghazal-salehi <126438691+ghazal-salehi@users.noreply.github.com> Date: Thu, 10 Aug 2023 11:29:00 +1000 Subject: [PATCH] Release v4.2.3 (#1056) --- e2e/__tests__/components/accordion-test.js | 2 +- e2e/__tests__/components/alert-test.js | 2 +- e2e/__tests__/components/call-out-box-test.js | 2 +- e2e/__tests__/components/carousel-test.js | 2 +- e2e/__tests__/components/facebook-feed-test.js | 2 +- e2e/__tests__/components/funnelback-search-test.js | 2 +- e2e/__tests__/components/quick-exit-test.js | 2 +- e2e/__tests__/components/twitter-feed-test.js | 2 +- e2e/__tests__/layout/footer-feedback-test.js | 2 +- e2e/__tests__/layout/header-sm-screen-test.js | 2 +- .../_project/_blocks/components/site-search/qg-site-search.js | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/e2e/__tests__/components/accordion-test.js b/e2e/__tests__/components/accordion-test.js index 2c8f0c49a..20dc790d8 100644 --- a/e2e/__tests__/components/accordion-test.js +++ b/e2e/__tests__/components/accordion-test.js @@ -4,7 +4,7 @@ let browser; let page; beforeAll(async () => { - browser = await puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); + browser = await puppeteer.launch({headless: "new", args: ['--no-sandbox', '--disable-setuid-sandbox']}); page = await browser.newPage(); await page.setViewport({ width: ct.BT_XL, height: ct.WH }); }); diff --git a/e2e/__tests__/components/alert-test.js b/e2e/__tests__/components/alert-test.js index 67791bb00..f8266cdc4 100644 --- a/e2e/__tests__/components/alert-test.js +++ b/e2e/__tests__/components/alert-test.js @@ -4,7 +4,7 @@ let browser; let page; beforeAll(async () => { - browser = await puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); + browser = await puppeteer.launch({headless: "new", args: ['--no-sandbox', '--disable-setuid-sandbox']}); page = await browser.newPage(); await page.setViewport({ width: ct.BT_XL, height: ct.WH }); }); diff --git a/e2e/__tests__/components/call-out-box-test.js b/e2e/__tests__/components/call-out-box-test.js index d1703ec3d..eecac508a 100644 --- a/e2e/__tests__/components/call-out-box-test.js +++ b/e2e/__tests__/components/call-out-box-test.js @@ -4,7 +4,7 @@ let browser; let page; beforeAll(async () => { - browser = await puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); + browser = await puppeteer.launch({headless: "new", args: ['--no-sandbox', '--disable-setuid-sandbox']}); page = await browser.newPage(); await page.setViewport({ width: ct.BT_XL, height: ct.WH }); }); diff --git a/e2e/__tests__/components/carousel-test.js b/e2e/__tests__/components/carousel-test.js index 83323469f..0ebdcf233 100644 --- a/e2e/__tests__/components/carousel-test.js +++ b/e2e/__tests__/components/carousel-test.js @@ -4,7 +4,7 @@ let browser; let page; beforeAll(async () => { - browser = await puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); + browser = await puppeteer.launch({headless: "new", args: ['--no-sandbox', '--disable-setuid-sandbox']}); page = await browser.newPage(); await page.setViewport({ width: ct.BT_XL, height: ct.WH }); await page.goto(`${ct.APP_URL}/docs/components/carousel.html`, { waitUntil: 'networkidle0' }); diff --git a/e2e/__tests__/components/facebook-feed-test.js b/e2e/__tests__/components/facebook-feed-test.js index cccb421ad..0e2adea52 100644 --- a/e2e/__tests__/components/facebook-feed-test.js +++ b/e2e/__tests__/components/facebook-feed-test.js @@ -4,7 +4,7 @@ let browser; let page; beforeAll(async () => { - browser = await puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); + browser = await puppeteer.launch({headless: "new", args: ['--no-sandbox', '--disable-setuid-sandbox']}); page = await browser.newPage(); await page.setViewport({ width: ct.BT_XL, height: ct.WH }); await page.goto(`${ct.APP_URL}/docs/components/facebook-feed.html`, { waitUntil: 'networkidle0' }); diff --git a/e2e/__tests__/components/funnelback-search-test.js b/e2e/__tests__/components/funnelback-search-test.js index 6a26404d4..4d4a0bc7b 100644 --- a/e2e/__tests__/components/funnelback-search-test.js +++ b/e2e/__tests__/components/funnelback-search-test.js @@ -4,7 +4,7 @@ let browser; let page; beforeAll(async () => { - browser = await puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); + browser = await puppeteer.launch({headless: "new", args: ['--no-sandbox', '--disable-setuid-sandbox']}); page = await browser.newPage(); await page.setViewport({ width: ct.BT_XL, height: ct.WH }); await page.goto(`${ct.APP_URL}/docs/components.html`, { waitUntil: 'networkidle0' }); diff --git a/e2e/__tests__/components/quick-exit-test.js b/e2e/__tests__/components/quick-exit-test.js index be5f5e617..e66f0b596 100644 --- a/e2e/__tests__/components/quick-exit-test.js +++ b/e2e/__tests__/components/quick-exit-test.js @@ -4,7 +4,7 @@ let browser; let page; beforeAll(async () => { - browser = await puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); + browser = await puppeteer.launch({headless: "new", args: ['--no-sandbox', '--disable-setuid-sandbox']}); page = await browser.newPage(); await page.setViewport({ width: ct.BT_XL, height: ct.WH }); await page.goto(`${ct.APP_URL}/docs/components/quick-exit.html`, { waitUntil: 'networkidle0' }); diff --git a/e2e/__tests__/components/twitter-feed-test.js b/e2e/__tests__/components/twitter-feed-test.js index 865916d4e..598b56b15 100644 --- a/e2e/__tests__/components/twitter-feed-test.js +++ b/e2e/__tests__/components/twitter-feed-test.js @@ -4,7 +4,7 @@ let browser; let page; jest.setTimeout(40000); beforeAll(async () => { - browser = await puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); + browser = await puppeteer.launch({headless: "new", args: ['--no-sandbox', '--disable-setuid-sandbox']}); page = await browser.newPage(); await page.setViewport({ width: ct.BT_XL, height: ct.WH }); await page.goto(`${ct.APP_URL}/docs/components/twitter-feed.html`, { waitUntil: 'networkidle0' }); diff --git a/e2e/__tests__/layout/footer-feedback-test.js b/e2e/__tests__/layout/footer-feedback-test.js index 3b2fb5df0..bb11f2167 100644 --- a/e2e/__tests__/layout/footer-feedback-test.js +++ b/e2e/__tests__/layout/footer-feedback-test.js @@ -4,7 +4,7 @@ const ct = require('../../config/constants'); let browser; let page; beforeAll(async () => { - browser = await puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); + browser = await puppeteer.launch({headless: "new", args: ['--no-sandbox', '--disable-setuid-sandbox']}); page = await browser.newPage(); await page.setViewport({ width: ct.BT_XL, height: ct.WH }); await page.goto(`${ct.APP_URL}/docs/components.html`, { waitUntil: 'networkidle0' }); diff --git a/e2e/__tests__/layout/header-sm-screen-test.js b/e2e/__tests__/layout/header-sm-screen-test.js index b3c1bb935..fa2fd65d1 100644 --- a/e2e/__tests__/layout/header-sm-screen-test.js +++ b/e2e/__tests__/layout/header-sm-screen-test.js @@ -4,7 +4,7 @@ const ct = require('../../config/constants'); let browser; let page; beforeAll(async () => { - browser = await puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']}); + browser = await puppeteer.launch({headless: "new", args: ['--no-sandbox', '--disable-setuid-sandbox']}); page = await browser.newPage(); await page.setViewport({ width: ct.BT_SM, height: ct.WH }); await page.goto(`${ct.APP_URL}/docs/components.html`, { waitUntil: 'networkidle0' }); diff --git a/src/assets/_project/_blocks/components/site-search/qg-site-search.js b/src/assets/_project/_blocks/components/site-search/qg-site-search.js index 578a549e8..f46c7e178 100644 --- a/src/assets/_project/_blocks/components/site-search/qg-site-search.js +++ b/src/assets/_project/_blocks/components/site-search/qg-site-search.js @@ -383,7 +383,7 @@ $(function () { if (allResults.length > 0) { var filteredResults = allResults.filter(function (result) { if (result['listMetadata'] != null && result['listMetadata']['sfinder'] != null) { - return result['listMetadata']['sfinder'] === 'yes'; + return result['listMetadata']['sfinder'][0] === 'yes'; } else { return false; }