FLUID-3231: Tests fail in IE and Opera

Metadata

Source
FLUID-3231
Type
Bug
Priority
Critical
Status
Closed
Resolution
Won't Fix
Assignee
N/A
Reporter
Laurel Williams
Created
2009-10-06T10:13:12.000-0400
Updated
2014-03-03T11:20:11.795-0500
Versions
  1. 1.4
Fixed Versions
  1. 1.5
Component
  1. Infusion Builder

Description

Some javascript unit tests fail in IE6, IE8 and Opera (latest).

Comments

  • Laurel Williams commented 2009-10-06T10:14:00.000-0400

    Further testing revealed that this did not seem to impact the actual downloaded files or the interaction with the interface.

  • Laurel Williams commented 2009-11-03T14:10:54.000-0500

    For the record here are the problems:
    In IE6, IE 8 and Opera on XP the tests fail (4, 5, 6, 12, 13, 14 and also 8, 16) all the time.

    In addition, in IE, all tests using element.simulate("click") fail. This may indicate that the simulate code doesn't work in IE and opera at all.

    Have not been able to find any documentation on simulate.

  • Laurel Williams commented 2009-11-03T14:12:43.000-0500

    Colin suggested replacing element.simulate("click") with element.click. I tested this and found that the element.click changed the appearance of the single check box that was clicked, but the action did not propagate to fire the events to click on the dependent modules check boxes. So - unfortunately, this does not fix the problem.

  • Cindy Li commented 2010-09-21T16:07:08.980-0400

    With more tracing-down, one of the causes is this line in InfusionBuilder.js

    that.applier.modelChanged.addListener("*", function (newModel, oldModel) {...});

    Instead of sending in the new model with selected check boxes, newModel sends in the same object as oldModel. However, the real clicks on the check boxes work well. Seems that simulate(click) does not perform well with applier.modelChanged.

  • Jonathan Hung commented 2010-12-17T12:09:05.963-0500

    Fluid Infusion 1.3 Testing. Unit 34 of 274 tests failing in IE8 Win7.

    The following are failing:

    5 All
    6 All
    7 All
    9.1, 9.3
    14 All
    15 All
    16 All
    18.1
    18.2

  • James Yoon commented 2010-12-17T13:58:28.119-0500

    Fluid Infusion 1.3 Testing. Unit 34 of 274 tests failing in IE 6, IE 7, IE 8 in Windows XP.

    The following are failing:

    5 All
    6 All
    7 All
    9.1, 9.3
    14 All
    15 All
    16 All
    18.1
    18.2

  • Justin Obara commented 2014-03-03T11:20:11.784-0500

    builder.fluidproject.org has been taken down and there are no immediate plans to replace it. Currently all builds are expected to be generated directly from the grunt build scripts.

    http://fluid.2324889.n4.nabble.com/Infusion-Builder-issues-tp8926.html