diff --git a/extension.js b/extension.js index 8d515a6..2cd97c2 100644 --- a/extension.js +++ b/extension.js @@ -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! diff --git a/tests/run-test.sh b/tests/run-test.sh index e751dfb..7709746 100755 --- a/tests/run-test.sh +++ b/tests/run-test.sh @@ -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!" }