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-307][Detox][Speculos] Adap nft gallery tests #8832

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

abdurrahman-ledger
Copy link
Contributor

@abdurrahman-ledger abdurrahman-ledger commented Jan 7, 2025

βœ… Checklist

  • npx changeset was attached. (no need)
  • Covered by automatic tests.
  • Impact of the changes:
    • LLM Speculos test

πŸ“ Description

  • Adapting the exisiting nftGallery test with Speculos
  • Fixing test matcher to add tests directly in speculos folder
  • fix tron tests timeout with addition to detoxURLBlacklistRegex
  • adding known bugs to allure report

❓ 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 Jan 7, 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 Jan 8, 2025 9:26pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 8, 2025 9:26pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 8, 2025 9:26pm
web-tools ⬜️ Ignored (Inspect) Visit Preview Jan 8, 2025 9:26pm

@live-github-bot live-github-bot bot added the mobile Has changes in LLM label Jan 7, 2025
@abdurrahman-ledger abdurrahman-ledger force-pushed the support/qaa_307_detox_speculos_nftGallery branch from a019a2b to 6c2cdb4 Compare January 7, 2025 14:08
@live-github-bot
Copy link
Contributor

live-github-bot bot commented Jan 7, 2025

Mobile Bundle Checks

Comparing 6ff7ef5 against e785a43.

βœ… Previous issues have all been fixed.

@abdurrahman-ledger abdurrahman-ledger marked this pull request as ready for review January 7, 2025 16:13
@abdurrahman-ledger abdurrahman-ledger requested review from a team as code owners January 7, 2025 16:13
@abdurrahman-ledger abdurrahman-ledger force-pushed the support/qaa_307_detox_speculos_nftGallery branch from 130a731 to 7659732 Compare January 8, 2025 09:23
Base automatically changed from support/qaa_377_detox_speculos_send to develop January 8, 2025 16:16
@abdurrahman-ledger abdurrahman-ledger force-pushed the support/qaa_307_detox_speculos_nftGallery branch 2 times, most recently from a2cd4aa to 22c7e4d Compare January 8, 2025 21:24
@live-github-bot live-github-bot bot added tools Has changes in tools automation CI/CD stuff labels Jan 8, 2025
@abdurrahman-ledger abdurrahman-ledger force-pushed the support/qaa_307_detox_speculos_nftGallery branch from 22c7e4d to 5718b63 Compare January 8, 2025 21:26
@live-github-bot live-github-bot bot removed tools Has changes in tools automation CI/CD stuff labels Jan 8, 2025
@@ -17,12 +24,15 @@ export default class NftGalleryPage {
nftFilterDrawer = () => getElementById("wallet-nft-gallery-filter-drawer");
selectAndHide = () => getElementById("wallet-nft-gallery-select-and-hide");
confirmHide = () => getElementById("wallet-nft-gallery-confirm-hide");
nftListItem = (index: number) => getElementById(`wallet-nft-gallery-list-item-${index}`);
nftListItemId = (index = 0) => `wallet-nft-gallery-list-item-${index}`;
Copy link
Contributor

Choose a reason for hiding this comment

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

Since index 0, shouldn't the name reflect it as "firstNftListItemId"? Same for the next line

@@ -35,39 +45,71 @@ export default class NftGalleryPage {
await expect(this.nftListItem(index)).not.toBeVisible();
}

@Step("Hide All Nft")
async hideAllNft() {
const nftNumber = Number.parseInt(
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please add a comment explaining what is happening with this method? since it doesn't look straightforward

@@ -75,6 +75,7 @@ describe(`Ledger Sync Accounts`, () => {
}

$TmsLink(tmsLink);
$Issue("LIVE-15614");
Copy link
Contributor

Choose a reason for hiding this comment

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

will it be visible in the Allure report as a bug?

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

Successfully merging this pull request may close these issues.

2 participants