3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
Tom Fitzhenry 2022-11-23 19:42:21 +11:00 committed by Rick van Schijndel
parent b259851e21
commit cc16ce5945
2 changed files with 8 additions and 0 deletions

View file

@ -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")
'';
})

View file

@ -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";