pharo-spec / Spec

Spec is a framework in Pharo for describing user interfaces.
MIT License
62 stars 65 forks source link

Generalize SpPresenterFocusOrderTest for other backends #1564

Open tinchodias opened 5 months ago

tinchodias commented 5 months ago

The tests are general, but the implementation of pressTab and pressShiftTab are Morphic-specific. This code could be moved to the SpMorphicBackendForTest, as it happens for the case of click and double-click.

https://github.com/pharo-spec/Spec/blob/9288ae4f9cd03d6bc5953cdf9e8d74225db3d496/src/Spec2-Morphic-Backend-Tests/SpPresenterFocusOrderTest.class.st#L34-L62