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

Tests: Add staking history tests #4549

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Tests: Add staking history tests #4549

merged 1 commit into from
Nov 22, 2024

Conversation

mike10ca
Copy link
Contributor

@mike10ca mike10ca commented Nov 22, 2024

What it solves

How this PR fixes it

The following tests were added covering staking tx history.

  • Verify Claim tx shows amount received
  • Verify Withdraw request shows amount of validators and Validator status
  • Verify Stake tx show the amount staked and proper fields

How to test it

  • Run Cypress tests and observe outcome

Copy link

github-actions bot commented Nov 22, 2024

Copy link

📦 Next.js Bundle Analysis for safe-wallet-web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
74.37% (+0% 🔼)
14056/18899
🔴 Branches
52.73% (+0.01% 🔼)
3494/6626
🔴 Functions
58.18% (-0.03% 🔻)
2058/3537
🟡 Lines
76% (+0.01% 🔼)
12766/16797
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / mobileAppPromotion.ts
100% 100% 100% 100%
🟡
... / index.tsx
60% 50% 33.33% 66.67%
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / safeTheme.ts
93.02% (-0.16% 🔻)
50%
93.33% (-0.22% 🔻)
95.12% (-0.12% 🔻)

Test suite run success

1619 tests passing in 217 suites.

Report generated by 🧪jest coverage report action from 6b8d236

@mike10ca mike10ca merged commit 03b34bf into dev Nov 22, 2024
14 of 15 checks passed
@mike10ca mike10ca deleted the staking-history-tests branch November 22, 2024 09:58
@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants