nixosTests.sway: skip nagbar test on aarch64-linux for now (#416317)

+11 -7
+11 -7
nixos/tests/sway.nix
··· 181 181 machine.send_key("alt-shift-q") 182 182 machine.wait_until_fails("pgrep --exact gpg") 183 183 184 - # Test swaynag: 185 - def get_height(): 186 - return [node['rect']['height'] for node in walk(swaymsg(type="get_tree")) if node['focused']][0] 187 184 188 - before = get_height() 189 - machine.send_key("alt-shift-e") 190 - retry(lambda _: get_height() < before) 191 - machine.screenshot("sway_exit") 185 + ${lib.optionalString pkgs.stdenv.hostPlatform.isx86_64 '' 186 + # Test swaynag: 187 + # Broken on aarch64-linux, see https://github.com/NixOS/nixpkgs/issues/416217 188 + def get_height(): 189 + return [node['rect']['height'] for node in walk(swaymsg(type="get_tree")) if node['focused']][0] 190 + 191 + before = get_height() 192 + machine.send_key("alt-shift-e") 193 + retry(lambda _: get_height() < before) 194 + machine.screenshot("sway_exit") 195 + ''} 192 196 193 197 swaymsg("exec swaylock") 194 198 machine.wait_until_succeeds("pgrep -xf swaylock")