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

Need some kind of proxy for alerts #4

Open
noahgibbs opened this issue Nov 11, 2023 · 0 comments
Open

Need some kind of proxy for alerts #4

noahgibbs opened this issue Nov 11, 2023 · 0 comments

Comments

@noahgibbs
Copy link
Collaborator

Alerts aren't drawables, and don't even return a drawable object when created. There's no easy way for Shoes3 code to even dismiss them programmatically.

Shoes-Spec test code needs a way to verify their existence -- query them, check their text, and dismiss them. The obvious way to do that is an alert() finder function that returns an alert proxy, pretty much like how it works for a button. Since Shoes doesn't have an equivalent Shoes::Type::Alert object, the proxy will likely need to only exist in test code.

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

1 participant