Hi there!
I've been struggling with this a while and can't quite figure out what's happening. We render certain flash alerts in our web app and there's a Cucumber step to assert the message. These messages are in normal case, however Capybara don't match them sometimes because it evaluates "visible" text as upper case. Example:
```
31] pry(#<Cucumber::Rails::World>)> find('#flash-messages').text(:all)
=> "× Credit card details were successfully stored."
[32] pry(#<Cucumber::Rails::World>)> find('#flash-messages').text(:visible)
=> "×\nCREDIT CARD DETAILS WERE SUCCESSFULLY STORED."
```
In the browser, the text looks just fine:
Also:
```
> document.querySelector('#flash-messages .container').innerText
< "× Credit card details were successfully stored."
```
The project has 2 or 3 different ways to render these alerts (it's a very old project!) and this "upper case" problem doesn't always happen.
Any ideas / suggestions how to approach this?