Skip to content

Add ToolStripMenuItem test UI in WinformsControlTests#10914

Merged
LeafShi1 merged 2 commits intodotnet:mainfrom
LeafShi1:AddTestForToolStripMenuItem
Feb 22, 2024
Merged

Add ToolStripMenuItem test UI in WinformsControlTests#10914
LeafShi1 merged 2 commits intodotnet:mainfrom
LeafShi1:AddTestForToolStripMenuItem

Conversation

@LeafShi1
Copy link
Member

@LeafShi1 LeafShi1 commented Feb 20, 2024

Related #10834

Proposed changes

  • Add ToolStripMenuItem test in WinformsControlTests

Customer Impact

  • ToolStripMenuItem can be tested in project WinformsControlTests

Regression?

  • No

Risk

  • Minimal

Screenshots

Before

image

After

image

Test methodology

  • Manually

Test environment(s)

  • .net 9.0.0-preview.2.24116.2
Microsoft Reviewers: Open in CodeFlow

@LeafShi1 LeafShi1 requested a review from a team as a code owner February 20, 2024 09:00
Tanya-Solyanik
Tanya-Solyanik previously approved these changes Feb 20, 2024
Copy link
Contributor

@Tanya-Solyanik Tanya-Solyanik left a comment

Choose a reason for hiding this comment

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

This looks good, but the Form might be more readable if a single ToolsStrip is broken into several, one under the other.

@codecov
Copy link

codecov bot commented Feb 20, 2024

Codecov Report

Attention: 59 lines in your changes are missing coverage. Please review.

Comparison is base (852f7ef) 73.15679% compared to head (5d65026) 73.14115%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #10914         +/-   ##
===================================================
- Coverage   73.15679%   73.14115%   -0.01565%     
===================================================
  Files           3087        3090          +3     
  Lines         633665      633646         -19     
  Branches       47402       47396          -6     
===================================================
- Hits          463569      463456        -113     
- Misses        166587      166673         +86     
- Partials        3509        3517          +8     
Flag Coverage Δ
Debug 73.14115% <0.00000%> (-0.01565%) ⬇️
integration 18.21231% <ø> (-0.01478%) ⬇️
production 46.59253% <ø> (-0.02679%) ⬇️
test 94.97859% <0.00000%> (-0.01587%) ⬇️
unit 43.50205% <ø> (-0.02726%) ⬇️

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

@Tanya-Solyanik Tanya-Solyanik added the ready-to-merge PRs that are ready to merge but worth notifying the internal team. label Feb 21, 2024
@LeafShi1 LeafShi1 merged commit 822e882 into dotnet:main Feb 22, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0 Preview2 milestone Feb 22, 2024
@dotnet-policy-service dotnet-policy-service bot removed the ready-to-merge PRs that are ready to merge but worth notifying the internal team. label Feb 22, 2024
@Syareel-Sukeri
Copy link
Contributor

Tested the WinFormsControlTest in the main branch of winforms repo. We can see the added ToolStripMenuItems as following screenshot.
image

KlausLoeffelmann pushed a commit to KlausLoeffelmann/winforms that referenced this pull request Mar 5, 2024
* Add ToolStripMenuItem test UI in WinformsControlTests

* Update the layout of the ToolStrip test page
@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 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.

4 participants