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

Notification tests with dummy data #226

Open
snwh opened this issue Jul 31, 2024 · 7 comments
Open

Notification tests with dummy data #226

snwh opened this issue Jul 31, 2024 · 7 comments

Comments

@snwh
Copy link

snwh commented Jul 31, 2024

This is mostly a wishlist item for me when testing notifications, but having a couple tests with dummy data prefilled to simply see the notification would be very convenient for UI testing. 🙏 Often I have to reload the testing environment, especially GNOME Shell testing, and re-inputting the information for the notification test is quite tedious.

This
image

vs. this, where I'm just key mashing to fill the fields quickly for a test. :D

Screenshot from 2024-07-31 10-31-33

@bilelmoussaoui
Copy link
Owner

if you make a mockup or describe how you would like such "template" to work, i might implement it :)

@bertob
Copy link
Contributor

bertob commented Jul 31, 2024

I've run into this as well. What would be useful for my personal testing cases would be having 3-5 types of notification (no icon, no actions, actions, actions + icon), and for each of them there'd be a button that triggers a random notification with these parameters with hardcoded content (e.g. maybe there's a repertoire of 5 for each of them and they're shown in random order).

@bilelmoussaoui
Copy link
Owner

tbh this sounds like you could just use a simple bash/python script for that. ASHPD demo is not built to do what you are doing

@bertob
Copy link
Contributor

bertob commented Aug 1, 2024

The problem with bash scripts is they don't really scale - maybe it could be a separate app? 🤔

@A6GibKm
Copy link
Collaborator

A6GibKm commented Aug 1, 2024

Yeah, this seems out of scope, this is an for users that want to test portals not for automatic testing. On a different note though, we are missing an option to send an icon with the notification.

@bertob
Copy link
Contributor

bertob commented Aug 2, 2024

Filed an app-ideas issue https://gitlab.gnome.org/bertob/app-ideas/-/issues/270

@bilelmoussaoui
Copy link
Owner

Will keep this around just to have some default data to ease the testing of portals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants