Files
nixpkgs/nixos/tests/zoom-us.nix
K900 0c816328ae zoom-us: remove mesa dependency and questionable test
The NixOS test covers the same use case, but has a correctly set up,
actually-graphical environment without the limitations of xvfb-run.
2026-05-10 10:44:20 +03:00

21 lines
440 B
Nix

{ 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")
machine.sleep(20)
machine.wait_for_window("Zoom Workplace")
'';
}