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(Datagrid): add test coverage for new hook #3879

Conversation

matthewgallo
Copy link
Member

Note: #3861 Should be reviewed/merged first

Contributes to #3821

Adds test coverage to new expander hooks to keep focus when applicable.

What did you change?

packages/ibm-products/src/components/Datagrid/Datagrid.test.js

How did you test and verify your work?

Storybook and made sure all tests pass and meet coverage requirements

@matthewgallo matthewgallo requested a review from a team as a code owner November 30, 2023 21:36
Copy link

netlify bot commented Nov 30, 2023

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit b9cb90b
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/656ddf5d582ca20008f67a10
😎 Deploy Preview https://deploy-preview-3879--carbon-for-ibm-products.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.

davidmenendez
davidmenendez previously approved these changes Dec 1, 2023
);
const row = bodyRows[rowNumber];

const rowExpander = row.querySelector(`button[aria-label="Expand row"]`);
fireEvent.click(rowExpander);
const rowExpander = within(row).getByLabelText('Expand row');
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL 😳

@elycheea elycheea added this pull request to the merge queue Dec 4, 2023
Merged via the queue into carbon-design-system:main with commit 1a0ba55 Dec 4, 2023
12 checks passed
paul-balchin-ibm pushed a commit to paul-balchin-ibm/ibm-products that referenced this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants