Skip to content

test: unskip e2e meta-tx transferAuthorizations tests#1031

Merged
zajck merged 1 commit into
mainfrom
unskip-skipped-tests
May 25, 2026
Merged

test: unskip e2e meta-tx transferAuthorizations tests#1031
zajck merged 1 commit into
mainfrom
unskip-skipped-tests

Conversation

@zajck

@zajck zajck commented May 25, 2026

Copy link
Copy Markdown
Member

Summary

Re-enables 13 e2e tests that were silently left skipped on `main`:

  • `e2e/tests/core-sdk-token-auth.test.ts` — the entire `meta-tx with transfer authorizations` describe block (12 tests: ERC3009 / EIP2612 / Permit2 × commitToOffer / commitToConditionalOffer / commitToBuyerOffer / createOfferAndCommit).
  • `e2e/tests/meta-tx.test.ts` — `with transferAuthorizations (ERC3009): signed by buyer, paid by random funded wallet`.

Also reverts `e2e/docker-compose.yml` meta-tx-gateway image tag from `bump-common-alpha-5` back to `:main` now that the `bytes[]` transferAuthorizations support is on the gateway repo's main.

Why these were skipped

PR #1030 added `.skip` to these tests because the contracts-bump branch (which shipped the new `bytes[]` ABI) could not pass them against the old meta-tx-gateway image. PR #1029 was supposed to un-skip them in the same commit that dropped the `encodeTransferAuthorizationQueue` wrapper.

The un-skips never made it onto `main`. PR #1030 was squash-merged first, putting the skip lines on main. PR #1029 was then squash-merged with a diff computed against the pre-#1030 merge-base — its add-then-remove of the skip lines collapsed to a no-op on the e2e files. `git show <#1029-merge-sha> --stat` confirms zero changes to `e2e/tests/*`. The 13 tests have therefore not been running against the rebuilt gateway image even though everything else is in place.

Test plan

  • Local: `docker compose up` (e2e/) with the `:main` gateway image, then `npm run e2e:test -- core-sdk-token-auth meta-tx` — all 13 re-enabled tests pass.
  • CI e2e job green.

🤖 Generated with Claude Code

Re-enables the 'meta-tx with transfer authorizations' describe block
in core-sdk-token-auth.test.ts (12 tests across ERC3009/EIP2612/Permit2
× commitToOffer/commitToConditionalOffer/commitToBuyerOffer/
createOfferAndCommit) and the ERC3009 transferAuthorizations test in
meta-tx.test.ts. These were left skipped on main due to a squash-merge
interaction between PR #1030 (which added the skips) and PR #1029
(whose un-skips were diff'd against the pre-#1030 base and therefore
collapsed to a no-op on the e2e files).

Also reverts the meta-tx-gateway image tag to :main now that the
bytes[] transferAuthorizations support has landed on the gateway's
main branch.
@codecov

codecov Bot commented May 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.73%. Comparing base (3d1ac4c) to head (01c4259).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1031      +/-   ##
==========================================
+ Coverage   91.66%   91.73%   +0.06%     
==========================================
  Files         182      182              
  Lines        7764     7764              
  Branches     1514     1514              
==========================================
+ Hits         7117     7122       +5     
+ Misses        647      642       -5     
Flag Coverage Δ
common 92.73% <ø> (ø)
core-sdk 67.23% <ø> (ø)
e2e 85.11% <ø> (+0.23%) ⬆️
eth-connect-sdk 95.06% <ø> (ø)
ethers-sdk 74.33% <ø> (ø)
ipfs-storage 91.75% <ø> (ø)
metadata 94.70% <ø> (ø)
unittests 69.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zajck
zajck merged commit f0cee5b into main May 25, 2026
11 of 13 checks passed
@zajck
zajck deleted the unskip-skipped-tests branch May 25, 2026 18:12
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.

1 participant