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(cli): warp commands e2e tests #5121

Merged
merged 41 commits into from
Jan 22, 2025
Merged

Conversation

xeno097
Copy link
Contributor

@xeno097 xeno097 commented Jan 7, 2025

Description

This PR tries to e2e test multiple use cases with warp commands to ensure that future changes that might break or change the commands' behavior are detected early.

Drive-by changes

  • fixes skipConfirmation propagation in signer strategy code
  • move the warp e2e tests into the test/warp folder

Related issues

Backward compatibility

  • YES

Testing

  • Manual
  • E2E

Copy link

changeset-bot bot commented Jan 7, 2025

⚠️ No Changeset found

Latest commit: 1a6eaeb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@xeno097 xeno097 requested a review from paulbalaji January 9, 2025 16:46
wbtc-ethereum-form.yaml Outdated Show resolved Hide resolved
typescript/cli/src/tests/commands/helpers.ts Outdated Show resolved Hide resolved
@xeno097 xeno097 requested a review from jmrossy January 14, 2025 20:27
Copy link
Member

@yorhodes yorhodes left a comment

Choose a reason for hiding this comment

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

the new test coverage is great but I think we can significantly dedupe some of the test scaffolding and make the diff here much smaller/more extensible to new token types etc

typescript/cli/src/tests/warp/warp-check.e2e-test.ts Outdated Show resolved Hide resolved
typescript/cli/src/tests/warp/warp-deploy.e2e-test.ts Outdated Show resolved Hide resolved
typescript/cli/src/tests/warp/warp-deploy.e2e-test.ts Outdated Show resolved Hide resolved
@xeno097 xeno097 requested a review from yorhodes January 21, 2025 14:44
Copy link
Member

@yorhodes yorhodes left a comment

Choose a reason for hiding this comment

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

still definitely feel like lots of opportunity to dedupe but lets just keep in mind extensibility of tests like this going forward

@xeno097 xeno097 added this pull request to the merge queue Jan 21, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 21, 2025
@paulbalaji paulbalaji added this pull request to the merge queue Jan 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 22, 2025
@paulbalaji paulbalaji enabled auto-merge January 22, 2025 11:41
@paulbalaji paulbalaji added this pull request to the merge queue Jan 22, 2025
Merged via the queue into main with commit 9e38617 Jan 22, 2025
42 checks passed
@paulbalaji paulbalaji deleted the xeno/warp-commands-e2e-tests branch January 22, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants