superqt icon indicating copy to clipboard operation
superqt copied to clipboard

Two tests for eliding_label fail at high resolution screens

Open MosGeo opened this issue 4 years ago • 1 comments

Describe the bug I am noting that two tests in the eliding_label fails at my laptop. I believe it is related to the fact I am using high resolution screen with some scaling similar to #26

To Reproduce Steps to reproduce the behavior:

  1. Test test_eliding_label.py at high resolution laptop

Expected behavior Test pass

Screenshots image

Desktop (please complete the following information):

  • OS with version: Windows 10 64bit
  • Qt Backend: PySide2
  • Python version: Python 3.8.10 64bit
  • Environment is setup using the development requirements listed in the repository

MosGeo avatar Nov 05 '21 09:11 MosGeo

Thanks, yeah those are definitely flaky tests. Need to come up with a better way to know expectations. I suspect we can use pixel metrics and stuff, but it was a lot of work just to make sure that we were roughly eliding.

Thanks for letting me know, needs fixing

tlambert03 avatar Nov 05 '21 12:11 tlambert03