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

chore: Create a story for AccountApproval component #10108

Closed
wants to merge 5 commits into from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Description

This PR adds a Storybook story for the AccountApproval component. The story includes a default story with mocked data and a play function to simulate user interaction. The Redux store is mocked using the Provider decorator, and necessary data and functions are mocked to ensure the component renders correctly in isolation.

Related issues

N/A

Manual testing steps

  1. Go to the latest build of Storybook in this PR.
  2. Navigate to the AccountApproval component in the Components/ folder.

Screenshots/Recordings

N/A

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability.
  • I’ve included tests if applicable.
  • I’ve documented my code using JSDoc format if applicable.
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

This Devin run was requested by Devin: https://preview.devin.ai/devin/b66ec2b8e92543a4aaa33c781d4686b3

@devin-ai-integration devin-ai-integration bot requested a review from a team as a code owner June 25, 2024 11:15
Copy link
Contributor

CLA Signature Action:

Thank you for your submission, we really appreciate it. We ask that you read and sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just by adding a comment to this pull request with this exact sentence:

I have read the CLA Document and I hereby sign the CLA

By commenting with the above message you are agreeing to the terms of the CLA. Your account will be recorded as agreeing to our CLA so you don't need to sign it again for future contributions to this repository.

0 out of 1 committers have signed the CLA.
❌ @devin-ai-integration[bot]

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 40%)

See analysis details on SonarCloud

@github-actions github-actions bot locked and limited conversation to collaborators Jun 25, 2024
@devin-ai-integration devin-ai-integration bot deleted the devin/story-ed12cb branch June 25, 2024 12:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants