-
Notifications
You must be signed in to change notification settings - Fork 97
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
Sign Transaction UI Test #1172
Sign Transaction UI Test #1172
Conversation
Preview is available here: |
Preview is available here: |
Preview is available here: |
await expect(page.getByRole("listitem")).toHaveCount(6); | ||
|
||
// Exit out of the wallet extension modal | ||
await page.click("body", { position: { x: 10, y: 10 } }); |
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.
This test will break if the close button position changes, but style changes shouldn't affect the tests. We can't use a class selector? Something like page.locator(".wallets-header__button")
.
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.
it's more of a clicking outside of the modal
Preview is available here: |
Sign Transaction UI Test
For
Ledgers
andWallet Extension
, it checks its happy path - making sure the dropdown works and trezor to open the new link. Ledger opens an extension so i skipped the new tab flow for ledger. Wallet Extension checks to make sure the modal pops up and it lists 6 wallets that it supports.