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

Automated Integration Tests Flows #1686

Merged
merged 110 commits into from
Nov 7, 2024

Conversation

Blazebrain
Copy link
Contributor

@Blazebrain Blazebrain commented Sep 18, 2024

Issue Number (if Applicable): Fixes #

Description

More Automated Integration Tests

Please include a summary of the changes and which issue is fixed / feature is added.
CW-729: Create Wallets Flow Automated Test
CW-730: Restore Wallets Flow Automated Test
CW-731: Transaction History Automated Test
CW-733: Confirm Credentials Display Correctly Automated Test

Pull Request - Checklist

  • Initial Manual Tests Passed
  • Double check modified code and verify it with the feature/task requirements
  • Format code
  • Look for code duplication
  • Clear naming for variables and methods

Blazebrain and others added 30 commits June 21, 2024 11:55
@Blazebrain Blazebrain self-assigned this Sep 18, 2024
@Blazebrain Blazebrain changed the title CW-659-Transaction-History-Automated-Tests CW-731-Transaction-History-Automated-Tests Sep 18, 2024
@Blazebrain Blazebrain changed the base branch from CW-659-Confirm-Seeds-Display-Correctly to main September 27, 2024 23:49
@Blazebrain Blazebrain changed the title CW-731-Transaction-History-Automated-Tests More-Automated-Integration-Tests Sep 27, 2024
@Blazebrain Blazebrain changed the title More-Automated-Integration-Tests Automated Integration Tests Flows Sep 27, 2024
@Blazebrain Blazebrain marked this pull request as ready for review October 3, 2024 13:27
Comment on lines +86 to +93
bool _shouldExitLoop(bool hasTxHistoryWhileSyncing, bool isSynced, bool itemsLoaded) {
if (hasTxHistoryWhileSyncing) {
// When hasTxHistoryWhileSyncing is true, exit when status is synced
return isSynced;
} else {
// When hasTxHistoryWhileSyncing is false, exit when status is synced and items are loaded
return isSynced && itemsLoaded;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor:
it shouldn't matter, cuz even if the wallet has some transactions while it's syncinc (Monero) then we would also need to check on the itemsLoaded boolean

secrets.bitcoinTestWalletSeeds,
);

await dashboardPageRobot.confirmWalletTypeIsDisplayedCorrectly(WalletType.bitcoin);
Copy link
Contributor

Choose a reason for hiding this comment

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

better be with a Monero wallet, since bitcoin also fetches the tx history almost immediately
but don't delete this one, just add another case for Monero

@OmarHatem28 OmarHatem28 merged commit 0fcfd76 into main Nov 7, 2024
2 checks passed
@OmarHatem28 OmarHatem28 deleted the CW-659-Transaction-History-Automated-Tests branch November 7, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants