Closed SPlanzer closed 4 years ago
This will be because tests map map coordinates to screen coordinates and CI will have a different screen resolution.
I have raised the below question in the QGIS slack channel
RE: QGIS Testing and CI. Developing automated tests that involve transforming map coordinates to screen coordinates can see tests fail with different screen resolutions. This often sees tests the click on features (and often move them elsewhere) fail in CI due to the different resolution. For those that have written such tests (@Daniel Silk, @Pete, @Megan@Ben Cheng...?) is there a trick to ensure clicks land where they should across different resolutions?
The issue in the end was not screen resolution but QGIS throwing a blocking window asking if the user wanted to use python macros - #186 resolves this.
Tests passes when executed in QIGS locally but CI hangings.