🔧 Give a bit more time to the tests
This commit is contained in:
+2
-2
@@ -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
@@ -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!"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user