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-304] Adding check for operation history when adding an account #8168

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

VicAlbr
Copy link
Contributor

@VicAlbr VicAlbr commented Oct 22, 2024

βœ… Checklist

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

πŸ“ Description

Adding minor check on Add account

❓ 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 Oct 22, 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) Visit Preview Oct 22, 2024 1:56pm
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Oct 22, 2024 1:56pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Oct 22, 2024 1:56pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Oct 22, 2024 1:56pm
web-tools ⬜️ Ignored (Inspect) Visit Preview Oct 22, 2024 1:56pm

@live-github-bot live-github-bot bot added the desktop Has changes in LLD label Oct 22, 2024
@VicAlbr VicAlbr marked this pull request as ready for review October 22, 2024 13:23
@VicAlbr VicAlbr requested review from a team as code owners October 22, 2024 13:23
@@ -9,14 +9,17 @@ export class PortfolioPage extends AppPage {
private swapEntryButton = this.page.getByTestId("swap-entry-button");
private stakeEntryButton = this.page.getByTestId("stake-entry-button");
private chart = this.page.getByTestId("chart-container");
private operationList = this.page.locator("id=operation-list");
Copy link
Contributor

Choose a reason for hiding this comment

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

could you replace by #operation-list please?

@@ -50,6 +50,7 @@ for (const currency of currencies) {
if (currency.currency.name !== Currency.TON.name) {
await app.layout.expectBalanceVisibility();
}
await app.portfolio.opperationHistory();
Copy link
Contributor

Choose a reason for hiding this comment

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

small typo 2 "p"

async scrollToOperations() {
await this.page.waitForTimeout(500);
const operationList = this.page.locator("id=operation-list");
await operationList.scrollIntoViewIfNeeded();
}

@step("check operation history")
async opperationHistory() {
Copy link
Contributor

Choose a reason for hiding this comment

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

could you rename method to something like checkOperationsHistory please?

@@ -81,9 +84,24 @@ export class PortfolioPage extends AppPage {
await assetRowLocator.click();
}

@step("Scroll to operations")
async scrollToOperations() {
await this.page.waitForTimeout(500);
const operationList = this.page.locator("id=operation-list");
Copy link
Contributor

Choose a reason for hiding this comment

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

might make sense to use this locator

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, that's legacy code used for mocked test. I didn't touch it but I can do the update :)

@VicAlbr VicAlbr merged commit b715c21 into develop Oct 22, 2024
41 of 42 checks passed
@VicAlbr VicAlbr deleted the support/qaa-304 branch October 22, 2024 14:17
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.

3 participants