FLUID-2215: UI Options unit test fails

Metadata

Source
FLUID-2215
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Michelle D'Souza
Reporter
Justin Obara
Created
2009-02-10T09:01:07.000-0500
Updated
2009-03-06T09:33:50.000-0500
Versions
N/A
Fixed Versions
  1. 1.0
Component
  1. UI Options

Environments

Opera 9.5 (Mac OS 10.5)
IE6, IE7, Opera 9.5 (Win XP)
IE7 (Win Vista)
FF3, IE6 (Win 2000)

Comments

  • Justin Obara commented 2009-02-10T09:01:30.000-0500

    Bug Parade 0.8 release

  • Michelle D'Souza commented 2009-02-17T16:22:40.000-0500

    The tests were commented out for 0.8

  • Justin Obara commented 2009-02-25T08:10:28.000-0500

    It works on most browsers however

    1) On all browsers the test summary at the bottom says "0 tests of 0 failed"

    2) All tests are now failing in Opera

  • Michelle D'Souza commented 2009-02-25T13:17:54.000-0500

    The incorrect test count is related to the use of AJAX in the test. The Table of Contents tests also have the wrong total number of tests. In this case, all the tests are run with AJAX so we get a '0' count. We should be able to rewrite the tests using QUnit's 'stop' and 'start' functions which should fix this problem.

  • Justin Obara commented 2009-03-03T08:32:31.000-0500

    Tests are now passing in Opera, but still throws errors. All three errors are the same, see below.

    JavaScript - http://build.fluidproject.org/fluid/tests/fluid-tests/UIOptions-test.html
    Timeout thread: delay 0 ms
    Error:
    name: TypeError
    message: Statement on line 193: Cannot convert undefined or null to Object
    Backtrace:
    Line 193 of linked script http://build.fluidproject.org/fluid/fluid-components/js/fluid/UIOptions.js
    previewEnhancer.applySkin(model);
    ...
    stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'

  • Justin Obara commented 2009-03-05T12:58:46.000-0500

    all tests are failing in IE

  • Justin Obara commented 2009-03-06T09:33:50.000-0500

    Appears to have been fixed

    tested using

    FF2, FF3, Opera 9.6, Safari 3.2 (Mac OS 10.5)
    FF2, FF3, IE6, Opera 9.6 (Win XP)
    FF3, IE7 (Win Vista)