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

Fix nft test state #17981

Merged
merged 5 commits into from
Mar 7, 2023
Merged

Fix nft test state #17981

merged 5 commits into from
Mar 7, 2023

Conversation

tmashuang
Copy link
Contributor

@tmashuang tmashuang commented Mar 3, 2023

Explanation

Adjust nft mock state to better match prod state.

Screenshots/Screencaps

Before

After

Manual Testing Steps

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.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 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.

@metamaskbot
Copy link
Collaborator

Builds ready [e2a242f]
Page Load Metrics (1766 ± 80 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1043221344522
domContentLoaded14172127172015373
load14182127176616780
domInteractive14172127172015373
Bundle size diffs
  • background: 0 bytes
  • ui: 0 bytes
  • common: 0 bytes

@tmashuang tmashuang marked this pull request as ready for review March 5, 2023 23:06
@tmashuang tmashuang requested a review from a team as a code owner March 5, 2023 23:06
@tmashuang tmashuang requested a review from digiwand March 5, 2023 23:06
Copy link
Contributor

@digiwand digiwand left a comment

Choose a reason for hiding this comment

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

@tmashuang
Copy link
Contributor Author

tmashuang commented Mar 6, 2023

@digiwand Correct me if I am wrong, I thought that the e2e tests uses fixture state that is totally separate from the mock-state.json that we use for unit tests ie test/e2e/fixture-builder.js.

Regardless, the newly added erc1155 test seems to have introduced more flaky tests. There is a related, in-progress fix for that specific collection toggle, #17972, that might fix the flaky tests we seen. Will keep an 👀 on that to see if that fixes it.

@digiwand
Copy link
Contributor

digiwand commented Mar 6, 2023

@tmashuang gotchya, thanks for the info! In that case, giving this the green light for when tests pan out

@metamaskbot
Copy link
Collaborator

Builds ready [fcf9c47]
Page Load Metrics (1581 ± 45 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint94152122168
domContentLoaded13031757155210048
load1408178215819445
domInteractive13031757155210048
Bundle size diffs
  • background: 0 bytes
  • ui: 0 bytes
  • common: 0 bytes

@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Merging #17981 (fcf9c47) into develop (c8e8db2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop   #17981   +/-   ##
========================================
  Coverage    63.44%   63.44%           
========================================
  Files          903      903           
  Lines        35267    35267           
  Branches      8920     8920           
========================================
  Hits         22373    22373           
  Misses       12894    12894           

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

@darkwing darkwing merged commit 786a74d into develop Mar 7, 2023
@darkwing darkwing deleted the fix-test-state branch March 7, 2023 14:46
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2023
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.

4 participants