8000 Prevent from triggering notification animation in tests by Czaki · Pull Request #7802 · napari/napari · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Prevent from triggering notification animation in tests #7802

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

Merged
merged 2 commits into from
Apr 14, 2025

Conversation

Czaki
Copy link
Collaborator
@Czaki Czaki commented Apr 8, 2025

References and relevant issues

extracted from #7780

Description

Do not start slide_in animation for notification in tests.
Prevent from creating a notification dialog if the current main window is hidden.

@Czaki Czaki added the maintenance PR with maintance changes, label Apr 8, 2025
@Czaki Czaki requested review from DragaDoncila, psobolewskiPhD and a team as code owners April 8, 2025 08:52
@github-actions github-actions bot added the qt Relates to qt label Apr 8, 2025
Comment on lines +499 to +500
or ConfirmCloseDialog(self, quit_app).exec_()
== QDialog.DialogCode.Accepted
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is not related to the main topic of PR, but I put it here to not create single line PR.

Just proper Enum usage.

Copy link
codecov bot commented Apr 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.93%. Comparing base (7007a10) to head (67b47a7).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7802      +/-   ##
==========================================
- Coverage   92.98%   92.93%   -0.06%     
==========================================
  Files         633      633              
  Lines       59431    59433       +2     
==========================================
- Hits        55263    55233      -30     
- Misses       4168     4200      +32     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Czaki Czaki added this to the 0.6.0 milestone Apr 14, 2025
@Czaki Czaki added the ready to merge Last chance for comments! Will be merged in ~24h label Apr 14, 2025
@jni jni changed the title Prevent from triggerering notification animation in test Prevent from triggering notification animation in tests Apr 14, 2025
@jni jni merged commit 19729b8 into napari:main Apr 14, 2025
43 checks passed
@jni jni deleted the improve_tests branch April 14, 2025 14:08
@github-actions github-actions bot removed the ready to merge Last chance for comments! Will be merged in ~24h label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PR with maintance changes, qt Relates to qt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0