From 273c6ac7bd6e0b48384d8b5c10791a1d49d582a7 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Tue, 6 Nov 2012 11:49:28 -0800 Subject: [PATCH] Made commandFactory tests not break anymore Sequences that were scheduled directly after each other, such as "a b c" and "1 2 3" would end up overlapping sometimes, producing "a b 1 c 2 3" which failed to trigger the correct commands. Change-Id: I27bb60e856e9d692a21e1587dc227f8aeb5fcf4e --- modules/ve/test/ui/ve.ui.CommandFactory.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ve/test/ui/ve.ui.CommandFactory.test.js b/modules/ve/test/ui/ve.ui.CommandFactory.test.js index e983c3a906..c14c5538cb 100644 --- a/modules/ve/test/ui/ve.ui.CommandFactory.test.js +++ b/modules/ve/test/ui/ve.ui.CommandFactory.test.js @@ -46,6 +46,8 @@ var i; chars = chars.split( ' ' ); + // Add a little time buffer between sequences so adjacent ones don't end up overlapping + sequenceSimulatorOffset += 100; /** * Utility function to avoid making functions