🔧 Give a bit more time to the tests

This commit is contained in:
Simon Schneegans
2023-11-21 21:35:27 +01:00
parent 6b135aa2b1
commit 605db5ff5d
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -614,10 +614,10 @@ export default class BurnMyWindows extends Extension {
}
});
// To make things deterministic during testing, we set the effect duration to 5
// To make things deterministic during testing, we set the effect duration to 8
// seconds.
const duration = testMode ?
5000 :
8000 :
profile.settings.get_int(effect.constructor.getNick() + '-animation-time');
// Finally start the animation!
+2 -2
View File
@@ -140,10 +140,10 @@ test_effect() {
sleep 1
do_in_pod gnome-terminal
sleep 3
sleep 4
find_target "${1}-open-${SESSION}-${FEDORA_VERSION}.png" "Failed to test ${1} window open effect!"
send_keystroke "Alt+F4"
sleep 3
sleep 4
find_target "${1}-close-${SESSION}-${FEDORA_VERSION}.png" "Failed to test ${1} window close effect!"
}