From faff273a0925b689c62c7636350ff6d8cf0aa1de Mon Sep 17 00:00:00 2001 From: Dave Lockhart Date: Thu, 21 Nov 2024 09:32:23 -0500 Subject: [PATCH] timeouts --- components/filter/test/filter.vdiff.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/filter/test/filter.vdiff.js b/components/filter/test/filter.vdiff.js index 4beb053c7a..e54b118f85 100644 --- a/components/filter/test/filter.vdiff.js +++ b/components/filter/test/filter.vdiff.js @@ -271,6 +271,7 @@ describe('filter', () => { await nextFrame(); await clickElem(elem.shadowRoot.querySelector('[text="Clear"]')); await hoverAt(0, 0); + await aTimeout(500); await expect(elem).to.be.golden(); }); }); @@ -314,6 +315,7 @@ describe('filter', () => { await clickElem(elem.shadowRoot.querySelector('[text="Clear"]')); await hoverAt(0, 0); + await aTimeout(300); await expect(elem).to.be.golden(); }); @@ -322,6 +324,7 @@ describe('filter', () => { await clickElem(elem.shadowRoot.querySelector('[text="Clear"]')); await hoverAt(0, 0); + await aTimeout(300); await expect(elem).to.be.golden(); }); @@ -330,12 +333,14 @@ describe('filter', () => { await clickElem(elem.shadowRoot.querySelector('d2l-list-item')); await clickElem(elem.shadowRoot.querySelector('d2l-list-item[label="Custom date range, expand to choose dates"]')); await hoverAt(0, 0); + await aTimeout(300); await expect(elem).to.be.golden(); }); it('open custom date input', async() => { const elem = await fixture(createSingleDimDateCustom({ customSelected: true, startValue: '2018-02-12T05:00:00.000Z', opened: true })); elem.shadowRoot.querySelector('d2l-list-item[label="Custom date range, expand to choose dates"]').querySelector('d2l-input-date-time-range').setAttribute('start-opened', 'start-opened'); + await aTimeout(500); await expect(elem).to.be.golden(); });