You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for working on this great, easy-to-use library. I'm grateful for the time you spend on this.
I have a question I couldn't figure out myself from reading the code: Is the history of past growls stored and accessible somewhere in Growl or $.growl? I'm using Capybara/Selenium as a testing framework, and I'd like to introspect the DOM or JavaScript objects to confirm that a growl did appear appropriately to the user. For example, when a user updates an AJAX form, I show a growl that says "Your settings were saved." I want to make sure that message pops up before continuing to check other things on the page.
Because I want growls to disappear, sometimes there's a race condition between the growls disappearing and my test framework looking for the growls on the page (i.e. the growl disappears before my test framework can verifying that it was ever there).
Thanks for any guidance you can provide on this. I'd be great to have a deterministic way to verify that a growl did pop up on the page.
–Ben
The text was updated successfully, but these errors were encountered:
Hi, thanks for working on this great, easy-to-use library. I'm grateful for the time you spend on this.
I have a question I couldn't figure out myself from reading the code: Is the history of past growls stored and accessible somewhere in
Growl
or$.growl
? I'm using Capybara/Selenium as a testing framework, and I'd like to introspect the DOM or JavaScript objects to confirm that a growl did appear appropriately to the user. For example, when a user updates an AJAX form, I show a growl that says "Your settings were saved." I want to make sure that message pops up before continuing to check other things on the page.Because I want growls to disappear, sometimes there's a race condition between the growls disappearing and my test framework looking for the growls on the page (i.e. the growl disappears before my test framework can verifying that it was ever there).
Thanks for any guidance you can provide on this. I'd be great to have a deterministic way to verify that a growl did pop up on the page.
–Ben
The text was updated successfully, but these errors were encountered: