The logs remain on screen until I re-run the test or start a new test etc same as default logs behaviour. And they are seen in screenshots in CI, as I have a few very large tests and this logging made it easier to see exactly where the issue occured.