pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.21k stars 355 forks source link

SpWorldPresenterTest run leaves World with white background #12517

Open astares opened 1 year ago

astares commented 1 year ago

In latest Pharo 11 just run the SpWorldPresenterTest either in the browser or in the Test runner

and you will notice that the world color changes from the usual gray background to white. So while the test is green it leaves noise to the image and does not restore the state before running the test.

You can easily see the effect if you change the color to blue and run the test:

World color: Color blue.
World doOneCycleNow.
2 seconds wait.
SpWorldPresenterTest suite run
astares commented 1 year ago

image

astares commented 1 year ago

So similar to #12478 this issue #12517 here leaves the image polluted when running the test which is not wanted