[Pkg-mozext-commits] [firebug] 03/82: FBTest: another try to fix Cookies test failures
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:45:35 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag fbtest-1.11.2
in repository firebug.
commit 8d53af73315ba204938a04d6c6d18c44c3407452
Author: Jan Odvarko <odvarko at gmail.com>
Date: Sun Dec 16 19:16:18 2012 +0100
FBTest: another try to fix Cookies test failures
---
tests/content/net/5714/issue5714.js | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/tests/content/net/5714/issue5714.js b/tests/content/net/5714/issue5714.js
index 70cab43..dcc4537 100644
--- a/tests/content/net/5714/issue5714.js
+++ b/tests/content/net/5714/issue5714.js
@@ -9,13 +9,26 @@ function runTest()
{
FBTest.waitForDisplayedElement("net", null, function(row)
{
- FBTest.waitForDisplayedElement("net", null, function(row)
+ var config = {
+ tagName: "tr",
+ classes: "netRow category-xhr hasHeaders loaded",
+
+ // There is already one request displayed in the net panel
+ // (the one we want to resend) so, make sure the test is
+ // waiting for new entry (not the existing one)
+ onlyMutations: true
+ };
+
+ FBTest.waitForDisplayedElement("net", config, function(row)
{
FBTest.progress("HTTP request has been resent!");
FBTest.testDone("issue5714.DONE");
});
- FBTest.executeContextMenuCommand(row, "fbNetResend");
+ FBTest.executeContextMenuCommand(row, "fbNetResend", function()
+ {
+ FBTest.progress("Context menu action executed");
+ });
});
FBTest.click(win.document.getElementById("testButton"));
--
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