Skip to content

Commit

Permalink
fix(docs): update select snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed Jan 4, 2024
1 parent e9a6581 commit 9ca43d5
Showing 1 changed file with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -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] });
});
});

0 comments on commit 9ca43d5

Please sign in to comment.