Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-7049

Implement QTest::qEnsureLeftCorner() to set and ensure window's position to the left corner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • dev
    • Quality Assurance
    • None
    • Linux/X11

    Description

      Implement QTest::qEnsureLeftCorner() to set and ensure the window's position to the left corner of the screen.

      Many cases of flakiness observed on Opensuse are due to un-updated position and frameposition of a window. This flakiness can be fixed by assigning a fixed position and verifying that the window's position corresponds to it.

      The helper test function first sets a position using the available top-left corner of the screen and then verifies that the position and framePosition have been updated.

       

      List of flaky tests where that function could be used:

      • Opensuse
      •  

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            fredericl Frederic Lefebvre
            fredericl Frederic Lefebvre
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes