aboutsummaryrefslogtreecommitdiffstats
path: root/uitest
Commit message (Collapse)AuthorAgeFilesLines
* Fix Grid column resize to take account min width for cells (#16597)Johannes Dahlström2015-12-161-0/+10
| | | | | | | | Use Escalator cell size calculation without content to determine the absolute minimum size for cells. This is used in Grid when drag resizing or sorting columns to prevent cells from overflowing to the next row. Change-Id: I2d598232d7d2b8729b11fe190b68ca3e42ee3652
* Make it possible to only show collapsible columns in menu (#9811)Leif Åstrand2015-12-163-0/+86
| | | Change-Id: I52cd2648d305f44d5688e7a2fcd222e6b167b97b
* Fix LegacyComponentThemeChangeTest on Chrome 47Henri Sara2015-12-151-2/+3
| | | | | | | | The test uses an Embedded component with non-existent Flash content. This does not work on Chrome 47 so this change disables that part of the test on Chrome like it was already disabled on IE8. Change-Id: Ie60123247ec45b2138202fccd73d794bf98e533e
* Add a method to clear selected text on context click (#19367)Teemu Suo-Anttila2015-12-152-0/+133
| | | | Change-Id: Id7ec7013bcff446cdf3ce0f2088cb20b0708a56b
* Fix mouse wheel scrolling of ComboBox in IE11 (#16918)Anna Koskinen2015-12-151-0/+59
| | | | | | | | IE11 is broken so that the simple implementation always moves up on any mouse wheel event. Therefore, this change borrows the approach taken by Escalator for low-level handling of mouse wheel events in a way compatible with all supported browsers. Change-Id: I98c89d3ccfeea38d6a454ef708f0eb7d1d3f480c
* Fix RpcDataProvider listener handling on ItemSetChange (#19371)Teemu Suo-Anttila2015-12-152-0/+117
| | | | | | | | Old ValueChangeListeners are discarded and new ones created when an ItemSetChange occurs. This is done to reapply the listeners to possibly recreated Items. Change-Id: I9956af8950e241005574c597c49c5efb43afc1c7
* Fix selecting a row that was deselected on the server (#19360)Teemu Suo-Anttila2015-12-142-0/+178
| | | | | | | | Client-side connector of the SingleSelectionModel attempts to keep track of currently selected row. This tracking gets lost when the row get deselected on the server-side. Special case is now correctly handled. Change-Id: I1c45548bd11536bc85cddbc2ba8b6225965c1194
* Update to Chrome 47elmot2015-12-081-1/+1
| | | | Change-Id: Id06cb7317c107f3714336e7b2c7ba791f41e51bf
* Check for optimizations when looking for missing updates (#18317)Leif Åstrand2015-12-031-3/+12
| | | | | | | | | A recently merged patch leaves out information from hierarchyInfo for empty connectors with state changes. This must be taken into account when looking for disappeared connectors that do not cause any hierarchy change to be sent. Change-Id: I9ae7150341a83798141d0a2806ee81cafe7c2f9a
* Detect hierarchy changes not sent to the client (#18317)Leif Åstrand2015-12-023-4/+148
| | | | Change-Id: I77b420738738a42ff50e2a509e4ac4072b1b6e1f
* Unify select all behavior with single row selection. (#17742)Sauli Tähkäpää2015-11-302-0/+55
| | | | Change-Id: I6481bf6f429046166dd0502a62b22aea51f5a0bd
* Add stylename to sortable Table header cells (#8219)Leif Åstrand2015-11-273-1/+116
| | | | Change-Id: I4774b4079f5c564fdc67e8cabf89278ad7cf2f6f
* Use wider age column in GridThemeUITeemu Suo-Anttila2015-11-261-1/+2
| | | | | | | | This patch is to test the theme, and not testing a defect (#16597). Testing with defective screenshots causes problems if the defect is at a later point fixed. Change-Id: I3a20d0c6ab79c812752ee5d2765d91a2304e6d0e
* Fix GridMultiSortingTest click coordinates to avoid column resize Teemu Suo-Anttila2015-11-261-2/+2
| | | | Change-Id: I79da24a71576fb91db5366afe1dfc17edc7c86f9
* Fix setSelected in MultiSelectionModel to update row data (#19302)Teemu Suo-Anttila2015-11-252-1/+25
| | | | Change-Id: I32c980b2cae199ad2059701e4e04b4a7cb76bafa
* Add stylename to sortable Grid header cells (#16991)Leif Åstrand2015-11-253-1/+120
| | | | Change-Id: I6c151829236928129c258a99177431d0b972f146
* Move capability handling from MultiBrowserTest to super classTeemu Suo-Anttila2015-11-242-32/+32
| | | | | | | Capabilities should be set the same way in SingleBrowserTests as well, not just MultiBrowserTests. Change-Id: Ifed8534b87bbe45fd90fe0e7110e26a5344c5540
* Fix some TB2 tests for Calendar (#19227)Henri Sara2015-11-243-6/+6
| | | | | | | | Fix the commands in some TB2 tests broken by the test change from #19227. Screenshots of several calendar tests including these also need to be updated. Change-Id: I3bb000fccb9772ffe5be4ceebb599cc7c1f9697f
* Remove border on immediate child cells only on Valo. (#18787)Sauli Tähkäpää2015-11-172-0/+59
| | | | Change-Id: I87825ea46fbcea98b054d3dc2eb3fe80781a9d48
* Use TabState.id for Accordion tab items as well (#18456)pag2015-11-132-0/+111
| | | | Change-Id: I17206081109b2ec356d175915a16b0002a858bb4
* Specify custom first day of week for Calendar #19227Leonid Rozenblyum2015-11-111-1/+52
| | | | | | | | Added possibility to provide first day of week independent of Locale. (the Calendar code has been reformatted according to Eclipse 'Save action'). Unit-tests added. UI test extended. Change-Id: I3e3531228c139ce2014a1227e47c12e7896a6f87
* Optimize layout performance of Table (#17947)jotatu2015-11-052-0/+229
| | | | | | | | | | | | | | | | | | | | | Adds functions for skipping child component layout measuring. Removes unnecessary code from VScrollTable. 1. case: no components - render time without the fix: ~105ms - render time with fix: ~105ms 2. case: 2 button and 2 textfield cols - render time without the fix: ~279ms - render time with fix: ~240ms (~17% faster) 3. case: 3 button and 3 textfield cols - render time without the fix: ~350ms - render time with fix: ~281ms (~20% faster) Change-Id: I6025f8ee2fd438d228ff3b65f43535961cf12c0b
* Test for table column hiding and sizes (#12303)Ilya Ermakov2015-11-043-7/+151
| | | | | | | Test to verify that the column width is not changed when toggling its visibility. Change-Id: I48c62b72bf7e66740ec516d43bc9b5995c1fefb4
* Render null header caption as empty (#18553)Artur Signell2015-11-032-0/+88
| | | | Change-Id: Iaeba81c7e40d4be5f16e74fa8bcf8c86c53a7d3d
* Changed grid sidebar to overlay (#18698)mtzukanov2015-11-035-41/+97
| | | | | | | | | Previously grid sidebar could be partially hidden by "overflow: hidden" of an ancestor component. Now it's in an overlay and the hierarchy doesn't affect it. Grid tests were also updated for new DOM structure. Change-Id: Ic5fb125d9c097be0f0141c121dfe74d30e650dd0
* Force FormLayout children to shrink with the layout (#11154)Leif Åstrand2015-11-032-0/+185
| | | | | | | | | | | The <table> used by the FormLayout doesn't reduce its size if any child component has locked its own size (which is the case with e.g. Table and some other components doing explicit pixel calculations). To work around this, we need to detect the situation, force the <table> to reduce its width by temporarily assigning explicit widths to the cells and then remove the forced size after all children have adjusted. Change-Id: Iacef62979acf24c869a5cbeb82efb0c1e537ec95
* Reset sort indicator when saving editor. (#17428)Sauli Tähkäpää2015-11-021-7/+39
| | | | Change-Id: Idaaf707bdb4178ff4ff5dfc7af853f08d5690b5e
* Fixes column header drop indicator (#18925)mtzukanov2015-10-291-0/+62
| | | | | | | | | | | | | Calculation of the frozen column width was wrong in multiselect mode. It did not take into account the last frozen column, but added the select column twice. The same problem was in AutoScroller (as the same methods were copy-pasted there), for which reason the autoscrolling was not scrolling till the end. This patch fixes the calculation error and removes copy-pasted code, reusing the same code in both places. Change-Id: I164e2fc96688088b620ad8785c533c593723f83e
* Let column resize handle overflow its parent (#16838)Johannes Dahlström2015-10-283-9/+16
| | | | Change-Id: I795956a4512f1e6e688e1e3c0522cc952117d78f
* Fix TreeTableContextClickTest to not scroll vertically on IETeemu Suo-Anttila2015-10-273-10/+2
| | | | | | | | Too wide TreeTable in a UI causes IE to scroll vertically making calculated positions fail miserably. Also makes context clicking in AbstractContextClickTest avoid StaleElementReferenceExceptions. Change-Id: Ic4f5049bf0c221eb441813d202b9de5571e655d6
* Update Chrome version stringHenri Sara2015-10-271-1/+1
| | | | Change-Id: I9736e528d4812a613ffa934c476d3b69ccefd631
* Fix Grid NPE when deselecting already removed row (#19152)Teemu Suo-Anttila2015-10-262-0/+27
| | | | Change-Id: I1361c8099e9f4a95e991f4937a406c5e4db67027
* Set pixel sizes to Grid columns when user starts drag resize (#16838)Johannes Dahlström2015-10-212-17/+31
| | | | | | This makes column resizes smoother and more intuitive. Change-Id: I6e4e92e0391d8f95f74ec89cfc3ffbbb133c7ecc
* Implemented HasEnabled on VLink (#18530)Marco Collovati2015-10-192-0/+202
| | | | | | | | Method setWidgetEnabled in AbstractComponentConnector, called from updateEnabledState, sets enable state only for widgets implementing HasEnabled interface. Change-Id: Idc700d0c28efd13b9a9470333b19a1509cca4a51
* Support ContextClicks in empty areas of Table and TreeTable (#19130)Teemu Suo-Anttila2015-10-143-0/+48
| | | | | | | When the user clicks an empty area, the TableContextClickEvent will still fire, but will have a null property. Change-Id: I39303f1a72d072db09c4fe6df8141d6caf0764c2
* Support Grid context click events in the empty areas of Grid (#19128)Teemu Suo-Anttila2015-10-144-9/+53
| | | | Change-Id: Ia6aebc266c48fb284ebf8f7a89375390555d1bec
* Refactor DetailComponentManager to be a static nested class of GridTeemu Suo-Anttila2015-10-123-10/+5
| | | | | | | | | | While refactoring any special cases are removed. This needs Grid extensions to have a way for adding and removing components from Grid. Removing any and all parts of RpcDataProvider work towards having it separate from Grid and maybe usable for other components as well. Change-Id: Ia4e25d5f0acaf2085478346b0ff6e23c8334e1b9
* Add Grid column resize event API (#16838)Johannes Dahlström2015-10-093-2/+26
| | | | Change-Id: I1cdecb54b3df45b16ddf2c7b06261198be086274
* Update FontAwesome to 4.4.0 (#14555)Artur Signell2015-10-091-5/+507
| | | | Change-Id: Ibc7d174970c154fce730341a8cfc240b8072633e
* Fix Checkbox event handling in Grid Editor (#19096)Teemu Suo-Anttila2015-10-081-0/+17
| | | | | | | | This patch limits event preventDefault calls to happen only with Tab navigation. No other events are prevented by default anymore. Earlier implementation that prevented too many events was in patch for #16841 Change-Id: I78924d35c86b822295fdaf720b3e4540c43df5c0
* Report user-resized column widths to server (#16838)Johannes Dahlström2015-10-081-0/+11
| | | | Change-Id: Id53bab75688ab7f01d6b64f679d2a40e03714c97
* Add API for setting Grid columns resizable (#16838)Johannes Dahlström2015-10-083-11/+112
| | | | | | | By default columns can be drag-resized by the user. This can be changed on a column-by-column basis. Change-Id: I8354e270db9affe865d1444d6cccbe8c839a3b5b
* Add handles to Grid default header for column drag resize (#16838)Patrik Lindström2015-10-074-18/+54
| | | | Change-Id: If8399a13585ae691ea3b3ee4a41a1a38b342adb9
* Use synthetic javascript events for IE browsers in context click testsTeemu Suo-Anttila2015-10-078-27/+25
| | | | Change-Id: Ifdfac8f2088042e2eeb4618b66a9e4dc315f7e24
* Remove Grid EditorEvents and ListenersTeemu Suo-Anttila2015-10-071-27/+0
| | | | | | | The EditorEvent API is not mature and useful enough to be present in a stable release. Change-Id: Ia982cb1a6e7b6a3518ea0f187993a964aafa1d53
* Change ValoIcons to ThemeIcons and moved to base (#18472)Artur Signell2015-10-071-0/+9
| | | | Change-Id: I7122252e9b238fdca0383d0698623fe5a9e3f262
* Fix test failure in IE10/IE11/ChromeArtur Signell2015-10-071-1/+1
| | | | Change-Id: I41f4a14e014d10b851dc7ea479a3b00a5ebad8a2
* Add API for data destruction to DataGenerator interface (#19038)Teemu Suo-Anttila2015-10-062-24/+50
| | | | | | | This patch provides destroyData implementation for all default data generators. Change-Id: I1458080ee0203a27b52e604d3a30c9e5240c0383
* Add support for TreeContextClickEvents (#19062)Teemu Suo-Anttila2015-10-053-15/+168
| | | | | | | | | | | | Tree connector now overrides the send context click event providing the row key to the server-side via RPC call. This is then passed on to a TreeContextClickEvent and fired to listeners. This patch modifies the test base for context click testing by making it tolerate 1 piksel differences. This was to fix any subpixel related issues in coordinate comparison. Change-Id: Iacced274a6b518b5f89378cbc32b8381362e1e4f
* Properly cleanup stream variables if DragAndDropWrapper is detached (#14882)Artur Signell2015-10-051-0/+125
| | | | | | | | If DragAndDropWrapper is removed from the UI for whatever reason before cleanup happens, the UI can no longer be found through it. If we do not do cleanup, we leave a reference hanging forever in ConnectorTracker. Change-Id: I9fc3da5d616276a7810ddc4a18cbebf8621635fe