Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Writes and updates Swap end-to-end tests for Ledger Live Desktop with Playwright and Mobile with Detox.
27% 100%+73 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 6 of 22 without it.
3 of 3 safety checks passed
Not used yet
Writing rules: when editing desktop, follow Desktop E2E. When editing mobile, follow Mobile E2E.
e2e/desktop or e2e/mobile.e2e/desktop/tests/specs/*swap*.spec.tse2e/desktop/tests/utils/swapUtils.tse2e/desktop/tests/page/swap.page.ts — swap webview.e2e/desktop/tests/page/drawer/swap.confirmation.drawer.ts — main window.e2e/mobile/specs/swap/otherTestCases/swap.other.tse2e/mobile/specs/swap/**/*.spec.tse2e/mobile/page/liveApps/swapLiveApp.tse2e/mobile/page/trade/swap.page.tsselectSpecificProvider(...) before adding a new provider helper.app.swap.getMinimumAmount(...) (desktop)app.swapLiveApp.getMinimumAmount(...) (mobile)Quote selection takes a SwapProvider. SwapProvider.CHANGELLY is disabled.
performSwapUntilQuoteSelectionStep({ app, swap, minAmount })app.swap.selectSpecificProvider(provider)await app.swap.getAmountToSend() only when a later assertion needs the amountNext to this one in the catalogue, plus more from the same author.