From 70fdba191e091227ed1adc0f011e27556349f166 Mon Sep 17 00:00:00 2001 From: Richard McCarthy Date: Fri, 6 Sep 2024 11:10:45 +0100 Subject: [PATCH] test --- src/components/video/video.spec.js | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/video/video.spec.js b/src/components/video/video.spec.js index 4a19f49fd4..d7fe8edd31 100644 --- a/src/components/video/video.spec.js +++ b/src/components/video/video.spec.js @@ -122,20 +122,20 @@ describe('script: video', () => { }, 10000); }); - describe('Vimeo videos', () => { - beforeEach(async () => { - await setTestPage( - '/test', - `${renderComponent('video', EXAMPLE_VIDEO_VIMEO)} -
`, - ); - await page.click('.ons-js-accept-cookies'); - }); - - it('should add dnt', async () => { - const src = await page.$eval('.ons-js-video-iframe', (node) => node.getAttribute('src')); - expect(src.includes('?dnt=1')).toBe(true); - }, 10000); - }); + // describe('Vimeo videos', () => { + // beforeEach(async () => { + // await setTestPage( + // '/test', + // `${renderComponent('video', EXAMPLE_VIDEO_VIMEO)} + //
`, + // ); + // await page.click('.ons-js-accept-cookies'); + // }); + + // it('should add dnt', async () => { + // const src = await page.$eval('.ons-js-video-iframe', (node) => node.getAttribute('src')); + // expect(src.includes('?dnt=1')).toBe(true); + // }, 10000); + // }); }); });