Enable scrolling of test results

A minor annoyance I came across when testing an Ionic 4 application is that the test results do not scroll, so I couldn’t see past one screen’s worth of them.

To work around this, I created a file called test.scss that contains just this:

body { position: inherit }

…and added it to the styles stanza of the test section of my angular.json. This overrides Ionic’s position: fixed which was disabling scrolling.

1 Like