|
|
|
Aha. I see the misbehavior in explorer -> Components -> Form Components -> Combobox.
Also a problem in L-in-10
L-in-10 -> Introduction -> Form Components -> General Components -> Tabslider
Components -> General Components -> Date Picker
I believe the bug has to do with the physical selection of the combobox, because a Selenium test that selects a combobox item has no difficulty:
LZX (myCombobox.lzx) <canvas debug="true" oninit="cx.setOpen(true)"> <combobox id="cx" width="100" editable="false"> <textlistitem text="kenny" value="1" /> <textlistitem text="cartman" value="2"/> </combobox> </canvas> Selenium (root URL http://localhost:8080/) <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>test-myCombobox</title> </head> <body> <table cellpadding="1" cellspacing="1" border="1"> <thead> <tr><td rowspan="1" colspan="3">test-myCombobox</td></tr> </thead><tbody> <tr> <td>open</td> <td>/lps-4.0.3/my-apps/myCombobox.lzx?lzr=dhtml</td> <td></td> </tr> <tr> <td>selectWindow</td> <td>null</td> <td></td> </tr> <tr> <td>assertElementPresent</td> <td>LaszloDebuggerInput</td> <td></td> </tr> <tr> <td>type</td> <td>LaszloDebuggerInput</td> <td>cx.text=='kenny'</td> </tr> <tr> <td>click</td> <td>//input[@value='eval']</td> <td></td> </tr> <tr> <td>assertTextPresent</td> <td>true</td> <td></td> </tr> <tr> <td>click</td> <td>//input[@value='clear']</td> <td></td> </tr> <tr> <td>type</td> <td>LaszloDebuggerInput</td> <td>cx.selectItem(2);</td> </tr> <tr> <td>click</td> <td>//input[@value='eval']</td> <td></td> </tr> <tr> <td>type</td> <td>LaszloDebuggerInput</td> <td>cx.text=='cartman'</td> </tr> <tr> <td>click</td> <td>//input[@value='eval']</td> <td></td> </tr> <tr> <td>assertTextPresent</td> <td>true</td> <td></td> </tr> </tbody></table> </body> </html> Change 20070712-Philip-0 by Philip@Philip-DC on 2007-07-12 20:49:26 EST
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/4.0 for http://svn.openlaszlo.org/openlaszlo/branches/4.0 Summary: Moved LzTrack from legals to 4.0 New Features: Bugs Fixed: Technical Reviewer: ben QA Reviewer: (pending) Doc Reviewer: (pending) Documentation: Release Notes: Details: The current 4.0 version of /services/LzTrack.lzs is the original merge of LzTrack.js and LzTrack.as. There was a fix to help mouse click that didn't make it to 4.0 (r5190). I ported LzTrack to the new class system (r5298) and this is the version I'm submitting for review. This brings this file up to the latest legals version. I wouldn't worry too much about reviewing the code as it has already been reviewed by Tucker. The important thing is that it greatly improves mouse click behavior in components. Tests: combobox: components_sampler in dhtml/swf list: list_example in dhtml/swf Files: M WEB-INF/lps/lfc/services/LzTrack.lzs Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070712-Philip-0.tar |
||||||||||||||||||||||||||||||||||||||||||||||||||||
There are no steps to follow there.
Open Amazon demo.
Select Check Out.
Select Payment Method?
Click edit card?
Now the Edit Card combobox named Type is misbehaving?