summaryrefslogtreecommitdiffstats
path: root/uitest
Commit message (Collapse)AuthorAgeFilesLines
* Listen to body for shortcut actions for standalone apps (#19392)Artur Signell2016-01-042-0/+82
| | | | Change-Id: I48cc4884fce984354dafa2096e488c3c6dec141c
* Revert changes which were previously reverted from only 7.5 (#19424)Teemu Suo-Anttila2016-01-015-146/+83
| | | | | | | | | | | | | | Revert "Take Window special case into account for invalid layouts (#17598)" This reverts commit abc1c5dff6438d65e53473b69ae9a3ca2b8e60e1. Revert "Render nested invalid layouts correctly (#17598)" This reverts commit ac4e85f4e35a57d1ba6e6f3448744cbb0c2df60f. Added test to ensure a similar problem is not reintroduced later Change-Id: I892896e953637d793d0c0a788f28f3b61494d441
* Add keyboard shortcut to save grid editor in buffered mode (#16842)Teemu Suo-Anttila2015-12-281-21/+63
| | | | Change-Id: I4f542d166e15a63f12f8033aec4ef7b95578df71
* Fix WidgetRenderer column cells not correctly init on change (#19086)Teemu Suo-Anttila2015-12-225-0/+385
| | | | | | | | | | | | | | | | | When changing to a widget renderer with an existing column, the widget renderer expects that the cells would be initialized to have a correct widget for it. Because of original design where you could not change renderers, this was not taken into account and cells did not get reinitialized when changing the renderer. This patch showed another underlying detach problem from removing a widget renderer and destroying complex renderers. These both are also addressed to make this bug possible to test correctly. Patch includes a client-side test that verifies the integrity of the renderer state in different stages of its lifecycle. Change-Id: I67330e5d07c95047cb69040e8355a17dc8a96f08
* Fix Grid sorting tests (#16838)Henri Sara2015-12-212-3/+3
| | | | | | Increase click X offset to account for wider resize handle. Change-Id: Id638214f4a98d2476f298014c1bae0bbca6dea16
* Fix GridColumnReorderTest for IE8 (#16838)Henri Sara2015-12-211-2/+2
| | | | | | Use a different X offset not to hit a resize handle. Change-Id: I6e7d4cb0ae0e9c941cb3dd2ba3e29256d6643fde
* Fix GridEditorBufferedTest for (#16838)Henri Sara2015-12-211-0/+6
| | | | | | | Changed cell padding affected the location of the cursor after a click. Change-Id: I950496eb43b8c9be1fc37f558ddd80511eb1c0c3
* Ignore context click on resize handle (#19408)Henri Sara2015-12-211-0/+17
| | | | | | | Otherwise, context clicks in the left edge of a header cell get handled by the wrong cell. Change-Id: I08e0c6bb62c90cc871fde7ec1d0f0a8602e5631f
* Add a UI for reviewing new reference screenshotsLeif Åstrand2015-12-191-0/+438
| | | | Change-Id: I79b953cd4620331e3892a8bd070db8f9bd076e0f
* Increase grid column resize handle width (#16838)Marlon Richert2015-12-183-3/+3
| | | | Change-Id: Ic7768d9023d48b04458376765596059d3a81d8c6
* Fix IE8 focus handling in Grid editor in unbuffered state (#19389)Teemu Suo-Anttila2015-12-181-7/+19
| | | | Change-Id: Ia77c246239cae7b0add3c4975dfa5ffaa42d08b6
* 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