aboutsummaryrefslogtreecommitdiffstats
path: root/uitest
Commit message (Collapse)AuthorAgeFilesLines
* Update Chrome version in Test (#11613)Zhe Sun2019-06-1233-86/+140
| | | | | | | | 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 regression that broke PreserveOnRefresh functionality with Navigator ↵Tatu Lund2019-06-072-0/+54
| | | | | | | | | | | (#11615) * Fix regression that broke PreserveOnRefresh functionality with Navigator Fixes https://github.com/vaadin/framework/issues/11614 Old patch https://github.com/vaadin/framework/issues/11416 calls navigateTo allways when Navigator is present, which is wrong, since it is needed only when navigation state has truly changed. * Add test to the fix
* Recalculate the column widths before the first row is added (#11609)Zhe Sun2019-06-063-0/+86
| | | | | | | * Recalculate the column widths before the first row is added Fixes #11607
* Grid Editor: make Tab key skip read-only/disabled fields (#11586)Martin Vysny2019-06-032-4/+25
| | | | | | | | | | | | | | | | * Grid Editor: make Tab key skip read-only/disabled fields Closes #11584 * Extracted DefaultEditorEventHandler.getDeltaFromKeyDownEvent() which allows for easy further Grid Editor customization * Make DefaultEditorEventHandler.Delta public so that getDeltaFromKeyDownEvent() can be overridden * Fixed exception in isEditable() if the widget was not a Field * Refactored DefaultEditorEventHandler.Delta to CursorMoveDelta which expresses the intent more clearly * Merge branch 'master' into master
* Fix Grid reordering when there are hidden columnscuong-phan2019-05-202-0/+110
| | | | | | | | * Fix grid column reordering Fix grid column reordering when there are hidden columns and footerRow.join * Add test
* Don't attempt to scroll to the beginning or end if Grid has no rows. (#11570)Anna Koskinen2019-05-201-0/+61
| | | Fixes #11558
* Fix duplicate grid column visibility change event (#11565)cuong-phan2019-05-162-0/+103
| | | | | | | | * Fix duplicate grid column visibility change event Toggle a column visibility through UI will fire 2 event. There should be only 1. * Add Test
* Grid editor: TAB now skips non-editable columns (#11573)Martin Vysny2019-05-162-0/+232
| | | | | | | | | | | * Grid editor: TAB now skips non-editable columns Pressing TAB would shift the focus to non-editable cells when the Grid was in edit mode. This patch makes DefaultEditorEventHandler to skip such columns. Closes #10970 * Add tests
* Reduce Grid's sort complexity. (#11566)Anna Koskinen2019-05-152-0/+88
| | | | | | - limit DataCommunicator workaround from #11320 to ComboBox only - don't reset DataCommunicator before modifying all sorting data Fixes #11532
* Add handling for completely empty Grid's column width calculations. (#11569)Anna Koskinen2019-05-141-0/+60
| | | Fixes #11557
* code format (#11555)Sun Zhe2019-05-026-12/+14
|
* Code format (#11548)Sun Zhe2019-04-296-8/+7
| | | | | | * Code format * Merge branch 'master' into code-format
* Replace the screenshot usage in framework test (#11547)Sun Zhe2019-04-2930-43/+65
| | | | | | | | | - Replace the GridDisabledTest screenshot usage - Replace the screenshot tests in BasicCrudGridEditorRowTest - Replace the screenshot tests in ComboboxVaadinIcons - Replace the screenshot tests in ValoThemeUITest::accordions - Added screenshotcomparetolerance to some screenshot test to make tests stable
* Update browser version in the test (#11550)Sun Zhe2019-04-251-1/+1
|
* Reset Combobox internal state (#11412)Sun Zhe2019-04-242-0/+254
| | | | | | | | | | issue in #11343 and #11385 is not reproducible on top this patch Three different bugs are involved in this fix: we bring the old fix(#11094) back and fixed the other related issues: 1) allow adding the same new item after dataProvider got reset, This is cause by the client side parameter `LastNewItemString`, it saves the value added before resetting. 2) clear the pending newItem eagerly, so that the same value will not be added again.
* Update to 8.9 (#11535)Sun Zhe2019-04-181-1/+1
| | | | | | * Update to 8.9-SNAPSHOT * update in bom module
* Clicking on slider makes handler move (#11519)Anastasia Smirnova2019-04-102-0/+97
| | | | | | | | | | | | | | * Clicking on slider makes handler move Fixes #1496 * Introducing control over clicking behaviour - User will have to enable process of the click event on handle calling `slider.setEnableClickHandler(true);` - Clean-up the handler logic in VSlider.java - Renaming the property to `updateValueOnClick` - Added JavaDocs - Fixing tests
* Add delay to the unstable test (#11538)Sun Zhe2019-04-092-1/+2
| | | * Add delay to the unstable test
* Use Enter and Space keys to fire Window header buttons (#11517) (#11534)KatriHaapalinna2019-04-082-0/+442
| | | | | | | | | | * Fixes 11517. Use ENTER and SPACE keys as shortcuts for header buttons * Merge branch 'master' into fix-11517 * Increase sleep time for test failing in validation * Merge branch 'master' into fix-11517
* Update screenshots after chrome updates (#11536)Sun Zhe2019-04-08108-1/+1
| | | | | | * Update screenshots after chrome updates * Update screenshots after chrome updates
* Reset selection on DataProvider change in RadioButtonGroup (#11526)Anastasia Smirnova2019-04-042-0/+76
| | | | | | | | | | | | * Reset selection on DataProvider change in RadioButtonGroup Fixes #11454 Other components needing the same fix are ListSelect,NativeSelect,Combobox (The ones implementing HasDataProvider and extending AbstractSingleSelect. Grid is not affected as it extends AbstractListing and hadles selection differently) * Added test case Verify that ValueChangeListener is actually fired after value is reset setting new DataProvider
* Read-only combobox should not handle PASTE event (#11529)Anastasia Smirnova2019-04-042-0/+47
| | | Fixes 11528
* setCaption of Panel did not honor setCaptionAsHtml (#11523)Tatu Lund2019-04-024-0/+50
| | | | Verify that correct mode(HTML/TEXT) of caption is set for the Panel Fixes #11521
* Fix NPE in v7 compatibility Grid during datasource rebind (#11473)Tobse2019-03-272-0/+65
| | | | | Add DataChangeHandler removal in v7 Grid just as in v8 Grid. Adding tests to the fix to verify, that NPE is not thrown.
* Making V8 ReadOnly TextField select row in table upon clicking (#11480)Anastasia Smirnova2019-03-272-0/+83
| | | | | | Add check for the V8 TextField used in Table in compatibility mode. This makes clicking cell with the TextField select the row, preserving behaviour from V7. Through, as it's noted also before, this is an improved workaround, not a proper solution to address the issue. Fixes #11474
* Make improve of caching for hierarchical data optional (#11501)Klaudeta2019-03-212-0/+174
| | | | | Make improve of caching for hierarchical data optional Fixes #11477
* Fix ComboBoxElement clear method (#11483)Sun Zhe2019-03-062-12/+4
| | | | | | Explicitly reset the value in case if it was cleared. Ignore the case for selecting a suggestion. Fixes vaadin/testbench#1122
* Remove redundant check for for Firefox (#11471)Anastasia Smirnova2019-03-062-0/+61
| | | | | | | | | | | * Add Test file * Remove redundant check for for Firefox It seems that in older versions of Firefox (at least, older than 45) the KeyPress event should be used instead of KeyDownHandler. At some point (works already on 58 version, the current one is 65) the issue was resolved and starting from Firefox 65 this hook prevents from navigating in the pop-up via keyboard. Simply removing additional logic makes navigating in both DateField and InlineDateField possible Fixes #11465
* Ensure pop-up is not opened, when tabbing out fast from Combobox (#11436)Anastasia Smirnova2019-02-251-0/+43
| | | | | | | | | | | Checking that no prior Combobox behavior is broken * Cleaning-up the code Adding UI test * Adding TestBench test
* Custom serializers accessors (#10658)Olli Tietäväinen2019-02-221-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | * add accessor methods for CUSTOM_SERIALIZERS in JsonCodec * javadoc * removed removeCustomSerializer method, renamed putCustomSerializer to addCustomSerializer, added sanity checks and JavaDocs * refactored addCustomJsonSerializer to set, added test UI * move enums to be parsed after custom serializers * move adding custom serializer to static block * throw an exception if multiple serializers are registered for class * updated javadocs * changed CustomJSONSerializerTest to a SingleBrowserTest * moved CustomJSONSerializerTest to server/ and it's now not a browser test * removed CustomJSONSerializerTest
* Fix an NPE caused by the previous fix to Grid's frozen columns (#11444)mlindfors2019-02-042-0/+86
| | | | | | | | | | * Fix an NPE caused by the previous fix to Grid's frozen columns (#10653) If the user managed to get two frozen column count changes into a single server round-trip before the component had been attached, the previous fix #11346 lead to a null pointer exception since there was no diff state available. This fix adds a null check before removing the frozen column count value from the diff state so that this will not happen. Closes #10653
* * Update since tags and fix code formatting (#11441)Mehdi Javan2019-01-301-2/+4
|
* Update Tooltip Snapshot (#11414)Sun Zhe2019-01-171-0/+0
|
* Fix #11369 (#11403)Maciej Przepióra2019-01-173-0/+109
| | | Clear contents of iframe clone that is in a Window so that when it's reattached to DOM we don't get 404
* Fix wrong year assert in DateField test (#11404)Sun Zhe2019-01-021-7/+9
|
* Update snapshot to 8.8-snapshot (#11397)Sun Zhe2018-12-281-1/+1
|
* Grid column npe behavior (#11390)Olli Tietäväinen2018-12-282-0/+111
| | | | | | | | * add possibility to configure nested null behavior to Grid.Column * added addColumn method that allows configuring the nested null handling behavior of the column * added uitest for nested null value handling, implements #11137
* Update release note and since tag (#11386)Sun Zhe2018-12-205-31/+52
| | | | * Some formatting changes
* Checkbox allow customizing of input and label classNames. (#11372)Knoobie2018-12-182-0/+81
| | | | | | | | | * add client side integration for custom styles for checkbox.label and checkbox.input * add server side integration for checkbox element styling * add server side tests * add client side test
* Improve VMenuBar click handling logic (#11356)Anastasia Smirnova2018-12-172-0/+78
| | | | | | | | | | | | | | | * Improve VMenuBar click handling logic During `updateFromUIDL` inside MenuBarConnector we empty and re-instantiate the components of MenuBar. When we are modifying the Menubar from the BlurEventListener of another component, we ,by this, remove widgets, therefore clickEvent is not fired and the action of the MenuItem is not proceed as a result. (The BlurEvent is fired before the click event in the chain of events. ) To improve the situation, we catch onMouseDown event , which is fired before BlurEvent,by assigning mouseDown flag to true. Then if no click event has yet happened, we delay the execution of update inside `updateFromUIDL` by default 500 ms. Then if click event occurs, it proceeds normally. The time can be increased/decreased using setter. There is no delay, if we are clicking on the MenuBar as usual or no Blur listener is set. This change allows setting descriptions * Remove accidentally committed comment * Don't update the state on the getDelayMs call
* Prevent IndexOutOfBoundException in VMenuBar.CustomMenuItem (#11285)Jonni Madekivi2018-12-172-0/+50
| | | | | | | | * Fixes #10814 * Add missing tests Fixes #11374
* Update Screenshot due to Icon update (#11373)Sun Zhe2018-12-145-0/+0
| | | | Update screenshots due to update of search-minus and search-plus icons values
* Move onClick logic to the Connector (#11367)Anastasia Smirnova2018-12-142-0/+54
| | | | | | | | | | * Move onClick logic to the Connector Move onClick event handling from 'VNativeButton' to NativeButtonConnector. Now works as for regular button. Also, adding propagation of the `enabled` value to the state on disableOnClick being true Fixes https://github.com/vaadin/framework/issues/11188
* Apply missing v-readonly style to CheckBoxGroup, when component is readOnly ↵Anastasia Smirnova2018-12-132-0/+76
| | | | | | | | | | | | | | | | (#11370) Setting read-only state to CheckBoxGroup should disable adding clicking effect. Missing v-readonly style is added to every CheckBox in the component, if it's set to read-only. Fixes: https://github.com/vaadin/framework/issues/11113 * Add file missed from initial commit * Verifying that option is enabled Some of the options might be disabled on there own. Verify that option is not disabled, before removing disabled styles. * Add missing test file
* Request data update before client response (#11341)Sun Zhe2018-12-112-0/+102
| | | | | | | | | * Request data update before client response * fix the accidental commit * add tests fixes #11320
* Add missing FocusShortcutListener (#11289)Michael Forstner2018-12-102-0/+73
| | | | | | | | | * Add missing FocusShortcutListener Was removed from 8.0 and not readded. Fixes #8297 * Update Release note for this change
* Fix Grid's frozen columns not being set (#10653) (#11346)mlindfors2018-12-052-0/+83
| | | | | | | In certain cases setting the frozen columns didn't produce the expected result in the client side widget state. This happened if the frozen columns value was set to be the same it was before removeAllColumns was called. This fix removes the frozen column value from the diff state so that the value gets properly set in the client side. Closes #10653
* Add more context information to criteriaScript in GridDropTargetConnector ↵vt5122018-12-051-0/+86
| | | | | | | | | | | | | | | | | | | | | (#11321) * Add more context information to criteriaScript in GridDropTargetConnector When using drag and drop in Grids and TreeGrids a criteriaScript can be specified. However, this criteriaScript only gets an event as input parameter. It would be helpful if the criteriaScript would get more information: - the DropLocation - the targetElement which is used as a base for the DropLocation This change provides a protected method in DropTargetExtensionConnector which decides, if the drop is allowed by the criteriaScript. This method is overriden in GridDropTargetConnector to provide the both parameters dropLocation and targetElement. * add Test UI for criteriaScript with targetElement and dropLocation * add some description for the Test UI
* Improvement to details row height handling. (#11351)Anna Koskinen2018-12-042-0/+153
| | | | | | - When rows are added, details row heights need to be taken into account in positioning. Fixes #11348
* added newlines to the end of filesOlli Tietäväinen2018-12-041-1/+1
|