[Pkg-mozext-commits] [firebug] 43/68: FBTest fix test console/spy/5049
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:45:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag fbtest-1.11.4
in repository firebug.
commit e87b98a6500c84a55298136c65917a392e29c7ad
Author: Jan Odvarko <odvarko at gmail.com>
Date: Fri Apr 12 16:32:34 2013 +0200
FBTest fix test console/spy/5049
---
tests/content/console/spy/5049/issue5049.js | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/tests/content/console/spy/5049/issue5049.js b/tests/content/console/spy/5049/issue5049.js
index 3f9557a..3e23cea 100644
--- a/tests/content/console/spy/5049/issue5049.js
+++ b/tests/content/console/spy/5049/issue5049.js
@@ -15,7 +15,6 @@ function runTest()
waitForDisplayedElementAsync("console", options, function(row)
{
- setTimeout(function() {
var panel = FBTest.getPanel("console");
var root = panel.panelNode;
@@ -26,8 +25,6 @@ function runTest()
statuses[0].textContent);
FBTest.ok(statuses[1].textContent, "There must be a status info: " +
statuses[1].textContent);
-
- FBTrace.sysout("statuses", statuses)
}
var times = root.querySelectorAll(".spyRow .spyTime");
@@ -37,12 +34,9 @@ function runTest()
times[0].textContent);
FBTest.ok(times[1].textContent, "There must be a time info: " +
times[1].textContent);
-
- FBTrace.sysout("times", times)
}
- FBTest.testDone("issue5049.DONE");
- });
+ FBTest.testDone("issue5049.DONE");
});
// Execute test implemented on the test page.
@@ -58,6 +52,6 @@ function waitForDisplayedElementAsync(panelName, config, callback)
setTimeout(function(element)
{
callback(element);
- });
+ }, 1000);
});
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list