-
Notifications
You must be signed in to change notification settings - Fork 5
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(ui): ensure title and connect wallet button render #57
Conversation
"prettier": "^3.2.4", | ||
"puppeteer": "^21.9.0", |
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.
hm. Let's not forget that dapp-offer-up is supposed to be simple. I'm a little afraid that readers are going to get overwhelmed by some of this stuff. On the other hand, it's the only sane way to be sure we're not breaking things.
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.
Good points. In d3b726c I moved the test to /test
so it's less prominent. Also have it only running on yarn test:e2e
, instead of yarn test
.
Maybe this sort of test is best for a react-scripts
-esque library that this eventually depends on.
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.
cool
- there was a regression in #57 that broke `makeAgoricChainStorageWatcher` - it needs to take an apiUrl instead of rpc - `makeAgoricWalletConnection` needs an rpc to work, and an api endpoint, so this change brings it up to date with the new @agoric/rpc changes
What was added
@testing-library/react
, to ensure buttons and header renderpuppeteer
, to generate a failing test case foryarn start:ui
results in blank screen #52ses
to0.18.8
to addressyarn start:ui
results in blank screen #52@agoric/rpc
for esm support (required forvitest
)closes #52
closes #53