Example 1: Checking that a Twitter Bootstrap modal has opened.
The modal already exists on the page but is hidden with CSS until the modal is opened. So how do I verify that the modal actually opened?
Example 2: Checking that a user error message div was displayed.
The error message div always exists but is hidden with CSS until it is needed. How do I verify that the message is visible?