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

Fixing FormTextField test #17939

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Fixing FormTextField test #17939

merged 1 commit into from
Mar 6, 2023

Conversation

georgewrmarshall
Copy link
Contributor

@georgewrmarshall georgewrmarshall commented Mar 1, 2023

Explanation

A test was creating an error in the console in FormTextField

Screenshots/Screencaps

Before

Screenshot 2023-02-28 at 4 46 00 PM

Screenshot 2023-02-28 at 4 45 13 PM

Screenshot 2023-02-28 at 4 44 33 PM

After

Screenshot 2023-02-28 at 4 42 01 PM

Tests are fixed

Screenshot 2023-02-28 at 4 48 30 PM

Manual Testing Steps

  • Go to the storybook build on this branch
  • Search FormTextField in the search bar
  • Check HelpText story works with error or use the controls to turn error on while there is some HelpText

For tests check the CI unit test build or pull this branch and run

yarn jest ui/components/component-library

And check the console is all greeeen 🍏 📗 🟢

Pre-merge author checklist

  • I've clearly explained:
    • What problem this PR is solving
    • How this problem was solved
    • How reviewers can test my changes
  • Sufficient automated test coverage has been added

Pre-merge reviewer checklist

  • Manual testing (e.g. pull and build branch, run in browser, test code being changed)
  • PR is linked to the appropriate GitHub issue
  • IF this PR fixes a bug in the release milestone, add this PR to the release milestone

If further QA is required (e.g. new feature, complex testing steps, large refactor), add the Extension QA Board label.

In this case, a QA Engineer approval will be be required.

@georgewrmarshall georgewrmarshall added type-bug area-UI Relating to the user interface. team-design-system All issues relating to design system in Extension labels Mar 1, 2023
@georgewrmarshall georgewrmarshall self-assigned this Mar 1, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2023

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@georgewrmarshall georgewrmarshall force-pushed the fix/form-text-field branch 4 times, most recently from 473a6e9 to 33bdedb Compare March 2, 2023 21:18
@metamaskbot
Copy link
Collaborator

Builds ready [42bfdb9]
Page Load Metrics (2001 ± 140 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1042481604019
domContentLoaded157126071961289139
load157927392001293140
domInteractive157126071961289139
Bundle size diffs
  • background: 0 bytes
  • ui: -8 bytes
  • common: 0 bytes

@georgewrmarshall georgewrmarshall marked this pull request as ready for review March 6, 2023 02:59
@georgewrmarshall georgewrmarshall requested a review from a team as a code owner March 6, 2023 02:59
@georgewrmarshall georgewrmarshall requested review from montelaidev, NidhiKJha and garrettbear and removed request for montelaidev March 6, 2023 02:59
@georgewrmarshall georgewrmarshall changed the title Fixing FormTextField props and test Fixing FormTextField test Mar 6, 2023
@metamaskbot
Copy link
Collaborator

Builds ready [e5521f1]
Page Load Metrics (1591 ± 48 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint933081234823
domContentLoaded12991746155110550
load13801808159110148
domInteractive12991746155110550
Bundle size diffs
  • background: 0 bytes
  • ui: 0 bytes
  • common: 0 bytes

@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Merging #17939 (e5521f1) into develop (c8e8db2) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop   #17939      +/-   ##
===========================================
+ Coverage    63.44%   63.45%   +0.01%     
===========================================
  Files          903      903              
  Lines        35267    35267              
  Branches      8920     8920              
===========================================
+ Hits         22373    22376       +3     
+ Misses       12894    12891       -3     
Impacted Files Coverage Δ
app/scripts/metamask-controller.js 60.18% <0.00%> (+0.25%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@georgewrmarshall georgewrmarshall merged commit abff495 into develop Mar 6, 2023
@georgewrmarshall georgewrmarshall deleted the fix/form-text-field branch March 6, 2023 23:45
@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-UI Relating to the user interface. team-design-system All issues relating to design system in Extension type-bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants