···6969 # https://github.com/elementary/gala/pull/2140
7070 for i in ["gala", "io.elementary.wingpanel", "io.elementary.dock", "gsd-media-keys", "gsd-xsettings", "io.elementary.desktop.agent-polkit"]:
7171 machine.wait_until_succeeds(f"pgrep -f {i}")
7272- for i in ["io.elementary.files.xdg-desktop-portal.service"]:
7373- machine.wait_for_unit(i, "${user.name}")
7272+ machine.wait_until_succeeds("pgrep -xf ${pkgs.pantheon.elementary-files}/libexec/io.elementary.files.xdg-desktop-portal")
74737574 with subtest("Check if various environment variables are set"):
7675 cmd = "xargs --null --max-args=1 echo < /proc/$(pgrep -xf ${pkgs.pantheon.gala}/bin/gala)/environ"
+1-2
nixos/tests/pantheon.nix
···6060 machine.wait_until_succeeds(f"pgrep -f {i}")
6161 for i in ["gala", "io.elementary.wingpanel", "io.elementary.dock"]:
6262 machine.wait_for_window(i)
6363- for i in ["io.elementary.files.xdg-desktop-portal.service"]:
6464- machine.wait_for_unit(i, "${user.name}")
6363+ machine.wait_until_succeeds("pgrep -xf ${pkgs.pantheon.elementary-files}/libexec/io.elementary.files.xdg-desktop-portal")
65646665 with subtest("Check if various environment variables are set"):
6766 cmd = "xargs --null --max-args=1 echo < /proc/$(pgrep -xf ${pkgs.pantheon.gala}/bin/gala)/environ"