tast: Fix Crostini app display density test.

The Crostini app display density test is failing on the boards that have
primary display scale factor of 1.0. The X11_demo app shows the same
window size in high or low display density setting on that condition.
This fix uses the scale factor to treat those boards differently.
BUG=chromium:839242; chromium:920701
TEST=Ran the tast test on both eve and kefka machines.

Change-Id: I3dd833b83a666824c952dc0bd404cba7919b66dc
Reviewed-on: https://chromium-review.googlesource.com/1413872
Commit-Ready: Tim Zheng <timzheng@chromium.org>
Tested-by: Tim Zheng <timzheng@chromium.org>
Reviewed-by: Jeffrey Kardatzke <jkardatzke@google.com>
1 file changed
tree: 92daff0e1f106c345a779b430abbc21919139295
  1. src/
  2. tools/
  3. .gitignore
  4. OWNERS
  5. PRESUBMIT.cfg
  6. README.md
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • src/chromiumos/tast/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - Code related to remote (i.e. off-device or “server”) tests.
      • bundles/ - Remote test bundles.
        • cros/ - The “cros” remote test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by remote tests.

Shared code, the main tast executable, the local_test_runner and remote_test_runner executables responsible for running bundles, and documentation are located in the tast repository.

GoDoc