Permalink
Browse files

FBTest fix on Mac: commandLine/3363 (there could be better API in FBT…

…est)
  • Loading branch information...
1 parent e7c4cff commit a7ece3deca440fa0b2a76e7f3d3f32cdd8301d38 @janodvarko janodvarko committed Oct 5, 2012
Showing with 10 additions and 1 deletion.
  1. +10 −1 tests/content/commandLine/3363/issue3363.js
@@ -34,7 +34,16 @@ function runTest()
FBTest.testDone("issue3363.DONE");
});
- FBTest.executeCommand(command);
+ // xxxHonza: the method uses internaly sendChare to type the
+ // command char by char. But, the command is this case is too long
+ // and it causes timout.
+ //FBTest.executeCommand(command);
+
+ // xxxHonza: Set the text directly, there could be better FBTest API for it.
+ FBTest.clearCommand();
+ var cmdLine = FW.Firebug.CommandLine.getSingleRowCommandLine();
+ cmdLine.value = command;
+ FBTest.sendKey("RETURN", "fbCommandLine");
});
});
}

0 comments on commit a7ece3d

Please sign in to comment.