aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src
Commit message (Collapse)AuthorAgeFilesLines
* Initial import of TypedForm componentfeature/databindingTeemu Suo-Anttila2016-03-141-0/+127
| | | | | | | TypedForm determines the fields from the type class and generates textfields and datefields for editing purposes. Change-Id: I1bbc0e77190a3fc5a74d7339a3127e8a351a01df
* Initial import of TypedGrid component Teemu Suo-Anttila2016-03-141-0/+45
| | | | | | This patch introduces a generics version of Grid. Change-Id: I0777a0468ccb5f38e266aa0f33ceb8d0324d72dd
* Add simple ListBox component to use with the DataProviderTeemu Suo-Anttila2016-03-052-22/+73
| | | | | | | This patch changes the DummyDataProvider test to use the ListBox storing runnables instead of Buttons with actions. Change-Id: Ie3831ccbd397eb2c145cf2c036fa5e512dcfa230
* Remove dead code, add test component with data communication (#19266)Teemu Suo-Anttila2016-03-042-0/+344
| | | | | | | | Test component has simple buttons for requesting next and previous page. The communication can be tracked through debug logging and all currently available objects are drawn on the screen as Json Change-Id: I850d7223e417437b4e26f236b457b939542ab623
* Introduce DataSource API and DataChangeHandler for it Teemu Suo-Anttila2016-02-041-31/+21
| | | | Change-Id: I3b24bca46ffc136884e163c94f3f4c304c1e12b2
* Fix SimpleDataProvider clean up and client-side data tracking on editTeemu Suo-Anttila2016-02-031-0/+8
| | | | Change-Id: I9807717df9cbae47c6532e43a58dd6bb693eaa85
* Split SimpleDataProvider from DataProvider super classTeemu Suo-Anttila2016-02-031-1/+5
| | | | Change-Id: Ib486553fa2f0f9d17de9012413b2647b73c07822
* Add simple data update support to DataProviderTeemu Suo-Anttila2016-02-033-1/+53
| | | | | | | | This patch adds the option of updating an existing data object. Update is done on the next client response to catch any possible changes before and after the update is initiated. Change-Id: I30ca4803dd7c47befcb8e5ae761860c09cbdb8bd
* Add simple support for generic reset for data to DataProviderTeemu Suo-Anttila2016-02-032-10/+134
| | | | | | | Adds a simple test that sorts the data and verifies that the content does not actually change with just sorting. Change-Id: I0d8889694a98da1d55e0335714f63abaedb5684a
* Add DataKeyMapper to correctly keep track of active dataTeemu Suo-Anttila2016-02-022-3/+75
| | | | | | | Added a simple test that checks transported data correctness. Also provides clean up method to TypedDataGenerator, even though it's not called actually yet. Change-Id: Icef69790732922b63a9874c9b1a6b44d4d682887
* Add simple data add/remove support to DataProviderTeemu Suo-Anttila2016-02-022-6/+50
| | | | | | | | Removal is currently based on the content of the object. Multiple objects with same content will cause problems. This should be fixed by adding a simple key mapping for objects. Change-Id: Ie6fd1c6bcb7e8eaa73469f8f794f5365b1590fe2
* Implement TypedDataGenerator support and clean up client-side codeTeemu Suo-Anttila2016-02-022-22/+22
| | | | Change-Id: I96080e2344ca0626940635dde77f2715c9d62c7b
* Add data communication for DataProvider for CollectionsTeemu Suo-Anttila2016-02-011-9/+34
| | | | | | | After this patch, the object is passed to the client-side as a JsonObject containing a key "k" with value from object.toString() Change-Id: I3f83144a6c84dda9812739ff2f2cb74cb5577d5c
* Add a dummy DataProvider for CollectionsTeemu Suo-Anttila2016-01-292-0/+106
| | | | Change-Id: I190e807094d8e235797e618ea80cb4b7136d1111
* Move ComboBox pageLength to state (#19929)Henri Sara2016-01-152-2/+2
| | | | | | | Use shared state for the page length and update related tests. This change also removes an unused widget field. Change-Id: Id8719661121a9570be40028da09e32f27bec82b5
* Use LayoutManager for details rows (#18821, #18619)Leif Åstrand2016-01-124-0/+351
| | | | Change-Id: I430e55db8a3e2860f68f5351e06d8d069a657d6e
* Add a simple waitForApplication for servlet integration testsTeemu Suo-Anttila2016-01-121-0/+15
| | | | | | | | This waitForApplication checks if an UI element exists on the page. If not, then it will wait 10 seconds in order for it to appear. This should reduce the amount of false negatives in server tests. Change-Id: I37a398e60c247920fd56fc05b747e0f93f3f2dd2
* Use simple date format for BasicCrudGridEditorRow test UITeemu Suo-Anttila2016-01-082-2/+11
| | | | | | | This patch also forces locales to US for all the date formats to avoid issues on different default locales. Change-Id: I7445f4ff1a25d83ab9dbb0633caefcea56d50acc
* Convert ComboBoxItemIcon test to TB4Henri Sara2016-01-081-0/+32
| | | | Change-Id: I939fe7e5c5b57c007a543f5f7c491c8c9f11e773
* Convert TableContextMenuAndIcons test to TB4Henri Sara2016-01-081-0/+64
| | | | Change-Id: I510617c5cd728a3bf0b27d706e11c6c3f12ee19e
* Fix ScrollbarBundle to not round down pixel values (#19421)Teemu Suo-Anttila2016-01-082-0/+78
| | | | | | | | | Since Escalator now uses subpixels in most cases, scrollbar calculation fails when ScrollbarBundle calls Math.floor for the offset size. Removed rounding, added a pixel epsilon check that we don't make a scrollbar when it's not really needed. Change-Id: I228fd7dd48d4506e5b2b7bb799291c9a122ea3fe
* Fix DateFormat for Editor tests as wellTeemu Suo-Anttila2016-01-071-0/+2
| | | | Change-Id: Ice7b77ab1bcb1cdecd50fc8e480c1ca2f8dae26c
* Fix GridThemeUI to use more stable date formatTeemu Suo-Anttila2016-01-071-0/+4
| | | | Change-Id: I94099919f68d3ffeb340bed30d9066e0911d53cf
* Always stick Grid column resize handle to the right edge (#19409)Johannes Dahlström2016-01-071-0/+15
| | | | Change-Id: I329bc5ae8138be731770211e995225cb3ca4fc76
* Support non-AbstractFieldConnector fields with Grid Editor (#19440)Teemu Suo-Anttila2016-01-072-0/+191
| | | | Change-Id: Ib3eaf0b35cfe88391c8ab3b5fcbe668d67c2dd3c
* Always set header/footer style name to TH (#19209)Artur Signell2016-01-071-6/+6
| | | | Change-Id: I8d0240fb76b9841e7290bf13588975da20c78b62
* Fixes exception when enter is pressed and there is nothing to select (#19149)Artur Signell2016-01-071-2/+42
| | | | Change-Id: I8ff11e98bb4ec999d369ff5bcde0cb95290ed037
* 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