about summary refs log tree commit diff
path: root/nixos/tests/phosh.nix
diff options
context:
space:
mode:
authorTom Fitzhenry <tom@tom-fitzhenry.me.uk>2022-11-23 19:42:21 +1100
committerRick van Schijndel <Mindavi@users.noreply.github.com>2022-11-26 10:17:04 +0100
commitcc16ce5945a58c207f13b67256b58433f1c1f576 (patch)
treeea8baf6d3ccc3019ec5a1076f3d5f307a694367f /nixos/tests/phosh.nix
parentb259851e215acc88ce7e4601df5f115ce5a40945 (diff)
nixos/tests/phosh: add subtest to check the on-screen keyboard
Diffstat (limited to 'nixos/tests/phosh.nix')
-rw-r--r--nixos/tests/phosh.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/tests/phosh.nix b/nixos/tests/phosh.nix
index 6c6357f580968..25bf4848542e6 100644
--- a/nixos/tests/phosh.nix
+++ b/nixos/tests/phosh.nix
@@ -61,5 +61,10 @@ in {
 
         phone.wait_for_text("All Apps")
         phone.screenshot("03launcher")
+
+    with subtest("Check the on-screen keyboard shows"):
+        phone.send_chars("setting", delay=0.2)
+        phone.wait_for_text("123") # A button on the OSK
+        phone.screenshot("04osk")
   '';
 })