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

test(ui): ensure title and connect wallet button render #57

Merged
merged 4 commits into from
Jan 25, 2024
Merged

Conversation

0xpatrickdev
Copy link
Member

@0xpatrickdev 0xpatrickdev commented Jan 24, 2024

What was added

closes #52
closes #53

@0xpatrickdev 0xpatrickdev marked this pull request as ready for review January 25, 2024 00:39
ui/src/App.e2e.test.tsx Outdated Show resolved Hide resolved
"prettier": "^3.2.4",
"puppeteer": "^21.9.0",
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member

@dckc dckc left a comment

Choose a reason for hiding this comment

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

cool

@0xpatrickdev 0xpatrickdev merged commit 307783b into main Jan 25, 2024
1 check passed
@0xpatrickdev 0xpatrickdev deleted the ui-test branch January 25, 2024 16:12
0xpatrickdev added a commit that referenced this pull request Feb 3, 2024
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test that the UI renders yarn start:ui results in blank screen
2 participants