Skip to content

Flaky tests in windows with some controls #20409

@mattleibow

Description

@mattleibow

Description

Related to:

The PR tried to fix this by attaching to the window, and seems to have worked on some machines. However, the screen capture logic already attached to the window. It may have been the double logic that slowed down the test enough locally to finish the animations

For example, the switch tests have an initial state of "on" but it appears the WinUI control does not and thus will animate once it is in the view. You can even spot the animation if you are fast enough.

We need to slow down the test or wait a bit for the animations to complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Taskneither bug nor feature but something that needs to be done in support of eitherarea-testingUnit tests, device teststesting-flakiness

    Type

    No type

    Projects

    Status

    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions