Commit cc16ce59 authored by Tom Fitzhenry's avatar Tom Fitzhenry Committed by Rick van Schijndel
Browse files

nixos/tests/phosh: add subtest to check the on-screen keyboard

parent b259851e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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")
  '';
})
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
, feedbackd
, wrapGAppsHook
, fetchpatch
, nixosTests
}:

stdenv.mkDerivation rec {
@@ -68,6 +69,8 @@ stdenv.mkDerivation rec {
    feedbackd
  ];

  passthru.tests.phosh = nixosTests.phosh;

  meta = with lib; {
    description = "A virtual keyboard supporting Wayland";
    homepage = "https://source.puri.sm/Librem5/squeekboard";