summaryrefslogtreecommitdiffstats
path: root/uitest
Commit message (Collapse)AuthorAgeFilesLines
* Make DragSourceExtension and DragTargetExtension generic (#8628)Adam Wagner2017-02-211-7/+7
| | | | | | | | * Make DragSourceExtension and DropTargetExtension generic (#8440) * Apply generalization of drag and drop extensions in #8440 * Override javadocs to be more specific
* Reduce ComboBox initial requests (#8571)Pekka Hyvönen2017-02-163-0/+511
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reduce ComboBox initial requests Use initial fetched data on client side, do not request data from server side for each time popup is opened. Fixed initial filter being null for ComboBox on DataProvider, causing unnecessary size & fetch for not-changed filter. Fixed ComboBox sending default filter unnecessarily to server. Fixed wrong page indexing in VComboBox -> ComboBoxConnector. Fixes #8496 Fixes vaadin/framework8-issues#488 * Fix last item missing When pageLength was 0 and nullSelectionAllowed, the last item was not shown. Tried to sensify the API for total suggestions versus total suggestions + null selection item. * Fix ComboBox selected item updates Handles changing of ItemCaptionGenerator or ItemIconGenerator, need to update the selected item caption and icon separately. Previously it worked because all data was sent all the time to client. Doesn't fix the issue, when selected item is updated with refreshItem(), and it is not on the active range that will be sent to client. For that, ComboBox would need a separate notification about item update. * Updated screenshots
* Eliminate module uitest-common (#8583)Henri Sara2017-02-1624-7/+3525
| | | | | | | The use of the module in the test project was removed earlier, and eliminating the module permits simpler and more reliable builds as it was not deployed. The classes that were in uitest-common are now in uitest.
* Fix GridDetailsLayoutExpandTest (#8556)Henri Sara2017-02-141-0/+2
|
* Fix tooltip position test for IE11 (#8558)Henri Sara2017-02-141-1/+1
|
* Exclude Firefox for CBG/RBG focus/blur tests (#8560)Henri Sara2017-02-142-1/+15
| | | | TestBench commands do not result in same focus behavior as in other browsers. Focus works in manual tests.
* Fix PopupDateFieldExtendedRangeTest for Firefox (#8555)Henri Sara2017-02-141-2/+4
|
* Fix TreeTablePartialUpdatesTest for Chrome 56+ (#8554)Henri Sara2017-02-141-1/+7
|
* Fix SendMultiByteCharactersTest for Firefox (#8553)Henri Sara2017-02-141-2/+3
|
* Add workarounds for Firefox in context click tests (#8547)Henri Sara2017-02-133-8/+21
|
* Exclude IE11 from AppResource404TestHenri Sara2017-02-131-0/+9
|
* HTML5 Drag and Drop Support (#8264)Adam Wagner2017-02-101-0/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add DragSource Extension (#8169) * Add DropTarget Extension (#8170) * Add DragStart Event to DragSource Extension (#8171) * Make DataTransfer.dropEffect configurable (#8174) * Make DragSource.dataTransfer data configurable (#8172) * Add server-side Event for drop (#8177) * Added license headers * Extract handler methods, move DropEvent and DropListener to new file, move enums to top * Replaced LinkedHashMap with Map and added List to preserve order of data * Add API for adding a JS acceptance criteria for dragover and drop (#8178, #8179) * Make DragSource Extension extendable (#8175) * Make DropTarget Extension extendable (#8176) * Added javadoc to protected methods * Moved EffectAllowed to shared so that it could be used in shared state directly * Moved DropEffect to separate file, some review fixes and javadoc * Added list to DropTargetRpc to preserve order of data * Remove event listeners on unregister * Changed method names set/getData() to more descriptive set/getTransferData() * Add server side dragStart event (#8171) * Add style to prevent text selection to allow drag * Remove target indicator style on drop * Add client side dragend event listener for drag source * Add server side dragend listener. Attach client side listener only when server side listener added. * Add drag source information to server side dragstart and dragend events. * Fixed some issues addressed in review * Trigger server side dragstart only when there is a listener attached * Criteria script can be set as null to clear * Use Js Interop instead of JSNI for handling event listeners * Use elemental package instead of Js Interop for handling event listeners * Add missing javadoc for public methods * Add default value "uninitialized" to effectAllowed parameter * Simple test UI for HTML5 DnD functionality (#8395) * Add javadoc and other minor changes
* Fix Firefox 45 tests (click issues, screenshots) (#8533)Henri Sara2017-02-103-12/+15
|
* Update Firefox/Chrome screenshots and Chrome version (#8515)Henri Sara2017-02-091-1/+1
|
* Provide a way to set styles for Header/Footer Cells and Rows in a Grid (#8499)Denis2017-02-083-72/+55
| | | Fixes #8422
* Fix removing and adding a column in grid (#8437)caalador2017-02-082-9/+31
| | | | | | | | | | | | | | * Added column should also be added to footer (#590) When adding (readding) a column the column should also be added to footer as it will be removed and iterator will request footer for it. * Add test for re-add column (#590) * To lowerCase using Locale * Fixed compilation problem. Too little sleep for a friday evening...
* Fix profiles in vaadin-root pom.xml (#8484)Teemu Suo-Anttila2017-02-082-32/+18
|
* Fix keyboard navigation for ListSelect (#8503)caalador2017-02-081-0/+18
| | | Fixes vaadin/framework8-issues#463
* Fix toggling of WeekNumbers for DateTimeField. (#8468)caalador2017-02-072-0/+164
| | | Fixes #8405
* Make one-arg addColumn use natural sort for mutually comparable values (#8458)Leif Åstrand2017-02-073-3/+3
| | | | Fixes #8371 Fixes #8128
* Fix problem with re-opening the popup (#8446) (#8451)caalador2017-02-062-0/+118
| | | | | | | | | * Fix problem with re-opening the popup (#8446) Fixed problem that disables opening of popup after closing it by clicking the datefield-button. * Fix issue #8446 in compatibility version PopupDateField also.
* Disable test method on which build got stuck. (#8445)Henri Sara2017-02-041-0/+2
|
* Fix JBoss 6 integration testsIlia Motornyi2017-02-032-157/+0
|
* Fix absolute layout component resize test (#8429)caalador2017-02-031-16/+29
| | | | Fix test checking for left:auto by testing the actual wrapper width that should change.
* Fix some broken tests and ComboBoxElement (#8430)Henri Sara2017-02-032-12/+27
|
* Add Grid editor events. (#8365)Denis2017-02-022-0/+126
| | | | | | | | | | * Migrate v7 Grid tests. Next round. Fixes #8419 * Add Grid editor events. Fixes #8202.
* Typo fix; screenshots update.Ilia Motornyi2017-02-022-2/+2
|
* Add scrollTo methods to Grid (#8203) (#8410)caalador2017-02-025-0/+763
| | | | | | | | | | | | | | * Add scroll methods to serverside grid (#8203) Added scrollToTop(), scrollToEnd() and scrollTo(int row) * Fix scrolling to view of opened details (#8203) Removed dependency for DetailsManagerConnector from GridConnector. GridConnector now handles one off listeners. * Rename detailsRefresh to better show that it's one-off. Add missing copyright header.
* Grid tests migration. Next round. (#8412)Denis2017-02-0214-425/+330
| | | | | | * Grid tests migration. Next round. Fixes #8373
* Handle system properties for failsafe plugin (#8414)Teemu Suo-Anttila2017-02-021-31/+11
| | | | * Handle system properties for failsafe plugin
* Require Maven 3.1 or newer for uitest (#8418)Pekka Hyvönen2017-02-021-0/+5
|
* Replace FontAwesome with Vaadin Icons (#8208)Pekka Hyvönen2017-02-0119-42/+340
| | | | | | | * Include FontAwesome by default for easier migration * Fix JSComponentLoadingIndicatorTest Fixes #7979 Addresses part of #8219
* Refactor testing of the framework (#8393)Teemu Suo-Anttila2017-02-0121-1367/+114
| | | | | | | | | * Integration tests moved from uitest to separate test modules * Run TB4 tests with maven profile * Remove old ant/ivy build scripts from uitest * Add 'needs-ssh' test category for reconnection test * Add default values for testing and validation builds * Add placeholder build.xml with instructions to run Maven
* Add a maven plugin for formatting according to Eclipse settingsLeif Åstrand2017-02-0118-55/+80
| | | | | Running formatter:format will format all files in a submodule using an embedded Eclipse compiler (based on Neon SR1) according to the regular formatting settings file.
* Refactor editor API to use Binding instead of a component generator (#8368)Leif Åstrand2017-01-316-72/+46
| | | Fixes #8366
* Introduce empty selection functionality for NativeSelect. (#8336)Denis2017-01-274-1/+129
| | | | | | * Introduce empty selection functionality for NativeSelect. Fixes vaadin/framework8-issues#545
* Allow to disable user selection in the grid model. (#8345)Denis2017-01-272-0/+101
| | | | | | * Allow to disable user selection in the grid model. Fixes vaadin/framework8-issues#546
* JspIntegrationTest as a separate module (#8228)Ilia Motornyi2017-01-263-159/+0
| | | Part of vaadin/framework8-issues#539
* Add APIs to inform components of stale objects in DataProvider (#8271)Teemu Suo-Anttila2017-01-251-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add DataProvider refreshItem for single item update * Add 'id' concept for DataProviders This patch also adds a simplified data provider that can replace items based on their id. This can be used to simulate stale objects from an actual backend. * Add refresh logic to Grid SelectionModels * Remove broken equals and hashCode * Refresh KeyMapper, clean up some methods * Fix UI.access in test * Fix tests and Grid single selection model * Do clean up before replacing data provider * Check correct variable for null value * Fix other selects, add generic tests * Code style fixes, removed assert * Merge remote-tracking branch 'origin/master' into 286_refresh_items * Fix documentation for refreshing an item * Improve introduction chapter, minor clarifications * Merge remote-tracking branch 'origin/master' into 287_refresh_items * Add missing parameters in unit tests
* Support loading of HTML imports using @HtmlImport (#8301)Artur2017-01-2513-3/+243
| | | | | Note that not all browsers yet support HTML imports. If a polyfill is needed to load HTML imports, it must be loaded before HTML Imports can be loaded. There is no automatic loading of any polyfills.
* Add static helpers for creating callback data providers (#8314)Leif Åstrand2017-01-254-4/+4
| | | | | Cannot overload the same create method for this purpose since it conflicts with T... overload. Each case is instead given its own descriptive but still discoverable method name.
* Support using multiple @JavaScript and @StyleSheet annotations on a class ↵Artur2017-01-247-14/+26
| | | | (#8293)
* Fix absolute layout component sizing on size change (#8269)caalador2017-01-232-0/+196
| | | | | | | | | | | | | * Fix absolute layout component sizing on size change (#8255, #8256, #8257) Changing from relative to defined size leaves the component positioned wrong, also changing from defined size to relative size leaves the component in the wrong position with the wrong size. Change makes the wrapper rerun setChildWidgetPosition() that adds/removes necessary css definitions to/from the cssPosition String. * Clean test sources according to review.
* Overload AbstarctComponent.setDescription() with content mode parameter (#8252)Denis2017-01-2073-74/+186
| | | | | | * Overload AbstarctComponent.setDescription() with content mode parameter Fixes #8185
* Introduce DateTimeFile and InlineDateTimeField. (#8218)Denis2017-01-1933-24/+1677
| | | | | | | | | | * Introduce DateTimeFile and InlineDateTimeField. Fixes #8132 * Correct and provide declarative tests. * Provide a date converter and UI tests.
* Change BackEndDataProvider into an interface (#8268)Leif Åstrand2017-01-191-2/+3
| | | | | | | | | | | | | | | | * Change BackEndDataProvider into an interface BackEndDataProvider is now an interface with methods for setting sorting options based on SortOrder instances. AbstractBackEndDataProvider stores sorting options, combines them with the sorting provided in the query and invokes its own abstract fetch and size methods. CallbackDataProvider implements a BackEndDataProvider based on two lambdas. This is one of many steps towards #8245
* Add getHeaderCellByCaption method to tb-api GridElement (#8248)rogozinds2017-01-172-1/+48
| | | | * Add getHeaderCellByCaption method to tb-api GridElement
* Support for HTML5 push/replaceState for proper deep linking features (#8116)Matti Tahvonen2017-01-137-0/+197
| | | | | | | | | | | | | | | | | | | | | | | | * Added support for HTML5 push/replaceState for proper deep linkin features * Automated test script now works at least on chrome * Uses html5 push/popstate to implement uri fragment feature * fire legacy fragment change events also via popstate events rpc calls * send new fragments via pushstate mechanism * formatting * Formatting and adding test and workaround for IE bug * Formatting and depracated UriFragmentListener * Aligned naming in the new API * Ignored IE due to web driver bug Tested a workaround with javascript based window.location.href fetch, but that don’t seem to work stable enough.
* Add "deselect allowed" feature to the Grid. (#8227)Denis2017-01-133-3/+116
| | | | | | * Add "deselect allowed" feature to the Grid. Fixes #8149
* Support for defining the root element for Javascript components (#8143)Artur2017-01-133-0/+83
| | | Fixes #7005