aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Update Chrome version check to 85 (#12090) (#12102)8.11.38.11Anna Koskinen2020-09-093-1/+7
| | | | * Update Chrome version check to 85 (#12090)
* Only remove caption margin from the first visible tab. (#12078) (#12099)Anna Koskinen2020-09-071-0/+46
| | | Fixes #10437
* Add a regression test for Table's RowGenerator feature. (#12069) (#12071)Anna Koskinen2020-08-112-1/+168
| | | | There used to be a TB2 test for this once upon a time, but for some reason that never got converted into a TB3 test before getting removed.
* Revert 'Rewrote debouncing of onResize (#11899)' (#12051) (#12056)Anna Koskinen2020-07-151-0/+55
| | | Fixes #12049
* Cherry pick 8.11.1 (#12046)Zhe Sun2020-07-012-0/+75
| | | | | | | | | | | | | | | | | | | * Fix rendering of TreeGrid's frozen columns after hierarchy-column reset (#12028) * Add tests * Fix getVisibleFrozenColumnCount() if SelectionMode is multi * Update ComboBox popup position comparison to use correct top value. (#12041) Fixes #12029 * Clear thread local instances on connection lost in push handler (#12042) Adopted from https://github.com/vaadin/flow/pull/8567 Co-authored-by: Tarek Oraby <42799254+tarekoraby@users.noreply.github.com> Co-authored-by: Anna Koskinen <Ansku@users.noreply.github.com> Co-authored-by: Tatu Lund <tatu@vaadin.com>
* Use Rebase and Merge, Please (#12023)8.11.0Zhe Sun2020-05-266-1/+181
|
* Fix to compatibility Grid sorting after removing multi-select. (#12012) (#12013)Anna Koskinen2020-05-151-0/+40
| | | | | | * Fix to compatibility Grid sorting after removing multi-select. (#12012) Adapted from V7 fix #10999
* Update firefox version to 75 (#12000) (#12005)Anna Koskinen2020-05-141-1/+1
| | | Authored-by: Zhe Sun <31067185+ZheSun88@users.noreply.github.com>
* Fix RTA's CreateLink in Firefox & IE11 (#11979)Tarek Oraby2020-05-081-0/+77
| | | | | | | In Firefox and IE11, the 'Create Link' button of the RichTextArea (RTA) only works by turning some highlighted text into a link (by adding the inserted URI as the href property of the text). In that, the RTA in these two browsers behave similarly to the way it does in Chrome and Edge. However, in Firefox and IE11, clicking the 'Create Link' button has no effect if no text is pre-selected by the user. This is different from the button's behavior in Chrome and Edge where the user's provided URI is inserted, both, as the displayed text and its href property if no text is highlighted. This fix enables the RTA's 'Create Link' button to work consistently across the supported browsers. Specifically, (and in addition to enabling adding the href property of a highlighted text), this fix enables Firefox and IE11 to also insert a new Uri as a text and its href property if no text is already highlighted. fixes #11888
* Take overlays into account in getConnectorForElement. (#11980)Anna Koskinen2020-05-051-0/+73
| | | | | | * Take overlays into account in getConnectorForElement. Fixes #11212
* Allow replacing all columns at once when some of them are frozen. (#11978)Anna Koskinen2020-04-301-0/+34
| | | Fixes #11824
* Fix the column width calculations for full width cell contents. (#11974)Anna Koskinen2020-04-291-0/+61
| | | Fixes #11973
* Don't center a window that has already been removed. (#11956)Anna Koskinen2020-04-241-0/+32
| | | | | | * Don't center a window that has already been removed. Fixes #11942
* Allow AbstractDateField to provide DST zone names over custom ranges (#11927)Tarek Oraby2020-04-211-0/+155
| | | | | | | | | DateTimeField and DateField currently implement a hardcoded logic by which they adjust their time zone names to display daylight-saving time (DST) zone names. Specifically, this hardcoded logic only adjusts the displayed date to DST format if that date falls in one of the years between 1980 and the following 20 years in the future from the current date (that is, until 2040 at the time of this commit). For some use cases, this is problematic because it is desirable to display proper DST-adjusted time zones beyond the 20 years limit (and possibly also before 1980). Rather than choosing another arbitrary, hardcoded threshold, this commit extends the AbstractDateField API to allow the user to choose the range (start and end years) between which the DST transition dates are calculated (and hence displayed properly). If the user doesn't invoke this new API, DateTimeField and DateField will default to behave according the existing logic (i.e. display DST zone names between 1980 and 20 years into the future). Closes #11919
* Updating Chrome version (#11952)Tatu Lund2020-04-161-1/+1
|
* Set DateField value only if it passes range check (#11887)Tatu Lund2020-04-082-1/+6
| | | Fixes #11108
* Allow setting Upload button caption as HTML, move data to SharedState. (#11940)Anna Koskinen2020-04-061-0/+67
| | | Fixes #11810
* Prevent upload if no file is selected. (#11939)Anna Koskinen2020-04-032-1/+133
| | | Fixes #10419
* Ensure ChangeListener still works after first upload. (#11936)Anna Koskinen2020-04-011-0/+90
| | | Fixes #10420
* Ensure recalculateColumnWidths works with refreshAll. (#11934)Anna Koskinen2020-03-311-0/+91
| | | | | | | | Column widths shouldn't be calculated between the clearing of cache and re-populating it, but be delayed until the cache has some content again. The calculations should only be triggered immediately if no rows are expected. Fixes #9996
* Fix an issue with frozen column count and unhiding. (#11929)Anna Koskinen2020-03-261-0/+38
| | | | | | | * Fix an issue with frozen column count and unhiding. Unhiding logic should take into account that there can be hidden frozen columns that are not the column currently getting shown.
* Tweaked layouttester tests to be more informative. (#11800) (#11813)Anna Koskinen2020-03-239-3/+198
|
* Trigger re-measure after updating ElementResizeListeners. (#11912)Anna Koskinen2020-03-091-0/+29
| | | | | | | | | | | Removing ElementResizeListeners from an element makes it unmeasurable and clears any saved measured values. Adding the listeners back makes the element measurable again but doesn't add it to measuring queue. Measuring needs to happen or any updates to expanded components within a layout (without changes that would trigger full re-measuring of the layout itself) lead to broken expand size calculations with any fixed size elements assumed to have no size. Fixes #10734
* Further tweaks to ComboBox popup positioning. (#11910)Anna Koskinen2020-03-061-0/+29
| | | | | | | | * Further tweaks to ComboBox popup positioning. - Updated a comment and renamed a private method for better clarity. - Blocked unnecessary position updates. - Added a test for #11866 / #11894.
* Removing code causing the trouble (#11898)Tatu Lund2020-02-241-0/+19
| | | | | | | | | | | | | | | | | | * 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
* Update Chrome version (#11891)Tatu Lund2020-02-181-1/+1
|
* Fix logic of lexicographical comparison of DateField range end (#11885)Tatu Lund2020-02-131-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
* Don't reset date to current at DateField state (e.g. read-only) updates. ↵Anna Koskinen2020-01-281-0/+38
| | | | | | | | | (#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
* Ensure value change happens before shortcuts in compatibility components ↵Anna Koskinen2020-01-151-0/+39
| | | | | (#11871) Fixes #10854
* Convert DateTimeFieldReadOnlyTest to not rely on screenshots. (#11870)Anna Koskinen2020-01-131-16/+45
|
* Convert DateFieldReadOnlyTest to not rely on screenshots. (#11867)Anna Koskinen2020-01-101-16/+45
|
* Removed outdated spacer height update from removal process. (#11861)Anna Koskinen2020-01-091-0/+39
| | | | | | * Removed outdated spacer height update from removal process. Fixes #11856
* Fix to RadioButtonGroup readOnly handling. (#11855)Anna Koskinen2019-12-231-0/+206
| | | | | | | | | * 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
* Chrome updated to 79 (#11847)Anna Koskinen2019-12-181-1/+1
|
* Test tweaks (#11841)Anna Koskinen2019-12-064-9/+24
| | | | | | | | | | | | | | | | - 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-051-0/+27
| | | | | | | | | 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-261-0/+18
| | | | | | | 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-212-3/+4
| | | | | | | | * 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-212-0/+46
| | | | | | | | | | | | | 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-041-0/+62
| | | | | | | | 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
* 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-231-0/+27
| | | | | (#11755) Fixes #11718
* Make sure expanding/collapsing updates expected cache size. (#11753)Anna Koskinen2019-10-221-0/+41
| | | | | | | | * Make sure expanding/collapsing updates expected cache size. Fixes #11749 * Merge branch 'master' into issue11749
* Upload should preserve MIMEType after first selection (#11745)Anastasia Smirnova2019-10-161-0/+105
| | | | | | | | | | | | | | | | * 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-241-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-051-0/+291
| | | | | | | | | | | - 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-297-97/+561
| | | | | | | | | | | | | | | | | | | | | | | 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.