nixos/tests/phosh: check phosh-mobile-settings starts

+15 -2
+10 -1
nixos/tests/phosh.nix
··· 25 }; 26 }; 27 28 systemd.services.phosh = { 29 environment = { 30 # Accelerated graphics fail on phoc 0.20 (wlroots 0.15) ··· 63 phone.screenshot("03launcher") 64 65 with subtest("Check the on-screen keyboard shows"): 66 - phone.send_chars("setting", delay=0.2) 67 phone.wait_for_text("123") # A button on the OSK 68 phone.screenshot("04osk") 69 ''; 70 })
··· 25 }; 26 }; 27 28 + environment.systemPackages = [ 29 + pkgs.phosh-mobile-settings 30 + ]; 31 + 32 systemd.services.phosh = { 33 environment = { 34 # Accelerated graphics fail on phoc 0.20 (wlroots 0.15) ··· 67 phone.screenshot("03launcher") 68 69 with subtest("Check the on-screen keyboard shows"): 70 + phone.send_chars("mobile setting", delay=0.2) 71 phone.wait_for_text("123") # A button on the OSK 72 phone.screenshot("04osk") 73 + 74 + with subtest("Check mobile-phosh-settings starts"): 75 + phone.send_chars("\n") 76 + phone.wait_for_text("Tweak advanced mobile settings"); 77 + phone.screenshot("05settings") 78 ''; 79 })
+5 -1
pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix
··· 1 { lib 2 , stdenv 3 , fetchurl 4 , directoryListingUpdater 5 , meson 6 , ninja ··· 59 ln -s '${phosh}/lib/phosh' "$out/lib/phosh" 60 ''; 61 62 - passthru.updateScript = directoryListingUpdater { }; 63 64 meta = with lib; { 65 description = "A settings app for mobile specific things";
··· 1 { lib 2 , stdenv 3 , fetchurl 4 + , nixosTests 5 , directoryListingUpdater 6 , meson 7 , ninja ··· 60 ln -s '${phosh}/lib/phosh' "$out/lib/phosh" 61 ''; 62 63 + passthru = { 64 + tests.phosh = nixosTests.phosh; 65 + updateScript = directoryListingUpdater { }; 66 + }; 67 68 meta = with lib; { 69 description = "A settings app for mobile specific things";