nixosTests.domination: fix the test

This commit is contained in:
Francesco Gazzetta 2022-10-12 09:32:06 +02:00 committed by Vladimír Čunát
parent 19d127f8c8
commit b6f2a1382d
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -20,7 +20,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
machine.wait_for_x()
machine.execute("domination >&2 &")
machine.wait_for_window("Menu")
machine.wait_for_text("New Game")
machine.wait_for_text(r"(New Game|Start Server|Load Game|Help Manual|Join Game|About|Play Online)")
machine.screenshot("screen")
'';
})