forked from mirrors/nixpkgs
nixos/tests/phosh: add subtest to check the on-screen keyboard
This commit is contained in:
parent
b259851e21
commit
cc16ce5945
|
@ -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")
|
||||
'';
|
||||
})
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue