Skip to content

UI: fix unit tests#9798

Merged
vishesh92 merged 2 commits intoapache:4.19from
weizhouapache:4.19-ui-fix-unit-tests
Oct 16, 2024
Merged

UI: fix unit tests#9798
vishesh92 merged 2 commits intoapache:4.19from
weizhouapache:4.19-ui-fix-unit-tests

Conversation

@weizhouapache
Copy link
Copy Markdown
Member

Description

This PR fixes the UI unit test failures

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.08%. Comparing base (017cf2c) to head (03c9b38).
Report is 1 commits behind head on 4.19.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #9798      +/-   ##
============================================
- Coverage     15.80%   15.08%   -0.72%     
- Complexity    11199    11200       +1     
============================================
  Files          5038     5404     +366     
  Lines        443875   473417   +29542     
  Branches      52607    58747    +6140     
============================================
+ Hits          70139    71416    +1277     
- Misses       365934   394054   +28120     
- Partials       7802     7947     +145     
Flag Coverage Δ
uitests 4.30% <ø> (?)
unittests 15.80% <ø> (+<0.01%) ⬆️

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.

@yadvr yadvr added this to the 4.19.2.0 milestone Oct 16, 2024
@yadvr yadvr requested a review from vishesh92 October 16, 2024 05:12
@vishesh92 vishesh92 mentioned this pull request Oct 16, 2024
9 tasks
Copy link
Copy Markdown
Member

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@vishesh92 vishesh92 left a comment

Choose a reason for hiding this comment

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

clgtm. And the UI build is successful.

@vishesh92 vishesh92 merged commit 9661060 into apache:4.19 Oct 16, 2024
@yadvr
Copy link
Copy Markdown
Member

yadvr commented Oct 16, 2024

cc @JoaoJandre fwd-merging this build/UI failure on main

dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Oct 24, 2024
weizhouapache added a commit to weizhouapache/cloudstack that referenced this pull request Nov 6, 2024
* Session Token Invalidation on Logout

* fix quota resource access validation

* Validate QCOW2 on upload and register

* util: check JSESSIONID in cookies if user is passed

* Fix Vue devServer after CSRF fix

* UI: fix unit tests (apache#9798)

(cherry picked from commit 9661060)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

---------

Co-authored-by: Daan Hoogland <daan@onecht.net>
Co-authored-by: Daniel Augusto Veronezi Salvador <gutoveronezi@apache.org>
Co-authored-by: Wei Zhou <weizhou@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants