about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorTom Fitzhenry <tom@tom-fitzhenry.me.uk>2024-03-17 13:23:52 +1100
committertomf <tom@tom-fitzhenry.me.uk>2024-04-22 00:56:03 +1000
commit00ad4eba21cb456b0d6262ad3328c24cf77ec417 (patch)
treef375a3fd898415c10ba12843df07cb3ebc5bfa0f /nixos/tests
parent41992852aa6862dcd63681b0c0433be3818a8ea0 (diff)
nixos/tests/phosh: check phosh-mobile-settings starts
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/phosh.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/nixos/tests/phosh.nix b/nixos/tests/phosh.nix
index 78d6da31beee1..d505f0ffc5245 100644
--- a/nixos/tests/phosh.nix
+++ b/nixos/tests/phosh.nix
@@ -25,6 +25,10 @@ in {
         };
       };
 
+      environment.systemPackages = [
+        pkgs.phosh-mobile-settings
+      ];
+
       systemd.services.phosh = {
         environment = {
           # Accelerated graphics fail on phoc 0.20 (wlroots 0.15)
@@ -63,8 +67,13 @@ in {
         phone.screenshot("03launcher")
 
     with subtest("Check the on-screen keyboard shows"):
-        phone.send_chars("setting", delay=0.2)
+        phone.send_chars("mobile setting", delay=0.2)
         phone.wait_for_text("123") # A button on the OSK
         phone.screenshot("04osk")
+
+    with subtest("Check mobile-phosh-settings starts"):
+       phone.send_chars("\n")
+       phone.wait_for_text("Tweak advanced mobile settings");
+       phone.screenshot("05settings")
   '';
 })