From 9ca43d5caca6a5d1caf0f1efe118f8bc8dec377b Mon Sep 17 00:00:00 2001 From: "Debray Alize, IT16.12" Date: Thu, 4 Jan 2024 16:04:24 +0100 Subject: [PATCH] fix(docs): update select snapshots --- .../snapshots/components/select.snapshot.ts | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/packages/documentation/cypress/snapshots/components/select.snapshot.ts b/packages/documentation/cypress/snapshots/components/select.snapshot.ts index f0995c7ce2..107354d6e7 100644 --- a/packages/documentation/cypress/snapshots/components/select.snapshot.ts +++ b/packages/documentation/cypress/snapshots/components/select.snapshot.ts @@ -1,14 +1,7 @@ -const SELECTBASEURL = '/iframe.html?id=snapshots--select'; -const multiple = ['default', 'multiple']; - describe('Select', () => { - describe('multiple', () => { - multiple.forEach(multiple => { - it(multiple, () => { - cy.visit(`${SELECTBASEURL}${multiple}`); - cy.get('.form-select', { timeout: 30000 }).should('be.visible'); - cy.percySnapshot(`Selects-${multiple}`, { widths: [400] }); - }); - }); + it('default', () => { + cy.visit('/iframe.html?id=snapshots--select'); + cy.get('.form-select', { timeout: 30000 }).should('be.visible'); + cy.percySnapshot('Selects', { widths: [400] }); }); });