Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(e2e-storybook): fix feature-card e2e skipped tests and make them… #12130

Merged

Conversation

bruno-amorim
Copy link
Contributor

@bruno-amorim bruno-amorim commented Nov 28, 2024

… valid

Related Ticket(s)

Closes #
/issues/12121

Description

The e2e-storybook tests have been failing for quite awhile. The tests do not appear to have been updated for v2. In many cases, the tests are using the old v1 prefixes.

The goal here is:

  • Fix all skipped tests and align them with what we have in v2.

Changelog

New

  • Updated e2e-storybook for feature-card component so that all skipped tests are now running and correctly and doing the proper checkage

Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for ibm-dotcom-web-components ready!

Name Link
🔨 Latest commit b959333
🔍 Latest deploy log https://app.netlify.com/sites/ibm-dotcom-web-components/deploys/674e25ff0b3faf0008a01623
😎 Deploy Preview https://deploy-preview-12130--ibm-dotcom-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for ibm-dotcom-web-components-react-wrap ready!

Name Link
🔨 Latest commit b959333
🔍 Latest deploy log https://app.netlify.com/sites/ibm-dotcom-web-components-react-wrap/deploys/674e25ffb01c040008eef80b
😎 Deploy Preview https://deploy-preview-12130--ibm-dotcom-web-components-react-wrap.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -96,7 +96,7 @@ export const Large = (args) => {
</c4d-image>
<c4d-card-eyebrow>${eyebrow}</c4d-card-eyebrow>
<c4d-card-heading>${heading}</c4d-card-heading>
${copy && html`<p></p>`}
${copy ? html`<p>${copy}</p>` : ''}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the storybook the large variation wasn't having a paragraph with copy, it was empty instead. As per Figma this large variation always has a copy, so I added that conditionally for our tests to correctly do their checkage. Thanks!

Copy link
Contributor

@m4olivei m4olivei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Nice work.

@andy-blum andy-blum added the Ready to merge Label for the pull requests that are ready to merge label Dec 2, 2024
@kodiakhq kodiakhq bot merged commit 41999ed into carbon-design-system:main Dec 2, 2024
24 checks passed
deathcave pushed a commit to deathcave/carbon-for-ibm-dotcom that referenced this pull request Dec 4, 2024
carbon-design-system#12130)

… valid

### Related Ticket(s)

Closes # 
[carbon-design-system/issues/12121](carbon-design-system#12121)

### Description

The e2e-storybook tests have been failing for quite awhile. The tests do not appear to have been updated for v2. In many cases, the tests are using the old v1 prefixes.

The goal here is:

- Fix all skipped tests and align them with what we have in v2.

### Changelog

**New**

- Updated e2e-storybook for feature-card component so that all skipped tests are now running and correctly and doing the proper checkage
andy-blum pushed a commit that referenced this pull request Dec 4, 2024
#12130)

… valid

### Related Ticket(s)

Closes # 
[/issues/12121](#12121)

### Description

The e2e-storybook tests have been failing for quite awhile. The tests do not appear to have been updated for v2. In many cases, the tests are using the old v1 prefixes.

The goal here is:

- Fix all skipped tests and align them with what we have in v2.

### Changelog

**New**

- Updated e2e-storybook for feature-card component so that all skipped tests are now running and correctly and doing the proper checkage
@andy-blum andy-blum mentioned this pull request Dec 4, 2024
kodiakhq bot pushed a commit that referenced this pull request Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants