Skip to content

UI Tests only run at 100% DPI #4143

Open
@michael-hawker

Description

@michael-hawker

Describe the bug

@azchohfi had discovered that our UI Tests assume there's a 100% DPI set for them to run on. The InputHelper is moving in absolute pixels, but the app is looking for the adjusted movement.

Alex has applied a fix in the winui branch, @RosarioPulella can you look at translating that back to our UWP AppService in the main branch? Thanks! Reach out to Alex if you need more info.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Set Monitor DPI to something other than 100%
  2. Run full build in commandline
  3. Run UI Tests
  4. Fail

Expected behavior

Tests can run at any resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛An unexpected issue that highlights incorrect behaviortesting 🏗️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions