Skip to content

test: updates leap wallet fixture for web e2e and adjusts interactions#2107

Merged
ygrishajev merged 1 commit intomainfrom
feature/e2e
Oct 24, 2025
Merged

test: updates leap wallet fixture for web e2e and adjusts interactions#2107
ygrishajev merged 1 commit intomainfrom
feature/e2e

Conversation

@ygrishajev
Copy link
Contributor

@ygrishajev ygrishajev commented Oct 24, 2025

Summary by CodeRabbit

  • Tests
    • Removed obsolete UI test fixtures and testing infrastructure.
    • Improved test execution patterns with sequential event handling instead of concurrent flows.
    • Enhanced test assertions for wallet connectivity verification.

@ygrishajev ygrishajev requested a review from a team as a code owner October 24, 2025 12:25
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 24, 2025

Walkthrough

This PR removes numerous test UI fixture files and bundled components from the Leap Cosmos extension test suite while modifying two test action files to improve flow and add assertions. Approximately 40+ fixture files are deleted, primarily minified React UI bundles used for testing wallet operations.

Changes

Cohort / File(s) Summary
Test Action Modifications
apps/deploy-web/tests/ui/actions/selectChainNetwork.ts, apps/deploy-web/tests/ui/disconnect-wallet.spec.ts
Refactors selectChainNetwork to use sequential popup handling with increased 5000ms timeout instead of concurrent Promise.all; adds expect import and assertion to verify connect-wallet-btn visibility post-disconnect.
Leap UI Fixture Deletions
apps/deploy-web/tests/ui/fixture/Leap/1035.js, 1131.js, 1348.js, 2127.js, 283.js, 2830.js, 3085.js, 3364.js, 3470.js, 3962.js, 4143.js, 4147.js, 4259.js, 4327.js, 4394.js, 4409.js, 4703.js, 4777.js, 4871.js, 5066.js, 5069.js, 5203.js, 5238.js, 5247.js, 5292.js, 5435.js, 5509.js, 581.js, 5968.js, 6023.js, 6412.js, 6885.js, 7046.js, 7370.js, 7395.js, 7427.js, 7512.js, 8208.js, 8295.js, 8333.js, 8820.js, 8839.js, 9148.js, 963.js, 9779.js
Removes 44 bundled/minified React UI test fixture files including wallet onboarding screens, token management modals, chain-switching UI, transaction signing flows, staking interfaces, airdrops displays, and various gRPC client modules.
License File Addition
apps/deploy-web/tests/ui/fixture/Leap/5401.js.LICENSE.txt
Adds license header file documenting dependencies including React, classnames, decimal.js, lodash, and various cryptographic and UI libraries.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

The PR consists primarily of homogeneous deletions of test fixture bundles with minimal logic examination required. The two modified test files contain straightforward refactorings: sequential flow adjustment with timeout change and assertion addition. While the deletion volume is large, the repetitive nature and lack of logic interdependencies reduce review complexity.

Possibly related PRs

Suggested reviewers

  • stalniy

Poem

🐰 A bundle of fixtures, once minified and tight,
Now swept from the tests, clearing clutter from sight,
The test suite flows cleaner, with sequential grace,
While fixtures of yore find no longer their place,
A hop toward simplicity, code running light! ✨

Pre-merge checks and finishing touches

❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Title Check ⚠️ Warning The PR title references real aspects of the changeset: it mentions adjusting interactions (evidenced by modifications to selectChainNetwork.ts) and updates to Leap wallet fixtures (evident from the numerous fixture files in the Leap directory). However, the title emphasizes "updates" and "adjusts interactions," which are only a small portion of the actual changeset. The bulk of the changes consist of deletions of 43+ fixture files in apps/deploy-web/tests/ui/fixture/Leap/, which represents a significant cleanup operation rather than feature updates or interaction adjustments. The title does not adequately convey the primary scope of the PR—the mass removal of fixture files—and instead focuses on the smaller interaction adjustments to selectChainNetwork.ts. Consider revising the PR title to better reflect the primary nature of the changes. A more accurate title might be: "test: clean up legacy leap wallet fixtures and adjust e2e interactions" or "test: remove deprecated leap wallet fixtures and update test interactions." This would more clearly communicate that the primary goal is fixture cleanup while also acknowledging the interaction adjustments to the test files.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/e2e

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Oct 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.77%. Comparing base (eda2f96) to head (5e0f580).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2107      +/-   ##
==========================================
- Coverage   46.12%   45.77%   -0.36%     
==========================================
  Files        1019     1009      -10     
  Lines       28885    28536     -349     
  Branches     7555     7501      -54     
==========================================
- Hits        13323    13062     -261     
+ Misses      15273    14357     -916     
- Partials      289     1117     +828     
Flag Coverage Δ *Carryforward flag
api 82.27% <ø> (ø) Carriedforward from eda2f96
deploy-web 24.30% <ø> (+0.01%) ⬆️
log-collector ?
notifications 88.16% <ø> (ø) Carriedforward from eda2f96
provider-console 81.48% <ø> (ø) Carriedforward from eda2f96
provider-proxy 84.61% <ø> (ø) Carriedforward from eda2f96

*This pull request uses carry forward flags. Click here to find out more.
see 205 files with indirect coverage changes

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eda2f96 and 5e0f580.

⛔ Files ignored due to path filters (101)
  • apps/deploy-web/tests/ui/fixture/Leap/0275c1ae2991500f082f.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/0527ac13b30350d682d6.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/08de870199819102953a.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/0e125a893a5a5680eb7f.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/126c3b76d38d48b97af6.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/128ef0fbcdc5ba6280de.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/1858df83a1361be514ed.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/1880480282ce4191f3d8.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/1aa9de4932f7e99f5188.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/236d3f643d0b1810711e.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/31d26847bf928ce71f75.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/3787dad44cbca887784f.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/5c61ad41ae6ada104aa1.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/5e01934f4fa69e49a7b5.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/5ea44e43adb5ff99de21.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/612ba67e6e955dd2fbcb.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/761b19ece7eeef54d6f6.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/90c7aa807546cb42c2b3.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/953e7f4063386843d8d1.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/a74584141891659b1157.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/bbd36b6b9b67af3161aa.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/bd438f981b46714a684f.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/cc8ff343a061fe80efe9.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/cfbbde087923f7270858.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/d5e925ff19483d048ef2.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/e22aff60485fa8496065.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/e5479c094d5a7fc24e95.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/f2bbf6141b5ebb93dfe8.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/f9aebe0836817b57.module.wasm is excluded by !**/*.wasm
  • apps/deploy-web/tests/ui/fixture/Leap/fdfb955455e4eb4ed556.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/icon-128.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/icon-16.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/icon-48.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/icons/icon-128.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/icons/icon-16.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/icons/icon-48.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/font/DMMono-Medium.woff2 is excluded by !**/*.woff2
  • apps/deploy-web/tests/ui/fixture/Leap/static/font/DMMono-Regular.woff2 is excluded by !**/*.woff2
  • apps/deploy-web/tests/ui/fixture/Leap/static/font/Satoshi-Black.woff2 is excluded by !**/*.woff2
  • apps/deploy-web/tests/ui/fixture/Leap/static/font/Satoshi-Bold.woff2 is excluded by !**/*.woff2
  • apps/deploy-web/tests/ui/fixture/Leap/static/font/Satoshi-Light.woff2 is excluded by !**/*.woff2
  • apps/deploy-web/tests/ui/fixture/Leap/static/font/Satoshi-Medium.woff2 is excluded by !**/*.woff2
  • apps/deploy-web/tests/ui/fixture/Leap/static/font/Satoshi-Regular.woff2 is excluded by !**/*.woff2
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/bidds.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/chad-default-banner.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/chad-eligible-banner.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/chad-highlight-banner.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/circular.gif is excluded by !**/*.gif
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/compass-pin-extension.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/cosmos.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/cosmosEcosystem.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/ethereum.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/hardware-wallet-connect-usb.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/hardware-wallet-connect.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/lumi.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/lumi_cover.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/mars-airdrop-banner.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/milkyway.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/non-chad-banner.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/onboarding-sucess.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/usdc-tilted.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/image/welcome-sei-v2.png is excluded by !**/*.png
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/airdropBanner.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/airdropFailed.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/airdropOver.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/archId.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/chad-star-icon.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/compass-circle.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/compass-no-stake.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/compass-reward.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/dashboard.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/faucet.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/frog-happy-with-bg.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/frog-happy.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/frog-panic.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/frog-sad.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/ibc-domains.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/icns.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/juno-swap.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/keplr.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/leap-custom-dark-mode.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/leap-custom-light-mode.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/leap-reward.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/ledger-evm-chains.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/light-node-banner.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/metamask.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/nbtc-symbol.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/no-stake.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/noble-airdrop-banner.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/nomic-fullname-logo.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/not-chad-star-icon.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/onboarding-frog.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/osmosis.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/pallet.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/pin-to-extension.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/presale.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/sei-v2.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/sns.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/space-id.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/terra-station.svg is excluded by !**/*.svg
  • apps/deploy-web/tests/ui/fixture/Leap/static/svg/usdc-logo.svg is excluded by !**/*.svg
📒 Files selected for processing (48)
  • apps/deploy-web/tests/ui/actions/selectChainNetwork.ts (1 hunks)
  • apps/deploy-web/tests/ui/disconnect-wallet.spec.ts (1 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/1035.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/1131.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/1348.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/2127.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/283.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/2830.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/3085.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/3364.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/3470.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/3962.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/4143.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/4147.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/4259.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/4327.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/4394.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/4409.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/4703.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/4777.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/4871.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/5066.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/5069.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/5203.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/5238.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/5247.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/5292.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/5401.js.LICENSE.txt (1 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/5435.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/5509.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/581.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/5968.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/6023.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/6412.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/6885.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/7046.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/7370.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/7395.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/7427.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/7512.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/8208.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/8295.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/8333.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/8820.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/8839.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/9148.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/963.js (0 hunks)
  • apps/deploy-web/tests/ui/fixture/Leap/9779.js (0 hunks)
💤 Files with no reviewable changes (45)
  • apps/deploy-web/tests/ui/fixture/Leap/7046.js
  • apps/deploy-web/tests/ui/fixture/Leap/3364.js
  • apps/deploy-web/tests/ui/fixture/Leap/2830.js
  • apps/deploy-web/tests/ui/fixture/Leap/5069.js
  • apps/deploy-web/tests/ui/fixture/Leap/5435.js
  • apps/deploy-web/tests/ui/fixture/Leap/6023.js
  • apps/deploy-web/tests/ui/fixture/Leap/5509.js
  • apps/deploy-web/tests/ui/fixture/Leap/581.js
  • apps/deploy-web/tests/ui/fixture/Leap/4703.js
  • apps/deploy-web/tests/ui/fixture/Leap/5247.js
  • apps/deploy-web/tests/ui/fixture/Leap/4871.js
  • apps/deploy-web/tests/ui/fixture/Leap/4143.js
  • apps/deploy-web/tests/ui/fixture/Leap/4394.js
  • apps/deploy-web/tests/ui/fixture/Leap/8295.js
  • apps/deploy-web/tests/ui/fixture/Leap/1035.js
  • apps/deploy-web/tests/ui/fixture/Leap/9148.js
  • apps/deploy-web/tests/ui/fixture/Leap/5968.js
  • apps/deploy-web/tests/ui/fixture/Leap/6412.js
  • apps/deploy-web/tests/ui/fixture/Leap/7427.js
  • apps/deploy-web/tests/ui/fixture/Leap/2127.js
  • apps/deploy-web/tests/ui/fixture/Leap/3470.js
  • apps/deploy-web/tests/ui/fixture/Leap/6885.js
  • apps/deploy-web/tests/ui/fixture/Leap/283.js
  • apps/deploy-web/tests/ui/fixture/Leap/8208.js
  • apps/deploy-web/tests/ui/fixture/Leap/7395.js
  • apps/deploy-web/tests/ui/fixture/Leap/963.js
  • apps/deploy-web/tests/ui/fixture/Leap/5238.js
  • apps/deploy-web/tests/ui/fixture/Leap/1131.js
  • apps/deploy-web/tests/ui/fixture/Leap/8839.js
  • apps/deploy-web/tests/ui/fixture/Leap/7370.js
  • apps/deploy-web/tests/ui/fixture/Leap/9779.js
  • apps/deploy-web/tests/ui/fixture/Leap/3962.js
  • apps/deploy-web/tests/ui/fixture/Leap/4259.js
  • apps/deploy-web/tests/ui/fixture/Leap/4147.js
  • apps/deploy-web/tests/ui/fixture/Leap/5066.js
  • apps/deploy-web/tests/ui/fixture/Leap/4777.js
  • apps/deploy-web/tests/ui/fixture/Leap/5292.js
  • apps/deploy-web/tests/ui/fixture/Leap/4409.js
  • apps/deploy-web/tests/ui/fixture/Leap/8333.js
  • apps/deploy-web/tests/ui/fixture/Leap/3085.js
  • apps/deploy-web/tests/ui/fixture/Leap/5203.js
  • apps/deploy-web/tests/ui/fixture/Leap/8820.js
  • apps/deploy-web/tests/ui/fixture/Leap/7512.js
  • apps/deploy-web/tests/ui/fixture/Leap/4327.js
  • apps/deploy-web/tests/ui/fixture/Leap/1348.js
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/general.mdc)

Never use type any or cast to type any. Always define the proper TypeScript types.

Files:

  • apps/deploy-web/tests/ui/actions/selectChainNetwork.ts
  • apps/deploy-web/tests/ui/disconnect-wallet.spec.ts
**/*.{js,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/general.mdc)

**/*.{js,ts,tsx}: Never use deprecated methods from libraries.
Don't add unnecessary comments to the code

Files:

  • apps/deploy-web/tests/ui/actions/selectChainNetwork.ts
  • apps/deploy-web/tests/ui/disconnect-wallet.spec.ts
**/*.spec.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/no-jest-mock.mdc)

Don't use jest.mock() to mock dependencies in test files. Instead, use jest-mock-extended to create mocks and pass mocks as dependencies to the service under test.

**/*.spec.{ts,tsx}: Use setup function instead of beforeEach in test files
setup function must be at the bottom of the root describe block in test files
setup function creates an object under test and returns it
setup function should accept a single parameter with inline type definition
Don't use shared state in setup function
Don't specify return type of setup function

Files:

  • apps/deploy-web/tests/ui/disconnect-wallet.spec.ts
🧠 Learnings (1)
📚 Learning: 2025-10-15T16:39:55.348Z
Learnt from: jzsfkzm
PR: akash-network/console#2039
File: apps/deploy-web/tests/ui/change-wallets.spec.ts:4-10
Timestamp: 2025-10-15T16:39:55.348Z
Learning: In the Akash Console E2E tests using the context-with-extension fixture, the first wallet is automatically created during fixture setup via `importWalletToLeap` in `apps/deploy-web/tests/ui/fixture/wallet-setup.ts`, so tests that call `frontPage.createWallet()` are creating a second wallet to test wallet switching functionality.

Applied to files:

  • apps/deploy-web/tests/ui/disconnect-wallet.spec.ts
🧬 Code graph analysis (1)
apps/deploy-web/tests/ui/disconnect-wallet.spec.ts (2)
apps/deploy-web/tests/ui/fixture/context-with-extension.ts (1)
  • test (12-75)
apps/deploy-web/tests/ui/pages/LeapExt.tsx (1)
  • LeapExt (9-40)
🪛 LanguageTool
apps/deploy-web/tests/ui/fixture/Leap/5401.js.LICENSE.txt

[grammar] ~65-~65: Ensure spelling is correct
Context: ...https://feross.org/opensource / /! scure-base - MIT License (c) 2022 Paul Miller...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~67-~67: Ensure spelling is correct
Context: ...022 Paul Miller (paulmillr.com) / /! scure-bip32 - MIT License (c) 2022 Patricio P...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~69-~69: Ensure spelling is correct
Context: ...no, Paul Miller (paulmillr.com) / /! scure-bip39 - MIT License (c) 2022 Patricio P...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[uncategorized] ~208-~208: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...gned big-endian} encodings; * * 32-bit floating point values with {@link * module:Layout.f...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[uncategorized] ~211-~211: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...ig-endian} representations; * * 64-bit floating point values with {@link * module:Layout.f...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[style] ~326-~326: Using many exclamation marks might seem excessive (in this case: 20 exclamation marks for a text that’s 9480 characters long)
Context: ... THE POSSIBILITY OF SUCH DAMAGE. */ //! goToAndStop must be relative to the sta...

(EN_EXCESSIVE_EXCLAMATION)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: test-build
  • GitHub Check: validate / validate-app
  • GitHub Check: test-build
  • GitHub Check: Validate local packages
🔇 Additional comments (2)
apps/deploy-web/tests/ui/disconnect-wallet.spec.ts (1)

1-1: LGTM! Import and formatting improvements.

The addition of expect to the import is necessary for the assertion on line 9, and the blank line improves readability by visually separating the action from the assertion.

Also applies to: 8-8

apps/deploy-web/tests/ui/actions/selectChainNetwork.ts (1)

14-18: Excellent refactoring to sequential popup handling pattern.

The new approach follows Playwright best practices by starting the waitForEvent listener before triggering the action that opens the popup. This sequential pattern is more explicit and prevents potential race conditions that could occur with concurrent patterns.

@ygrishajev ygrishajev merged commit 55da6d7 into main Oct 24, 2025
63 checks passed
@ygrishajev ygrishajev deleted the feature/e2e branch October 24, 2025 17:01
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.

3 participants

Comments