summaryrefslogtreecommitdiffstats
path: root/testbench-api/src
Commit message (Collapse)AuthorAgeFilesLines
* Update Chrome version in Test (#11613)Zhe Sun2019-06-121-1/+1
| | | | | | | | 1) recalculate the offset, as ChromeDriver starts to follow the standard; 2) update screenshots; 3) correct the `click()` call with using coordinates, related to 1) 4) `sendkey()` with using key.modifier adjustment 5) add sleep 6) workaround for mastery failures
* Fix ComboBoxElement clear method (#11483)Sun Zhe2019-03-061-2/+7
| | | | | | Explicitly reset the value in case if it was cleared. Ignore the case for selecting a suggestion. Fixes vaadin/testbench#1122
* Fix small formatting issues (#10960)Ilia Motornyi2018-06-011-3/+2
|
* Fix ColorPickerElement and ColorPicker test (#10903)Ilia Motornyi2018-05-081-3/+2
|
* Enable formatting in testbench-api module (#10852)Ilia Motornyi2018-05-021-1/+2
|
* Add @since 8.4 (#10840)Ilia Motornyi2018-04-202-6/+6
|
* Colorpicker validation handling (#10821)KatriHaapalinna2018-04-191-1/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ColorTextField, helper methods, and regex for validating and handling text input * Refactored structure to avoid creating new component for validation * Style to adapt to error indicator * Tests for validating input in ColorPickerPreview component's TextField * Merge branch 'master' into colorpicker_validation * Fix path to server class * Fix test: Submit the new value * Fix test: ignore Phantom JS * Fix hsl+hsla validation patterns to accept '%', test value tweaking * Merge branch 'master' of github.com:vaadin/framework into colorpicker_validation * Fix: remove warning when color is updated from elsewhere * Revisions: input validation only once, Logging level WARN * Revisions: unit tests for color pattern matching * Revisions: moved parsing to utility class, tests for parsing all accepted input formats * Fixed import in tests, comments * Revisions: Logger as constant, ignore utility class in serialization test * Corner case tests * Revisions: protected method for parsing error text, fix to test * Revisions: NPE fix
* Added support for getValue and setValue into TestBench RichTextAreaElement ↵Anastasia Smirnova2018-04-101-0/+41
| | | | (#10659)
* Update empty since tags for 8.4 and 8.3.3 (#10786)Ilia Motornyi2018-04-041-1/+1
|
* Update copyright year (#10761)Ilia Motornyi2018-03-2783-83/+83
|
* Fix initially disabled items in RadioButtonGroup (#10719)Teemu Suo-Anttila2018-03-191-0/+10
|
* Use lambda expressions. (#10268)Ahmed Ashour2017-11-011-27/+21
|
* Use lambda with Handlers (#10229)Ahmed Ashour2017-10-271-3/+2
| | | Also improve naming by replacing one-letter variable names.
* Use lambda with Listeners (#10222)Ahmed Ashour2017-10-261-1/+2
| | | Also use "event" as the name for events
* Improve naming of fields and variables (#10242)Ahmed Ashour2017-10-261-6/+6
| | | | | * Variable names to conform to naming convention. * Use static constants where it makes sense
* Remove trailing spaces (#10224)Ahmed Ashour2017-10-265-17/+17
|
* Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)Ahmed Ashour2017-10-201-1/+3
| | | | | | | | * Use .toLowerCase and .toUpperCase(Locale.ROOT) * Spaces * add spaces after if(
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-124-8/+8
|
* Fix typos (#10158)Ahmed Ashour2017-10-101-1/+1
|
* First sentence of javadoc should end with a period (#10114)Ahmed Ashour2017-10-0216-40/+40
| | | Also includes minor other javadoc and formatting fixes.
* Use interface instead of implementation (#10073)Ahmed Ashour2017-09-281-3/+3
|
* Replace iff with if in javadoc (#10056)Ahmed Ashour2017-09-221-1/+1
|
* Use String.isEmpty()Ahmed Ashour2017-09-191-1/+1
|
* Fix RadioButtonGroup selection updates to client (#9749)Teemu Suo-Anttila2017-08-024-6/+58
| | | | | | | This patch provides a simple fix for the majority of issues. There are still issues that should be fixes by refactoring parts of the logic in AbstractSingleSelect. This patch does not unify the handling of empty values in the TestBench elements of various AbstractSingleSelects. Fixes #9494
* Update since tags for testbench elements (#9748)Henri Sara2017-07-278-11/+11
|
* Implement GWT Focusable so tab indexes work correctly in MenuBar (#9733)Artur2017-07-276-13/+100
| | | Fixes #9550
* Add methods for setting the date as an ISO value for date fieldsArtur2017-06-123-0/+102
|
* Update since tags for TB elements (#9329)8.1.0.alpha8Henri Sara2017-05-166-9/+9
|
* Reset HierarchicalDataCommunicator on changes (#9275)Aleksi Hietanen2017-05-111-0/+18
| | | | | | Reset HDC when encountering unexpected changes in the data. Additionally this patch fixes an issue with client and server caches getting out of sync during resets.
* Move TestBench API to the correct package (#9249)Artur2017-05-096-24/+165
| | | Fixes #9241
* Add since tags for 8.0.6Teemu Suo-Anttila2017-05-082-2/+12
|
* Use v-tree8 as stylename for new Tree component (#9238)Teemu Suo-Anttila2017-05-051-1/+1
|
* Fix minor issues with Tree theme and TB API (#9226)Teemu Suo-Anttila2017-05-031-8/+24
| | | Removes background color from Tree, adds release notes mention, JavaDoc updates.
* Use correct TreeElement and server-side classname (#9221)Teemu Suo-Anttila2017-05-031-2/+1
| | | | | * Use correct TreeElement and server-side classname * Re-enable test, remove unnecessary imports
* Add an initial version of Tree component (#9212)Teemu Suo-Anttila2017-05-022-13/+156
| | | | | | | This patch introduces a Tree component, implemented as a Composite using TreeGrid. As initial version of the component, some functionality of the old Tree component has been left out for now. Partly addresses #8617
* Make TreeGrid follow framework style conventionsAleksi Hietanen2017-04-261-1/+1
|
* Remove sendKeys workaround from ComboBoxElement (#9046)Aleksi Hietanen2017-04-131-27/+1
|
* Provide GridLayout size and cell elements to JS and TB (#9019)Artur2017-04-131-0/+55
|
* Fix column indexing when setting a renderer (#8976)Teemu Suo-Anttila2017-03-301-24/+50
| | | Fixes #8943
* Add feature to disable collapsing items in TreeGrid (#8879)Teemu Suo-Anttila2017-03-231-6/+7
| | | Fixes #8846
* Hierarchical data (#8842)Aleksi Hietanen2017-03-161-0/+112
| | | | | | | * Initial HierarchicalDataProvider for TreeGrid * Initial in-memory hierarchical data implementation * TreeGrid declarative support Fixes #8611, Fixes #8620
* Add initial implementation of TreeGrid (#8572)Aleksi Hietanen2017-02-231-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | * Add initial implementation of TreeGrid * Refactor TreeGrid and related classes * Fix potential class cast exception in TreeGrid#getDataProvider * Add smoke tests for TreeGrid * Add communication constants for TreeGrid Use shared constant values for hierarchy data serialization and deserialization * Fix event ordering in TreeGrid, add javadocs, keyboard navigation test * TreeGrid improvements * Add TreeGrid.getDataProvider to StateGetDoesNotMarkDirtyTest exclude list * Merge remote-tracking branch 'github/master' into tree-grid * Remove getEscalator override from TreeGrid
* Reduce ComboBox initial requests (#8571)Pekka Hyvönen2017-02-161-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add Firefox 45 workaround in ComboBoxElement (#8449)Henri Sara2017-02-061-3/+13
|
* Fix some broken tests and ComboBoxElement (#8430)Henri Sara2017-02-031-3/+7
|
* Add a maven plugin for formatting according to Eclipse settingsLeif Åstrand2017-02-011-9/+10
| | | | | 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.
* Add getHeaderCellByCaption method to tb-api GridElement (#8248)rogozinds2017-01-171-7/+59
| | | | * Add getHeaderCellByCaption method to tb-api GridElement
* Fix TestBench API imports (#8112)Teemu Suo-Anttila2017-01-135-15/+129
| | | | | | | | | | | | | | | | | | | | * Fix TestBench API imports, move functionality from custom elements * Fixes to TestBench APIs and JavaDocs * Merge remote-tracking branch 'origin/master' into 578_tbapi_cleanup * Fix method name in CheckBoxGroupTest * Remove unused custom element classes * Implement getOptions using getOptionElements * Replace setValue with setSelection in CheckBoxGroupElement * Rename CheckBoxGroupElement getSelection to getValue * Fix one last method
* Import element tests from TestBench (#8117)Artur2017-01-116-30/+51
| | | Contains some additional tests and element changes based on review.
* Include Framework Element API for TestBench in the project (#8014)Artur2016-12-2276-0/+4091
This makes it possible to use the latest Element classes in the framework tests and to simplify the build process. The license for the included element classes are changed to Apache2