commit | b3dc7b58cff64b260e6fcb8575ca855ad4fd7589 | [log] [tgz] |
---|---|---|
author | Oleh Lamzin <lamzin@google.com> | Thu Sep 17 15:26:57 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Sep 24 05:28:19 2020 |
tree | c7d16e23db633cd24f4bd798bc0b3b1431841b07 | |
parent | 43a5d07238d49467d5be2edeb3d1718137e212bb [diff] |
Introduce DisableScreenshots policy test Port autotest test for DisableScreenshots policy. Check whether screenshot can be taken by pressing hotkeys. Introduce helper functions into ash packages: - CloseNotifications - WaitForNotification BUG=chromium:1125556 TEST=in order to test new test itself, run: tast run localhost:9999 policy.DisableScreenshots TEST=in order to test that CloseNotifications can close multiple notifications, do: 1. rename DisableScreenshots to Screenshots 2. run DownloadRestrictions before Screenshots, because DownloadRestrictions lefts 2 notifications in the tray, so we can try close them: tast run localhost:9999 policy.DownloadRestrictions \ policy.Screenshots Change-Id: I20f0ed1c75974fa5ff0e6653075ae58bfade0292 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/2416285 Tested-by: Oleh Lamzin <lamzin@google.com> Commit-Queue: Oleh Lamzin <lamzin@google.com> Reviewed-by: Victor-Gabriel Savu <vsavu@google.com>
This repository contains integration tests that are run by Tast.
helpers/
- Source code for binaries executed by tests.local/
- Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros
by the tast-local-helpers-cros
package.src/chromiumos/tast/
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.