zoom-us: allow to select xdg-desktop-portal packages (#403064)

This commit is contained in:
Philip Taron 2025-05-23 11:48:26 -07:00 committed by GitHub
commit 063f43f2db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 139 additions and 11 deletions

View file

@ -1504,6 +1504,7 @@ in
zipline = runTest ./zipline.nix;
zoneminder = runTest ./zoneminder.nix;
zookeeper = runTest ./zookeeper.nix;
zoom-us = runTest ./zoom-us.nix;
zram-generator = runTest ./zram-generator.nix;
zrepl = runTest ./zrepl.nix;
zsh-history = runTest ./zsh-history.nix;

18
nixos/tests/zoom-us.nix Normal file
View file

@ -0,0 +1,18 @@
{ hostPkgs, lib, ... }:
{
name = "zoom-us";
nodes.machine =
{ pkgs, ... }:
{
imports = [ ./common/x11.nix ];
programs.zoom-us.enable = true;
};
testScript = ''
machine.succeed("which zoom") # fail early if this is missing
machine.wait_for_x()
machine.execute("zoom >&2 &")
machine.wait_for_window("Zoom Workplace")
'';
}