1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 07:17:59 +01:00

Fix tab number updates in FF36. Closes issue 300.

This commit is contained in:
Kris Maglione
2011-01-26 16:22:29 -05:00
parent a6fe97b787
commit 218562e21b
48 changed files with 498 additions and 8666 deletions

View File

@@ -1,33 +0,0 @@
var dactyllib = require("dactyl");
var setupModule = function (module) {
controller = mozmill.getBrowserController();
dactyl = new dactyllib.Controller(controller);
};
var teardownTest = function (test) {
dactyl.closeMessageWindow();
};
var testRunCommand_ExecutingOutputCommand_OutputDisplayed = function () {
const EXPECTED_OUTPUT = "foobar";
const COMMAND = "run echo " + EXPECTED_OUTPUT;
dactyl.runExCommand(COMMAND);
dactyl.assertMessageWindow(RegExp(EXPECTED_OUTPUT));
};
var testRunCommand_RepeatArg_LastCommandRepeated = function () {
const EXPECTED_OUTPUT = /foobar$/; // XXX
const COMMAND = "run echo 'foobar'";
const REPEAT_COMMAND = "run!";
dactyl.runExCommand(COMMAND);
dactyl.closeMessageWindow();
dactyl.runExCommand(REPEAT_COMMAND);
dactyl.assertMessageWindow(EXPECTED_OUTPUT);
};
// vim: sw=4 ts=8 et: