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

feat(ui-test): cover reject signing #1677

Merged
merged 1 commit into from
Dec 28, 2023
Merged

feat(ui-test): cover reject signing #1677

merged 1 commit into from
Dec 28, 2023

Conversation

arein
Copy link
Member

@arein arein commented Dec 28, 2023

We were covering successful signing. This now also covers the wallet rejecting the sign request.

Changes

  • feat(ui-test): cover reject signing

Associated Issues

closes #...

Copy link

vercel bot commented Dec 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
web3modal-gallery ✅ Ready (Inspect) Visit Preview Dec 28, 2023 10:29pm
web3modal-laboratory ✅ Ready (Inspect) Visit Preview Dec 28, 2023 10:29pm
web3modal-react-wagmi-ex ✅ Ready (Inspect) Visit Preview Dec 28, 2023 10:29pm
web3modal-vue-wagmi-ex ✅ Ready (Inspect) Visit Preview Dec 28, 2023 10:29pm

Copy link
Contributor

@tomiir tomiir left a comment

Choose a reason for hiding this comment

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

Thanks for the comments 🙏

@arein arein merged commit 0825fcf into V3 Dec 28, 2023
12 checks passed
@arein arein deleted the feat/reject-sign branch December 28, 2023 22:40
@@ -13,6 +14,12 @@ export class ModalValidator {
}

async expectAcceptedSign() {
await expect(this.page.getByText('Success')).toBeVisible()
// We use Chakra Toast and it's not quite straightforward to set the `data-testid` attribute on the toast element.
Copy link
Member

Choose a reason for hiding this comment

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

If you can select by css class or another element pattern that would work too

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.

None yet

3 participants