Skip to content

[PUI] Test modals - #7113

Merged
SchrodingersGat merged 50 commits into
inventree:masterfrom
matmair:pui-more-tests
Apr 23, 2024
Merged

SchrodingersGat merged 50 commits into
inventree:masterfrom
matmair:pui-more-tests

Conversation

@matmair

@matmair matmair commented Apr 23, 2024 •

Copy link
Copy Markdown
Member

Adds tests for general PUI modals (AboutInstance, License Info, About org, QR modal) and fixes a key error in the license modal.

@matmair matmair added CI CI / unit testing ecosystem User Interface Related to the frontend / User Interface labels Apr 23, 2024
@matmair matmair self-assigned this Apr 23, 2024
@matmair matmair added this to the 0.15.0 milestone Apr 23, 2024
@netlify

netlify Bot commented Apr 23, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit ab041c1
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/66281c2c9d95120008c11a8d
😎 Deploy Preview https://deploy-preview-7113--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 86 (no change from production)
Best Practices: 100 (no change from production)
SEO: 70 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov

codecov Bot commented Apr 23, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.41%. Comparing base (938c724) to head (ab041c1).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7113      +/-   ##
==========================================
+ Coverage   83.37%   83.41%   +0.04%     
==========================================
  Files        1039     1040       +1     
  Lines       45731    45739       +8     
  Branches     1279     1279              
==========================================
+ Hits        38129    38155      +26     
+ Misses       7329     7304      -25     
- Partials      273      280       +7     
Flag Coverage Δ
pui 58.51% <100.00%> (+0.34%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matmair
matmair marked this pull request as ready for review April 23, 2024 20:27
@matmair

matmair commented Apr 23, 2024

Copy link
Copy Markdown
Member Author

@SchrodingersGat this adds a bit better coverage on modals

@SchrodingersGat
SchrodingersGat merged commit 5f54aef into inventree:master Apr 23, 2024
@SchrodingersGat
SchrodingersGat deleted the pui-more-tests branch April 23, 2024 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI / unit testing ecosystem User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants