Loading nixos/tests/phosh.nix +10 −1 Original line number Diff line number Diff line Loading @@ -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) Loading Loading @@ -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") ''; }) pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix +5 −1 Original line number Diff line number Diff line { lib , stdenv , fetchurl , nixosTests , directoryListingUpdater , meson , ninja Loading Loading @@ -59,7 +60,10 @@ stdenv.mkDerivation rec { ln -s '${phosh}/lib/phosh' "$out/lib/phosh" ''; passthru.updateScript = directoryListingUpdater { }; passthru = { tests.phosh = nixosTests.phosh; updateScript = directoryListingUpdater { }; }; meta = with lib; { description = "A settings app for mobile specific things"; Loading Loading
nixos/tests/phosh.nix +10 −1 Original line number Diff line number Diff line Loading @@ -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) Loading Loading @@ -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") ''; })
pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix +5 −1 Original line number Diff line number Diff line { lib , stdenv , fetchurl , nixosTests , directoryListingUpdater , meson , ninja Loading Loading @@ -59,7 +60,10 @@ stdenv.mkDerivation rec { ln -s '${phosh}/lib/phosh' "$out/lib/phosh" ''; passthru.updateScript = directoryListingUpdater { }; passthru = { tests.phosh = nixosTests.phosh; updateScript = directoryListingUpdater { }; }; meta = with lib; { description = "A settings app for mobile specific things"; Loading