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

Swap max #8943

Draft
wants to merge 16 commits into
base: develop
Choose a base branch
from
Draft

Swap max #8943

wants to merge 16 commits into from

Conversation

stual-ledger
Copy link

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

πŸ“ Description

Replace this text by a clear and concise description of what this pull request is about and why it is needed. Be sure to explain the problem you're addressing and the solution you're proposing.
For libraries, you can add a code sample of how to use it.
For bug fixes, you can explain the previous behaviour and how it was fixed.
In case of visual features, please attach screenshots or video recordings to demonstrate the changes.

❓ Context

  • JIRA or GitHub link:

🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

Copy link

vercel bot commented Jan 20, 2025

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Feb 3, 2025 0:57am
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Feb 3, 2025 0:57am
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Feb 3, 2025 0:57am
web-tools ⬜️ Ignored (Inspect) Visit Preview Feb 3, 2025 0:57am

@live-github-bot live-github-bot bot added the desktop Has changes in LLD label Jan 20, 2025
const swapWithSendMax = [
{
swap: new Swap(Account.ETH_1, Account.BTC_NATIVE_SEGWIT_1, "sendMax", Fee.MEDIUM),
xrayTicket: "B2CQA-2110, QAA-292",
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need QAA-292 here only the B2CQA :)

},
{
swap: new Swap(Account.ETH_1, Account.SOL_1, "sendMax", Fee.MEDIUM),
xrayTicket: "B2CQA-2110, QAA-292",
Copy link
Contributor

Choose a reason for hiding this comment

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

same (only B2CQA)

const selectedProvider = await app.swap.selectExchange(electronApp);
await performSwapUntilDeviceVerificationStep(
app,
electronApp,
rejectedSwap,
selectedProvider,
);
await app.swapDrawer.verifyAmountSent(rejectedSwap.amount, rejectedSwap.accountToDebit.currency.ticker);
Copy link
Contributor

Choose a reason for hiding this comment

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

For the lint error:

await app.swapDrawer.verifyAmountSent(
        rejectedSwap.amount,
        rejectedSwap.accountToDebit.currency.ticker,
      );

@VicAlbr
Copy link
Contributor

VicAlbr commented Jan 30, 2025

Can You also please execute the speculos CI on your Branch and add it to the Context part pls :)
Screenshot 2025-01-30 at 18 00 18

You can do something like that:

βœ… Allure test reporting

  • Allure reporting:
    url
  • CI :
    url

@stual-ledger stual-ledger reopened this Feb 3, 2025
@stual-ledger stual-ledger marked this pull request as draft February 3, 2025 12:45
@alalmi-ledger alalmi-ledger requested a review from VicAlbr February 3, 2025 13:09
swap: new Swap(Account.ETH_1, Account.SOL_1, "sendMax", Fee.MEDIUM),
xrayTicket: "B2CQA-2110",
}
""];
Copy link
Contributor

Choose a reason for hiding this comment

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

the code is not compiling anymore
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop Has changes in LLD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants