Opened 10 years ago

Closed 10 years ago

#9650 closed defect (wontfix)

Firefox: dijit/tests/robot/Tree_dnd.html failure

Reported by: Douglas Hays Owned by: haysmark
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

I ran dijit/tests/robot/Tree_dnd.html on Firefox 2 and got 1 failure:

 _AssertFailure: file:///C:/ajax/dojocommit/dojo/_base/_loader/bootstrap.js:563 doh._AssertFailure: assertEqual() failed: expected 2 but got 3 with hint: 2 categories under foods
[ Error: assertEqual() failed: expected 2 but got 3 with hint: 2 categories under foods ]
ERROR IN: (function () {var d = new doh.Deferred;var vegetablesTreeNode = findTreeNode("collectionsTree", "Vegetables (0)"), citrusTreeNode = findTreeNode("collectionsTree", "Citrus (1)"), citrusTreeNodeSize = dojo.contentBox(citrusTreeNode.domNode);dijit.scrollIntoView(vegetablesTreeNode.domNode);doh.robot.mouseMoveAt(vegetablesTreeNode.labelNode, 500, 1000);doh.robot.mousePress({left:true}, 500);doh.robot.mouseMoveAt(citrusTreeNode.labelNode, 1000, 2000, 50, citrusTreeNodeSize.h - 2);doh.robot.mouseRelease({left:true}, 500);doh.robot.sequence(d.getTestCallback(function () {var myStore = dojo.global.myStore;var foodsItemChildren = getNamesOfChildrenOfItem("Foods").categories;doh.is(2, foodsItemChildren.length, "2 categories under foods");doh.is("Fruits", foodsItemChildren[0]);doh.is("Cereals", foodsItemChildren[1]);var fruitsItemChildren = getNamesOfChildrenOfItem("Fruits").categories;doh.is(2, fruitsItemChildren.length, "2 categories under fruits");doh.is("Citrus", fruitsItemChildren[0]);doh.is("Vegetables", fruitsItemChildren[1]);var foodsTreeNode = findTreeNode("collectionsTree", "Foods (1)"), foodsTreeNodeChildren = foodsTreeNode.getChildren();doh.is(2, foodsTreeNodeChildren.length, "2 TreeNode children for foods");doh.is("Fruits (2)", innerText(foodsTreeNodeChildren[0].labelNode));doh.is("Cereals (0)", innerText(foodsTreeNodeChildren[1].labelNode));var fruitsTreeNode = findTreeNode("collectionsTree", "Fruits (2)"), fruitsTreeNodeChildren = fruitsTreeNode.getChildren();doh.is(2, fruitsTreeNodeChildren.length, "2 TreeNode children for fruits");doh.is("Citrus (1)", innerText(fruitsTreeNodeChildren[0].labelNode));doh.is("Vegetables (0)", innerText(fruitsTreeNodeChildren[1].labelNode));}), 500);return d;})
Total time for GROUP " re-parent an item " is 16 ms
FAILED test: drag 'Vegetables' to be after 'Citrus' (reordering) 16 ms

Worked OK on IE6.

Change History (1)

comment:1 Changed 10 years ago by bill

Resolution: wontfix
Status: newclosed

FF2 isn't supported anymore and I think this is working fine on FF3.

Note: See TracTickets for help on using tickets.