twifty / atom-phpunit-integrator

PHPUnit for the Atom editor
MIT License
1 stars 1 forks source link

Failed test output that is too wide becomes unreachable #39

Closed Gert-dev closed 6 years ago

Gert-dev commented 6 years ago

It appears that failed test output that is rather wide is currently unreachable; scrolling horizontally does not appear to work.

Either scrolling or soft wrapping should probably do the trick :-).

twifty commented 6 years ago

In the console? master has soft wrapping enabled, it'll be in the next patch. Though I can't think why horizontal scrolling isn't working. Is this something that broke recently? I ask because it's been working for me for quite some time.

Gert-dev commented 6 years ago

Hmm, I forget to mention this is in the tests tree, not in the console. I do recall horizontal scrolling working in the tests tree as well, but it must have been broken somewhere more recently.

twifty commented 6 years ago

Ahh, That makes sense. Horizontal scrolling on that component will be a challenge due to the layout of the titles and times. Anything I do will have to be applied to the error text itself and not the tree as a whole.

I'll play with it later and see what I can come up with.

twifty commented 6 years ago

Horizontal scrolling looks out of place. The error content had a white-space: pre-wrap attribute, I added a word-wrap: break-word to prevent the overflow.