summaryrefslogtreecommitdiffstats
path: root/uitest
Commit message (Collapse)AuthorAgeFilesLines
* Picks 8.10.2 (#11908)8.10.2Zhe Sun2020-03-022-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removing code causing the trouble (#11898) * Removing code causing the trouble Removing code that was apparently not needed in previous fix and caused regression Fixes: https://github.com/vaadin/framework/issues/11895 * Added feature to test UI * Added test case * Adding missing import * Fixing test UI * Enable DateField * Rewrote debouncing of onResize (#11899) * Rewrote debouncing of onResize Fixes https://github.com/vaadin/framework/issues/11892 * Fixing typo in variable name * Adding missing setPopupPosition(left, top); (#11902) * Adding missing setPopupPosition(left, top); setPopupPosition(left, top); needs to be called in order to top position to be set Fixes https://github.com/vaadin/framework/issues/11894 Co-authored-by: Tatu Lund <tatu@vaadin.com>
* Update Chrome version (#11891)Tatu Lund2020-02-201-1/+1
|
* Fix logic of lexicographical comparison of DateField range end (#11885)Tatu Lund2020-02-201-0/+46
| | | | | | | | | | | | | | | | | | | | | | * Fix logic of lexicographical comparison of DateField range end Fix logic of lexicographical comparison of DateField range end with large year numbers ( > 9999) Fixes #11881 * Added tests Purpose of dateFieldRangeYearDigitsIncrease() is to test that rangeEnd works correctly on 4 to 5 digits change boundary Purpose of dateFieldRangeYearBigNumbersPopupOpens() is to test that popup opens also when there is more than 4 digits in year * Fixing typo * Add error message * Set the date of the field in test * Fixing
* Cherry picks for 8.10 final release (#11883)Zhe Sun2020-02-042-0/+87
| | | | | | | | | | | | | | | | | * Don't reset date to current at DateField state (e.g. read-only) updates. (#11879) - DateFields with month or year resolution should not get their date reset to current date if the field's state is updated (e.g. by changing read-only status or adding a range). Fixes: #11864, #11605 * Update Navigator.getState() JavaDoc to be more accurate (#11876) Fixes: https://github.com/vaadin/framework/issues/11875 Co-authored-by: Anna Koskinen <Ansku@users.noreply.github.com> Co-authored-by: Tatu Lund <tatu@vaadin.com>
* define central with https8.10.0.beta1Zhe Sun2020-01-161-0/+4
|
* Ensure value change happens before shortcuts in compatibility components ↵Anna Koskinen2020-01-152-0/+86
| | | | | (#11871) Fixes #10854
* Convert DateTimeFieldReadOnlyTest to not rely on screenshots. (#11870)Anna Koskinen2020-01-1313-16/+45
|
* Convert DateFieldReadOnlyTest to not rely on screenshots. (#11867)Anna Koskinen2020-01-1013-16/+45
|
* Removed outdated spacer height update from removal process. (#11861)Anna Koskinen2020-01-092-0/+115
| | | | | | * Removed outdated spacer height update from removal process. Fixes #11856
* Fix to RadioButtonGroup readOnly handling. (#11855)Anna Koskinen2019-12-232-0/+242
| | | | | | | | | * Fix to RadioButtonGroup readOnly handling. Updated the connector to use the widget's enabled and readOnly handling as intended. Fixes #11843
* Test tweaks (#11851)Anna Koskinen2019-12-202-22/+28
| | | | | | | | | * Test tweaks Less fixed waiting times when there are ways to check that the operation has been performed. This will hopefully improve the stability a bit. * Merge branch 'master' into updateTests20191218
* Improvements to popup positioning for ComboBox within HorizontalLayout. (#11846)Anna Koskinen2019-12-181-0/+77
| | | | | | | | Expand ratio and spacing can cause ComboBox to miscalculate its own position while layouting is still ongoing. Popup should not be repositioned in such circumstances in order to avoid incorrect intermediate states. Continues on #11718
* Chrome updated to 79 (#11847)Anna Koskinen2019-12-181-1/+1
|
* Test tweaks (#11841)Anna Koskinen2019-12-0611-10/+25
| | | | | | | | | | | | | | | | - Use BrowserStack workaround for proper sendKeys functionality on IE11. - TreeGridBigDetailsManagerTest: allow two pixel discrepancy in expected scroll position to accommodate IE. - TreeWideContent: switched from raw type to type inference. - ValoColorPickerInputFormatsTest: switched equals comparison to correct way around. - ResponsiveLayoutUpdateTest: updated screenshots for IE - ColumnCollapsingAndColumnExpansionTest: updated screenshots for IE - ClosingWindowWithBrowserFrameShouldntGenerate404Test: test is incompatible with IE driver, excluded from tested browsers. In manual testing IE doesn't get 404 in the logs with or without the fix associated with this test but there are other client-side exceptions related to focus handling in either case. However, those are out of scope for this particular fix and should be investigated separately.
* Close window on ESC, when maximized button is clicked (#11840)Anastasia Smirnova2019-12-052-0/+68
| | | | | | | | | Fixes #11838 Changes: 1. Close a window when maximized button is focused and ESC is pressed 2. Add additional check for a close button to react to the ESC key press 3. Rename a private method `onCloseClick` to `closeWindow` to allow code re-use
* Delegate enabled handling to Composite root. (#11832)Anna Koskinen2019-11-262-0/+69
| | | | | | | Otherwise the changed state isn't communicated properly to the client-side in the initial round trip, as the client-side uses the child connector's state directly. Fixes #11831
* Updated local screenshot testing configurations. (#11814)Anna Koskinen2019-11-214-25/+37
| | | | | | | | * A separate screenshot module hasn't been in use for a while but local testing configurations and instructions weren't updated to the new model at the time. Could use some further cleanup but this covers the basics. * Some tweaks to ScreenshotBrowser to get it functional again, although the actions for automatically replacing or adding alternative screenshots still require work and have thus been disabled.
* Don't attempt to send expand/collapse events for disabled TreeGrid. (#11823)Anna Koskinen2019-11-213-0/+55
| | | | | | | | | | | | | The attempt gets blocked later down the line in any case and never reaches the server, but sending it messes up TreeGrid's internal state. It gets stuck waiting for the resolution of the blocked call that can then only be resolved by server-side sending its own expand/collapse request programmatically. Until that happens no further expand/collapse attempts will get sent to server even after the TreeGrid has been enabled again. Tree is also affected as it is built upon TreeGrid. Fixes #11822
* Check actual Grid selection instead of relying on allSelected flag. (#11787)Anna Koskinen2019-11-042-0/+133
| | | | | | | | The checkbox for selecting all rows only selects all the rows that have not been filtered out. Changing the filtering does not change the selection or the checkbox state so assuming that all rows are selected simply because the checkbox has been checked cannot work. Fixes #11479
* Fix a timing issue in ComboBox filtering via paste using mouse. (#11780)Anna Koskinen2019-10-311-0/+66
| | | | | | The filtering needs to be delayed, otherwise it's performed before the new filter text is available and the old filter text is used instead. Fixes #11779
* Improvements to ScrollDestination sanity checks (#11772)Anna Koskinen2019-10-281-0/+92
| | | | | | | | - The new top row logical index should always be within the logical range and high enough up to avoid leaving a gap if possible. - Added regression testing for using the different scroll destination types for scrolling to the top and to the bottom by index. Fixes #11732
* Tweak a test to open Grid details row by clicking cell instead of row. (#11764)Anna Koskinen2019-10-251-7/+10
|
* Update chrome version to 78 (#11765)Zhe Sun2019-10-251-1/+1
|
* When ComboBox popup opens to the left accommodate margin/border/padding. ↵Anna Koskinen2019-10-232-0/+63
| | | | | (#11755) Fixes #11718
* Make sure expanding/collapsing updates expected cache size. (#11753)Anna Koskinen2019-10-222-0/+153
| | | | | | | | * Make sure expanding/collapsing updates expected cache size. Fixes #11749 * Merge branch 'master' into issue11749
* Make cancellation of uploads work regardless of Push configuration (#11743)Willem Verstraeten2019-10-215-6/+112
| | | | | | | | | | | | | | - Checking the push configuration outside of session lock threw an AssertionError, so the push configuration is not checked anymore. - The original problem with cancelling Upload was due to a subtle ordering issue that depended on the Push configuration. In the case of PushMode.AUTOMATIC, a new StreamVariable was added by the `Upload` component _before_ the `FileUploadHandler` got a chance to remove the old `StreamVariable`. As a result, the `FileUploadHandler` actually removed the fresh `StreamVariable`, breaking future uploads. Fixes #11682
* Upload should preserve MIMEType after first selection (#11745)Anastasia Smirnova2019-10-162-0/+156
| | | | | | | | | | | | | | | | * Upload should preserve MIMEType after first selection Fix #11698 Automated test is not run locally, need to continue with it * Remove unused imports * Add sleep time in testing purposes * Getting a new instance of an input, after file is downloaded Exclude IE from tests. Throws https://stackoverflow.com/questions/23883071/unhandled-alert-exception-modal-dialog-present-selenium , but checked manually and it works
* Update Chrome version to 77 (#11727)Zhe Sun2019-09-2413-1/+1
| | | | | | | | * Update Chrome version to 77 * update screenshots * update screenshots
* Fix scrollTo for destination START and END and add regression testing. (#11707)Anna Koskinen2019-09-052-0/+324
| | | | | | | | | | | - Initial implementation erroneously assumed that ScrollDestination.START would only be used for scrolling up and ScrollDestination.END for scrolling down. That's obviously not what they are for, otherwise everyone would be using ScrollDestination.ANY. - Moved actual scrolling to within the helper method that originally only calculated the new scroll position. Parent method became too long otherwise. Fixes #11706
* Updated row and spacer handling for Escalator (#11438)Anna Koskinen2019-08-2910-105/+663
| | | | | | | | | | | | | | | | | | | | | | | Updated row and spacer handling for Escalator. Main changes: - Spacers are only maintained and checked for rows that have DOM representation, and not at all if there is no details generator. This gives notable performance improvements to some particularly large Grids - Escalator no longer tries to trim away any rows that don't fit within the viewport just because a details row gets opened in Grid. This leads to some increase in simultaneous DOM elements, but simplifies the logic considerably. For example opening or closing details rows doesn't require checking the overall content validity beyond the details row itself anymore, but some repositioning at most. There are also no longer any orphaned spacers without corresponding DOM rows. - Spacers are better integrated into the overall position calculations. - Some public methods that are no longer used by Escalator or have changed functionality or order of operations. Any extending classes that tap into row, spacer, or scroll position handling are likely to need reworking after this update. - Auto-detecting row height is delayed until Escalator is both attached and displayed.
* Read-only styles shouldn't override borderless background styles. (#11692)Anna Koskinen2019-08-1612-14/+167
| | | | | | | | | | | * Read-only styles shouldn't override borderless background styles. - Fixed for ComboBox and DateField styles, other tested components already do it right. Fixes #11671 * Merge branch 'master' into issue11671
* Add explicit handling of ctrl-a (#11693)Tatu Lund2019-08-122-0/+57
| | | | | | | | * Add explicit handling of ctrl-a Fixes https://github.com/vaadin/framework/issues/11678 * Adds test case and formatting the code
* Update Chrome version, snapshots and fix tests (#11684)Zhe Sun2019-08-05194-34/+61
|
* Update screenshot (#11669)Zhe Sun2019-07-301-0/+0
|
* Apply offset to column index depending on presense of selection column (#11667)Tatu Lund2019-07-301-0/+67
| | | | | | | | * Apply offset to column index depending on presense of selection column After testing this manually I noticed that offset correction needs to be negative * Add the testing UI
* Ensure the upload button has been disabled when set Enabled calling from ↵Zhe Sun2019-07-292-0/+295
| | | | | | | | | succeedL… (#11655) * Ensure the upload button has been disabled when calling from succeedListener with Push enabled * Add Tests to verify
* Update to 8.10-SNAPSHOT (#11657)Zhe Sun2019-07-291-1/+1
|
* Use https for Maven repositories (#11668)Stéphane Nicoll2019-07-291-1/+1
| | | | * Use https for Maven repositories
* Ensure that VComboBox.selectedOptionKey gets initial selection. (#11665)Anna Koskinen2019-07-242-0/+82
| | | Fixes #10741
* Improvements to detail row index handling. (#11345)Anna Koskinen2019-07-165-0/+1021
| | | | | | - Escalator should notify when an existing details row is moved to a new index. - Grid and DetailsManagerConnector should update their internal indexing when details manager index changes in Escalator.
* 11642 refresh pagelength 0 combobox items after dataprovider update (#11653)Olli Tietäväinen2019-07-122-0/+166
| | | | | | * Fixes #11642. ComboBox with pageLength 0 should be updated if DataProvider changes * added comments, fixed imports
* Ensure the selection has been changed before updating . (#11658)Anna Koskinen2019-07-121-0/+51
| | | | | | | - Initial fix attempt interfered with selection events, added regression testing for those and found a better way to ensure shift selection works on IE11 also with Windows 7. Fixes #11608
* Fix unstable tests (#11648)Zhe Sun2019-07-045-19/+22
| | | | | * Fix unstable tests
* Fixes unstable/muted tests (#11640)8.9.0.alpha1Zhe Sun2019-06-284-15/+15
|
* Add Delay to unstable tests (#11638)Zhe Sun2019-06-273-5/+12
| | | | | | * Add Delay to unstable tests * Add sleep time
* Adding css class to Editor when on selected row (#11636)Tatu Lund2019-06-261-0/+24
| | | * Adding "v-grid-editor-selected" stylename in editor cell wrapper element when Grid is opened on selected row.
* Clicking on DateField pop-up should select Month/Year (#11531)Anastasia Smirnova2019-06-252-0/+141
| | | | | | | | | * Clicking on DateField pop-up should select Month/Year In Year/Month Resolution DateField should select the value, when user clicks on pop-up Fixes #8447
* Limit previous solution for non-push mode UI (#11629)Zhe Sun2019-06-242-0/+22
| | | | | | | | * add test case * Limit the workaround for non-push mode Fixes #11616
* Add IE11 workaround for ListSelect multiselection. (#11631)Anna Koskinen2019-06-201-0/+56
| | | Fixes #11608
* Separates a rpc for handling the client event order in DateTimeField (#11574)Zhe Sun2019-06-142-0/+93
| | | | | | | | * Using @Delayed annotation for DateField Rpc * Separate a rpc for handling the time change in DateTimeField * Add test case for wrong event order