-
Notifications
You must be signed in to change notification settings - Fork 146
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
refactor: fund test migrate, closes #4187 #4191
Conversation
357c4e1
to
2ec62bd
Compare
2ec62bd
to
befe8cc
Compare
e2d6c95
to
f11eb20
Compare
hm, very weird, fund tests are passing locally |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM - nice work 👍
About the fails, I remember we had an issue loading the providers.json
sometimes.
Maybe it would be better to mock this, or at least the values we need for the tests?
We could have one test of loading that file if we really want but then the other tests will be more reliable and probably faster
tests/selectors/home.selectors.ts
Outdated
@@ -9,4 +9,5 @@ export enum HomePageSelectors { | |||
ActivityTabBtn = 'tab-activity', | |||
BalancesTabBtn = 'tab-balances', | |||
SwapBtn = 'swap-btn', | |||
BtnFundAccount = 'btn-fund-account', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we decided it reads better to keep them FundAccountBtn
moving fwd?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have been needing to rerun tests the last few days with the sign in being flakey, not sure why. Rerunning the failed tests here to see if pass.
f11eb20
to
5be81b1
Compare
What's the |
Yes, you're right, sorry. I meant that the We could check if this code is working in the tests:
Or just mock |
2b2604f
to
1a1e657
Compare
hmm, feel like last commit fixed it |
See title