Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuzzBoard errors from first run #719

Closed
zepumph opened this issue Dec 7, 2017 · 9 comments
Closed

fuzzBoard errors from first run #719

zepumph opened this issue Dec 7, 2017 · 9 comments
Assignees

Comments

@zepumph
Copy link
Member

zepumph commented Dec 7, 2017

I can only assume that these aren't all keyboard related, but I thought it would be good to have a central issue to track all of the new fuzzBoard errors that are revealed so that we can have a good idea of our progress, and when we are ready to add fuzzBoard to bayes.

arithmetic
Uncaught TypeError: Cannot read property 'currentScoreProperty' of undefined
TypeError: Cannot read property 'currentScoreProperty' of undefined
    at MultiplyModel.saveGameEnvironment (http://localhost/arithmetic/js/common/model/ArithmeticModel.js?bust=1512609577959:340:45)
    at MultiplyModel.returnToLevelSelectScreen (http://localhost/arithmetic/js/common/model/ArithmeticModel.js?bust=1512609577959:206:12)
    at listener (http://localhost/arithmetic/js/common/view/WorkspaceNode.js?bust=1512609577959:69:15)
    at http://localhost/sun/js/buttons/PushButtonModel.js?bust=1512609577959:158:9
    at Array.forEach ()
    at PushButtonModel.fire (http://localhost/sun/js/buttons/PushButtonModel.js?bust=1512609577959:157:12)
    at Object.click (http://localhost/sun/js/buttons/RectangularPushButton.js?bust=1512609577959:58:28)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512609577959:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512609577959:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512609577959:1298:7)
blackbody-spectrum
Uncaught TypeError: window.phetSplashScreenDownloadComplete is not a function
TypeError: window.phetSplashScreenDownloadComplete is not a function
    at new Sim (http://localhost/joist/js/Sim.js?bust=1512609641792:77:12)
    at http://localhost/blackbody-spectrum/js/blackbody-spectrum-main.js?bust=1512609641792:32:15
    at window.phetLaunchSimulation (http://localhost/joist/js/SimLauncher.js?bust=1512609641792:47:11)
    at doneLoadingImages (http://localhost/joist/js/SimLauncher.js?bust=1512609641792:69:18)
    at Object.launch (http://localhost/joist/js/SimLauncher.js?bust=1512609641792:123:9)
    at http://localhost/blackbody-spectrum/js/blackbody-spectrum-main.js?bust=1512609641792:31:15
    at Object.execCb (http://localhost/sherpa/lib/require-2.1.11.js:1650:25)
    at Module.check (http://localhost/sherpa/lib/require-2.1.11.js:866:35)
    at Module. (http://localhost/sherpa/lib/require-2.1.11.js:1113:20)
    at http://localhost/sherpa/lib/require-2.1.11.js:132:17
blast
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512609642678:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512609642678:227:29)
    at UpdateDialog.show (http://localhost/joist/js/UpdateDialog.js?bust=1512609642678:131:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512609642678:226:24)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512609642678:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512609642678:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512609642678:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512609642678:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512609642678:1298:7)
circuit-construction-kit-dc
Uncaught TypeError: Cannot read property 'circuitElements' of null
TypeError: Cannot read property 'circuitElements' of null
    at Object.keydown (http://localhost/circuit-construction-kit-common/js/view/CircuitElementNode.js?bust=1512609717130:63:21)
    at HTMLDivElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512609717130:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512609717130:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512609717130:1305:7)
    at Sim.stepSimulation (http://localhost/joist/js/Sim.js?bust=1512609717130:802:22)
    at Sim.stepOneFrame (http://localhost/joist/js/Sim.js?bust=1512609717130:764:14)
    at Sim.runAnimationLoop (http://localhost/joist/js/Sim.js?bust=1512609717130:747:14)
equality-explorer
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512609799238:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512609799238:227:29)
    at UpdateDialog.show (http://localhost/joist/js/UpdateDialog.js?bust=1512609799238:131:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512609799238:226:24)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512609799238:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512609799238:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512609799238:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512609799238:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512609799238:1298:7)
fraction-comparison
Uncaught Error: Assertion failed: rectWidth should be a finite number
Error: Assertion failed: rectWidth should be a finite number
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Rectangle.setRectWidth (http://localhost/scenery/js/nodes/Rectangle.js?bust=1512609868786:387:17)
    at Rectangle.set rectWidth [as rectWidth] (http://localhost/scenery/js/nodes/Rectangle.js?bust=1512609868786:401:35)
    at Array.handle (http://localhost/axon/js/Property.js?bust=1512609868786:268:65)
    at Emitter.emit2 (http://localhost/axon/js/Emitter.js?bust=1512609868786:192:49)
    at DerivedProperty._notifyListeners (http://localhost/axon/js/Property.js?bust=1512609868786:188:29)
    at DerivedProperty._setAndNotifyListeners (http://localhost/axon/js/Property.js?bust=1512609868786:176:14)
    at DerivedProperty.set (http://localhost/axon/js/Property.js?bust=1512609868786:123:16)
    at Array.listener (http://localhost/axon/js/DerivedProperty.js?bust=1512609868786:54:34)
    at Emitter.emit2 (http://localhost/axon/js/Emitter.js?bust=1512609868786:192:49)
fractions-intro
Uncaught Error: could not empty a cell
Error: could not empty a cell
    at IntroModel.emptyNextCell (http://localhost/fractions-intro/js/intro/model/IntroModel.js?bust=1512609881563:211:13)
    at http://localhost/fractions-intro/js/intro/model/IntroModel.js?bust=1512609881563:296:16
    at E (http://localhost/sherpa/lib/lodash-4.17.4.min.js?bust=1512609881563:9:160)
    at Function.On.times (http://localhost/sherpa/lib/lodash-4.17.4.min.js?bust=1512609881563:124:71)
    at IntroModel.onNumeratorChange (http://localhost/fractions-intro/js/intro/model/IntroModel.js?bust=1512609881563:291:9)
    at Emitter.emit2 (http://localhost/axon/js/Emitter.js?bust=1512609881563:192:49)
    at NumberProperty._notifyListeners (http://localhost/axon/js/Property.js?bust=1512609881563:188:29)
    at NumberProperty._setAndNotifyListeners (http://localhost/axon/js/Property.js?bust=1512609881563:176:14)
    at NumberProperty.set (http://localhost/axon/js/Property.js?bust=1512609881563:123:16)
    at NumberProperty.set value [as value] (http://localhost/axon/js/Property.js?bust=1512609881563:217:36)
graphing-slope-intercept
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512609944081:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512609944081:227:29)
    at UpdateDialog.show (http://localhost/joist/js/UpdateDialog.js?bust=1512609944081:131:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512609944081:226:24)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512609944081:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512609944081:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512609944081:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512609944081:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512609944081:1298:7)
griddle
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512609982067:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512609982067:227:29)
    at UpdateDialog.show (http://localhost/joist/js/UpdateDialog.js?bust=1512609982067:131:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512609982067:226:24)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512609982067:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512609982067:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512609982067:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512609982067:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512609982067:1298:7)
hookes-law
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512609986589:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512609986589:227:29)
    at AboutDialog.show (http://localhost/joist/js/AboutDialog.js?bust=1512609986589:245:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512609986589:291:23)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512609986589:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512609986589:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512609986589:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512609986589:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512609986589:1298:7)
joist
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512610016018:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512610016018:227:29)
    at UpdateDialog.show (http://localhost/joist/js/UpdateDialog.js?bust=1512610016018:131:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512610016018:226:24)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512610016018:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512610016018:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512610016018:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512610016018:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512610016018:1298:7)
make-a-ten
Uncaught TypeError: Cannot read property 'focus' of undefined
TypeError: Cannot read property 'focus' of undefined
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512610027756:1292:21)
    at Sim.stepSimulation (http://localhost/joist/js/Sim.js?bust=1512610027756:802:22)
    at Sim.stepOneFrame (http://localhost/joist/js/Sim.js?bust=1512610027756:764:14)
    at Sim.runAnimationLoop (http://localhost/joist/js/Sim.js?bust=1512610027756:747:14)
make-a-ten
Uncaught TypeError: Cannot read property 'focus' of undefined
TypeError: Cannot read property 'focus' of undefined
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512610027756:1292:21)
    at Sim.stepSimulation (http://localhost/joist/js/Sim.js?bust=1512610027756:802:22)
    at Sim.stepOneFrame (http://localhost/joist/js/Sim.js?bust=1512610027756:764:14)
    at Sim.runAnimationLoop (http://localhost/joist/js/Sim.js?bust=1512610027756:747:14)
make-a-ten
Uncaught TypeError: Cannot read property 'focus' of undefined
TypeError: Cannot read property 'focus' of undefined
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512610027756:1292:21)
    at Sim.stepSimulation (http://localhost/joist/js/Sim.js?bust=1512610027756:802:22)
    at Sim.stepOneFrame (http://localhost/joist/js/Sim.js?bust=1512610027756:764:14)
    at Sim.runAnimationLoop (http://localhost/joist/js/Sim.js?bust=1512610027756:747:14)
molecule-shapes
Uncaught RangeError: Source is too large
RangeError: Source is too large
    at Uint8ClampedArray.set (native)
    at DOM.MoleculeShapesScreenView.domNode.renderToCanvasSelf (http://localhost/molecule-shapes/js/common/view/MoleculeShapesScreenView.js?bust=1512610082141:136:24)
    at DOM.renderToCanvasSubtree (http://localhost/scenery/js/nodes/Node.js?bust=1512610082141:3947:12)
    at RealMoleculesScreenView.renderToCanvasSubtree (http://localhost/scenery/js/nodes/Node.js?bust=1512610082141:3980:19)
    at Node.renderToCanvasSubtree (http://localhost/scenery/js/nodes/Node.js?bust=1512610082141:3980:19)
    at Function.generateScreenshot (http://localhost/joist/js/ScreenshotGenerator.js?bust=1512610082141:49:20)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512610082141:239:45)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512610082141:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512610082141:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512610082141:361:48)
molecule-shapes-basics
Uncaught RangeError: Source is too large
RangeError: Source is too large
    at Uint8ClampedArray.set (native)
    at DOM.MoleculeShapesScreenView.domNode.renderToCanvasSelf (http://localhost/molecule-shapes/js/common/view/MoleculeShapesScreenView.js?bust=1512610089666:136:24)
    at DOM.renderToCanvasSubtree (http://localhost/scenery/js/nodes/Node.js?bust=1512610089666:3947:12)
    at ModelMoleculesScreenView.renderToCanvasSubtree (http://localhost/scenery/js/nodes/Node.js?bust=1512610089666:3980:19)
    at Node.renderToCanvasSubtree (http://localhost/scenery/js/nodes/Node.js?bust=1512610089666:3980:19)
    at Function.generateScreenshot (http://localhost/joist/js/ScreenshotGenerator.js?bust=1512610089666:49:20)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512610089666:239:45)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512610089666:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512610089666:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512610089666:361:48)
reactants-products-and-leftovers
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512610195535:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512610195535:227:29)
    at AboutDialog.show (http://localhost/joist/js/AboutDialog.js?bust=1512610195535:245:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512610195535:291:23)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512610195535:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512610195535:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512610195535:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512610195535:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512610195535:1298:7)
states-of-matter-basics
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512610253378:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512610253378:227:29)
    at AboutDialog.show (http://localhost/joist/js/AboutDialog.js?bust=1512610253378:245:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512610253378:291:23)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512610253378:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512610253378:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512610253378:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512610253378:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512610253378:1298:7)
sugar-and-salt-solutions
Uncaught TypeError: window.phetSplashScreenDownloadComplete is not a function
TypeError: window.phetSplashScreenDownloadComplete is not a function
    at new Sim (http://localhost/joist/js/Sim.js?bust=1512610256228:77:12)
    at http://localhost/sugar-and-salt-solutions/js/sugar-and-salt-solutions-main.js?bust=1512610256228:33:15
    at window.phetLaunchSimulation (http://localhost/joist/js/SimLauncher.js?bust=1512610256228:47:11)
    at doneLoadingImages (http://localhost/joist/js/SimLauncher.js?bust=1512610256228:69:18)
    at Object.launch (http://localhost/joist/js/SimLauncher.js?bust=1512610256228:123:9)
    at http://localhost/sugar-and-salt-solutions/js/sugar-and-salt-solutions-main.js?bust=1512610256228:32:15
    at Object.execCb (http://localhost/sherpa/lib/require-2.1.11.js:1650:25)
    at Module.check (http://localhost/sherpa/lib/require-2.1.11.js:866:35)
    at Module. (http://localhost/sherpa/lib/require-2.1.11.js:1113:20)
    at http://localhost/sherpa/lib/require-2.1.11.js:132:17
sun
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512610258242:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512610258242:227:29)
    at AboutDialog.show (http://localhost/joist/js/AboutDialog.js?bust=1512610258242:245:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512610258242:291:23)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512610258242:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512610258242:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512610258242:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512610258242:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512610258242:1298:7)
twixt
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512610274501:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512610274501:227:29)
    at AboutDialog.show (http://localhost/joist/js/AboutDialog.js?bust=1512610274501:245:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512610274501:291:23)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512610274501:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512610274501:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512610274501:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512610274501:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512610274501:1298:7)
twixt
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512610274501:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512610274501:227:29)
    at AboutDialog.show (http://localhost/joist/js/AboutDialog.js?bust=1512610274501:245:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512610274501:291:23)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512610274501:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512610274501:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512610274501:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512610274501:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512610274501:1298:7)
vegas
Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512610303944:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512610303944:227:29)
    at AboutDialog.show (http://localhost/joist/js/AboutDialog.js?bust=1512610303944:245:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512610303944:291:23)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512610303944:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512610303944:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512610303944:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512610303944:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512610303944:1298:7)

@jessegreenberg @mbarlow12 we should crank away at these async.

@jessegreenberg
Copy link
Contributor

Very nice, thanks @zepumph. This one shows up a lot:

Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1512609799238:73:17)
    at Property.link (http://localhost/axon/js/Property.js?bust=1512609799238:227:29)
    at UpdateDialog.show (http://localhost/joist/js/UpdateDialog.js?bust=1512609799238:131:35)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1512609799238:226:24)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1512609799238:93:7)
    at Object.click (http://localhost/sun/js/MenuItem.js?bust=1512609799238:122:9)
    at HTMLButtonElement.addedAccessibleInput.(anonymous function) (http://localhost/scenery/js/accessibility/Accessibility.js?bust=1512609799238:361:48)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1512609799238:1331:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1512609799238:1298:7)

@zepumph
Copy link
Member Author

zepumph commented Dec 26, 2017

Unassigning for now.

@zepumph zepumph removed their assignment Dec 26, 2017
@jessegreenberg
Copy link
Contributor

Also removing assignment until I have more time to work on this.

@mbarlow12
Copy link
Contributor

Just had a thought while meeting for the a11y dev today. What if we completely bypassed our typical fuzzing strategy and went with an automated method with Puppeteer that uses headless Chrome. We can even send keyboard events here.

@mbarlow12
Copy link
Contributor

@zepumph @jessegreenberg I forgot to tag you both. Just bumping and pointing to my above comment.

@zepumph
Copy link
Member Author

zepumph commented Aug 28, 2018

That seems like a really nice, long term, robust solution for this problem. Right now, and most recently when working with the fuzzBoard with @jessegreenberg, I was surprised at how well it was working (since we hacked it together in just an hour or two). But as a long term direction, I could see there being a sandbox where you could plug in specific keys/combinations that you wanted hit hard for that particular sim. For example BASE using the j key a lot.

Tagging @samreid because I think that we have discussed the potential for pupeteer in some other testing, perhaps fuzzMouse, before. It is good to note that this enhancement would directly assist a11y testing.

For now I think the priority should be getting rid of the errors that we see in the current implementation of fuzzBoard, but I'm flexible if it seems like now is a good time to invest in updating our fuzzing suite.

@samreid
Copy link
Member

samreid commented Aug 28, 2018

I recall we've previously discussed puppeteer for automated testing, but I'm not sure what all the pros and cons are, nor do I know how the current implementation of ?fuzzBoard works.

@zepumph
Copy link
Member Author

zepumph commented Aug 31, 2018

Regarding:

Uncaught Error: Assertion failed: Cannot add the same listener twice
Error: Assertion failed: Cannot add the same listener twice
    at window.assertions.assertFunction (http://localhost/assert/js/assert.js:22:13)
    at Emitter.addListener (http://localhost/axon/js/Emitter.js?bust=1535674801100:63:17)
    at Object.addStepListener (http://localhost/phet-core/js/Timer.js?bust=1535674801100:85:19)
    at UpdateDialog.show (http://localhost/joist/js/UpdateDialog.js?bust=1535674801100:125:15)
    at callback (http://localhost/joist/js/PhetMenu.js?bust=1535674801100:236:24)
    at fire (http://localhost/sun/js/MenuItem.js?bust=1535674801100:100:7)
    at HTMLButtonElement.click (http://localhost/sun/js/MenuItem.js?bust=1535674801100:129:9)
    at triggerDOMEvent (http://localhost/scenery/js/display/Display.js?bust=1535674801100:1147:41)
    at Display.fuzzBoardEvents (http://localhost/scenery/js/display/Display.js?bust=1535674801100:1114:7)
    at Sim.stepSimulation (http://localhost/joist/js/Sim.js?bust=1535674801100:829:22)

This may go away if we convert MenuItem to use pressListener rather than ButtonListener. I'll make an issue to investigate. It would clean up the a11y code in MenuItem anyways.

Tagging @jessegreenberg too.

@zepumph
Copy link
Member Author

zepumph commented Sep 28, 2018

because of #831, most of these fixed. I think we should close this and cover issues individually. Closing

@zepumph zepumph closed this as completed Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants