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: Cy release tests #4539

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Tests: Cy release tests #4539

merged 1 commit into from
Nov 20, 2024

Conversation

mike10ca
Copy link
Contributor

@mike10ca mike10ca commented Nov 20, 2024

What it solves

How this PR fixes it

  • Safe apps tests needed to be updated as we added Featured apps section.

How to test it

  • Run Cypress tests and observe outcome

Copy link

github-actions bot commented Nov 20, 2024

Copy link

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

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

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 1014.35 KB (🟢 -15.33 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Forty-four Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/ 511 B (🟢 -1 B) 1014.85 KB
/403 577 B (🟢 -16 B) 1014.92 KB
/404 698 B (🟢 -4 B) 1015.04 KB
/_error 228 B (🟢 -10 B) 1014.58 KB
/_offline 1.1 KB (🟡 +32 B) 1015.45 KB
/addOwner 534 B (🟢 -19 B) 1014.88 KB
/address-book 26.09 KB (🟡 +165 B) 1.02 MB
/apps 48.48 KB (🟡 +709 B) 1.04 MB
/apps/bookmarked 445 B (🟢 -17 B) 1014.79 KB
/apps/custom 40.07 KB (🟡 +770 B) 1.03 MB
/apps/open 55.36 KB (🟡 +70 B) 1.04 MB
/balances 38.26 KB (🟡 +724 B) 1.03 MB
/balances/nfts 19.2 KB (🟡 +446 B) 1.01 MB
/cookie 8.74 KB (🟢 -7 B) 1023.09 KB
/home 59.52 KB (🟡 +275 B) 1.05 MB
/imprint 1.36 KB (🟢 -28 B) 1015.72 KB
/licenses 4.98 KB (🟡 +25 B) 1019.33 KB
/new-safe/advanced-create 35.03 KB (🟡 +173 B) 1.02 MB
/new-safe/create 34.29 KB (🟡 +189 B) 1.02 MB
/new-safe/load 14.78 KB (🟡 +278 B) 1.01 MB
/privacy 14.02 KB (🟢 -14 B) 1 MB
/settings 451 B (🟢 -14 B) 1014.79 KB
/settings/appearance 8.06 KB (🟡 +354 B) 1022.41 KB
/settings/cookies 7.68 KB (🟡 +362 B) 1022.04 KB
/settings/data 7.58 KB (🟡 +365 B) 1021.93 KB
/settings/environment-variables 9.17 KB (🟡 +396 B) 1023.52 KB
/settings/modules 9.84 KB (🟡 +376 B) 1 MB
/settings/notifications 27.05 KB (🟡 +236 B) 1.02 MB
/settings/safe-apps 23.94 KB (🟡 +444 B) 1.01 MB
/settings/security 8.1 KB (🟡 +367 B) 1022.46 KB
/settings/setup 47.01 KB (🟡 +768 B) 1.04 MB
/share/safe-app 9.73 KB (🟡 +409 B) 1 MB
/stake 596 B (🟢 -26 B) 1014.94 KB
/swap 733 B (🟢 -21 B) 1015.07 KB
/terms 559 B (🟢 -19 B) 1014.9 KB
/transactions 73.87 KB (🟢 -13.67 KB) 1.06 MB
/transactions/history 73.84 KB (🟢 -13.66 KB) 1.06 MB
/transactions/messages 39.38 KB (🟡 +326 B) 1.03 MB
/transactions/msg 29.71 KB (🟢 -35 B) 1.02 MB
/transactions/queue 31.49 KB (🟡 +341 B) 1.02 MB
/transactions/tx 21.27 KB (🟢 -44 B) 1.01 MB
/wc 687 B (🟢 -15 B) 1015.03 KB
/welcome 6.8 KB (🟢 -12 B) 1021.15 KB
/welcome/accounts 379 B (🟢 -19 B) 1014.72 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

Copy link

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 74.27% 14068/18942
🔴 Branches 52.61% 3484/6622
🔴 Functions 58.07% 2055/3539
🟡 Lines 75.89% 12779/16838

Test suite run success

1619 tests passing in 217 suites.

Report generated by 🧪jest coverage report action from e1456fc

@mike10ca mike10ca merged commit 4e824f3 into release Nov 20, 2024
13 checks passed
@mike10ca mike10ca deleted the cy-release-tests branch November 20, 2024 07:03
@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 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.

1 participant