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

[Backport 2.x] [Dashboard De-Angular] Add unit tests for dashboard_listing and dashboard_top_nav #4761

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 86a3f1e from #4640.

…oard_top_nav (#4640)

* Add unit tests

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* fix other unit tests and update snapshots

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* update snapshots

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* fix osdUrlStateStorage

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* fix snapshots

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

---------

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
(cherry picked from commit 86a3f1e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Merging #4761 (fbbb530) into 2.x (d8f156f) will increase coverage by 0.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              2.x    #4761      +/-   ##
==========================================
+ Coverage   66.12%   66.27%   +0.15%     
==========================================
  Files        3315     3319       +4     
  Lines       63909    63924      +15     
  Branches    10126    10127       +1     
==========================================
+ Hits        42259    42367     +108     
+ Misses      19170    19144      -26     
+ Partials     2480     2413      -67     
Flag Coverage Δ
Linux_1 34.77% <ø> (ø)
Linux_2 55.10% <ø> (ø)
Linux_3 43.32% <100.00%> (+0.28%) ⬆️
Linux_4 35.08% <ø> (ø)
Windows_1 34.79% <ø> (ø)
Windows_2 55.06% <ø> (ø)
Windows_3 43.32% <100.00%> (+0.29%) ⬆️
Windows_4 35.08% <ø> (ø)

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

Files Changed Coverage Δ
...lication/utils/use/use_saved_dashboard_instance.ts 72.91% <ø> (ø)
...lugins/dashboard/public/application/utils/mocks.ts 100.00% <100.00%> (ø)

... and 27 files with indirect coverage changes

@abbyhu2000 abbyhu2000 merged commit 9eb74f6 into 2.x Aug 28, 2023
@github-actions github-actions bot deleted the backport/backport-4640-to-2.x branch August 28, 2023 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports dashboards de-angular de-angularize work distinguished-contributor needs more info Requires more information from poster test:unit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants