From 966f2ebff40ea8caf0fd5f274d43b4262d562afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliz=C3=A9=20Debray?= <33580481+alizedebray@users.noreply.github.com> Date: Mon, 2 Oct 2023 14:26:39 +0200 Subject: [PATCH] fix(docs): show headings and icons in post cards (#2022) --- .../cypress/snapshots/components/card.snapshot.ts | 2 +- .../components/alert/alert.snapshot.stories.ts | 2 +- .../src/stories/components/button/button.stories.ts | 2 +- .../src/stories/components/card/card.stories.ts | 8 ++++---- .../src/stories/components/table/table.stories.ts | 12 ++++++------ .../src/stories/components/toast/toast.stories.ts | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/documentation/cypress/snapshots/components/card.snapshot.ts b/packages/documentation/cypress/snapshots/components/card.snapshot.ts index ae94a1e6d1..58912ee507 100644 --- a/packages/documentation/cypress/snapshots/components/card.snapshot.ts +++ b/packages/documentation/cypress/snapshots/components/card.snapshot.ts @@ -1,7 +1,7 @@ describe('Card', () => { it('default', () => { cy.visit('/iframe.html?id=snapshots--card'); - cy.get('.card', { timeout: 30000 }).should('be.visible'); + cy.get('.card post-icon', { timeout: 30000 }).should('be.visible'); cy.percySnapshot('Cards', { widths: [1440] }); }); }); diff --git a/packages/documentation/src/stories/components/alert/alert.snapshot.stories.ts b/packages/documentation/src/stories/components/alert/alert.snapshot.stories.ts index 1dde310040..a9abe74154 100644 --- a/packages/documentation/src/stories/components/alert/alert.snapshot.stories.ts +++ b/packages/documentation/src/stories/components/alert/alert.snapshot.stories.ts @@ -36,7 +36,7 @@ export const Alert: Story = { : null} ${args.icon !== 'null' ? html` -