FLUID-4513: FullPreviewUIOptions unit test fails in FF6 and Chrome

Metadata

Source
FLUID-4513
Type
Bug
Priority
Major
Status
Closed
Resolution
Cannot Reproduce
Assignee
N/A
Reporter
heidi valles
Created
2011-10-11T09:59:35.822-0400
Updated
2013-10-04T09:38:10.897-0400
Versions
  1. 1.4
Fixed Versions
N/A
Component
  1. Table of Contents
  2. UI Options

Description

Test #2 "ToC links created" fails

Appears to be a timing issue in src/webapp/tests/component-tests/uiOptions/js/FullPreviewUIOptionsTests.js line 54

Environments

Mac 10.6 & Win XP FF6

Comments

  • Justin Obara commented 2011-10-11T10:16:19.719-0400

    I believe the correct fix for this issue will be to remove the dependence on the setTimeout completely. From the comments, it seems that the issue is the event is buried too deeply, perhaps this could be exposed at a higher level.

    " // TODO: Very unsatisfactory - the TOC resources are the final thing we wait on, and the
    // event for this is very deeply buried"