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

[QAA-168] Adding new send test cases #7938

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

VicAlbr
Copy link
Contributor

@VicAlbr VicAlbr commented Sep 27, 2024

✅ Checklist

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

📝 Description

Adding new send test scénarios:

  • Valid Address
  • Invalid Address

CI Run: https://github.com/LedgerHQ/ledger-live/actions/runs/11069828999 (fail = getAppAndVersion)

❓ Context


🧐 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 Sep 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-docs ⬜️ Ignored (Inspect) Sep 27, 2024 10:19am
ledger-live-github-bot ⬜️ Ignored (Inspect) Sep 27, 2024 10:19am
native-ui-storybook ⬜️ Ignored (Inspect) Sep 27, 2024 10:19am
react-ui-storybook ⬜️ Ignored (Inspect) Sep 27, 2024 10:19am
web-tools ⬜️ Ignored (Inspect) Sep 27, 2024 10:19am

@live-github-bot live-github-bot bot added the desktop Has changes in LLD label Sep 27, 2024
@ledger-wiz-cspm-secret-detection

Wiz Scan Summary

Scan Module Critical High Medium Low Info Total
IaC Misconfigurations 0 0 0 0 0 0
Sensitive Data 0 0 0 0 1 1
Secrets 0 0 0 0 0 0
Total 0 0 0 0 1 1

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@VicAlbr VicAlbr marked this pull request as ready for review September 27, 2024 11:46
@VicAlbr VicAlbr requested review from a team as code owners September 27, 2024 11:46
@@ -39,9 +40,18 @@ export class SendModal extends Modal {
await this.recipientInput.fill(recipient);
}

@step("Enter recipient as $0")
Copy link
Contributor

Choose a reason for hiding this comment

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

"$0" will be displayed as Object object in report because transaction is not a string

}

for (const transaction of transactionsAddressInvalid) {
test.describe("Send funds setp 1 (Recipient) - negative cases (Button disabled)", () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

typo

@@ -314,3 +417,63 @@ test.describe("Verify send max user flow", () => {
},
);
});

for (const transaction of transactionAddressValid) {
test.describe("Send funds step 1 (Recipient) - positive cases (Button enabled)", () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be a part of full e2e scenario where we actually send funds (even if without broadcasting) because creating test just for one check that button is enabled is an overkill

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.

2 participants