aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/components/treegrid
Commit message (Collapse)AuthorAgeFilesLines
* Updates to TreeGrid's ensureAvailability handling. (#12374)Anna Koskinen2021-08-201-0/+22
| | | | | | | | - Always update the availability request range when more or less data becomes available. Otherwise e.g. programmatically expanding a TreeGrid row can lead to discarding a lot of the new data right after receiving it. Fixes #12372
* Fix rendering of TreeGrid's frozen columns after hierarchy-column reset (#12028)Tarek Oraby2020-06-181-0/+40
| | | | | * Add tests * Fix getVisibleFrozenColumnCount() if SelectionMode is multi
* Test tweaks (#11841)Anna Koskinen2019-12-061-3/+3
| | | | | | | | | | | | | | | | - 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.
* Don't attempt to send expand/collapse events for disabled TreeGrid. (#11823)Anna Koskinen2019-11-211-0/+24
| | | | | | | | | | | | | 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
* 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
* Updated row and spacer handling for Escalator (#11438)Anna Koskinen2019-08-292-66/+448
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Improvements to detail row index handling. (#11345)Anna Koskinen2019-07-162-0/+805
| | | | | | - 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.
* Improvement to details row height handling. (#11351)Anna Koskinen2018-12-041-0/+91
| | | | | | - When rows are added, details row heights need to be taken into account in positioning. Fixes #11348
* Fix expanding an added TreeGrid node (#11018)Teemu Suo-Anttila2018-07-021-0/+29
| | | Fixes #9997
* Fix IE11 tests for BrowserStack environment (#10959)Teemu Suo-Anttila2018-06-041-6/+0
|
* Enable maven formatting for uitest (#10908)Ilia Motornyi2018-05-174-29/+31
|
* Introduce XVFB cluster testing (#10801)Teemu Suo-Anttila2018-04-172-3/+9
| | | | | | | | | This patch adds the ability and configuration for running tests against cluster running Chrome browsers in XVFB environment. It also contains multiple fixes for combining newer Selenium and Chrome as well as fixes tests that depend on timezones.
* Remove copyright headers from test code (#10770)Teemu Suo-Anttila2018-03-281-15/+0
|
* Add recursive expand and collapse method to TreeGrid and Tree (#10283)Adam Wagner2018-02-082-0/+124
|
* Simplify waitUntil() in tests (#10181)Ahmed Ashour2017-10-131-8/+1
|
* Add aria-rowcount to grid (#10167)Knoobie2017-10-111-0/+73
| | | This is based on discussion from vaadin/vaadin-grid#1023 .
* Use static import of Assert in tests (#10126)Ahmed Ashour2017-10-036-30/+35
| | | | Also removes dependency on junit.framework.TestCase .
* Fix TreeGrid double click event in hierarchy column (#10070)Adam Wagner2017-09-251-0/+36
| | | Fixes #9868
* Remove element explicitly when reordering tree grid rows (#9952)Adam Wagner2017-09-111-0/+33
| | | | | | | Under certain circumstances IE 11 (11.0.45 / 11.0.9600.18762) produces an exception when collapsing/expanding rows (particularly the first child after the very first element) in a TreeGrid within a Window. This workaround removes the row explicitly before inserting, instead of letting JS handle it. Fixes #9850
* Rewrite HierarchyMapper to consistently handle changes Teemu Suo-Anttila2017-06-151-7/+3
| | | | | | Fixes #9449 Fixes #9490 Fixes #9448 Fixes #9465
* Allow changing the renderer of hierarchy column in TreeGrid (#9514)Teemu Suo-Anttila2017-06-131-34/+30
| | | Addresses #9465
* Make select all work with TreeGrid (#9412)Aleksi Hietanen2017-05-231-0/+60
| | | Fixes #9403
* Remove unnecessary rowmode prefix from TreeGrid focus styles (#9327)Teemu Suo-Anttila2017-05-162-21/+21
|
* Refactor common methods in in-memory data providers (#9308)Aleksi Hietanen2017-05-162-2/+2
| | | | | | * Refactor common methods of InMemoryHierarchicalDataProvider and ListDataProvider to a single interface * Rename HierarchyData and InMemoryHierarchicalDataProvider, introduce HasHierarchicalDataProvider * Additionally adds a helper method for recursive constructing TreeData with a child item provider.
* Reset HierarchicalDataCommunicator on changes (#9275)Aleksi Hietanen2017-05-111-0/+121
| | | | | | 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.
* Fix selection with space in TreeGrid/TreeHenri Sara2017-05-101-0/+45
| | | Makes subclasses of Grid call custom key and mouse event handlers.
* HierarchicalDataProvider cache invalidation workaround (#9218)Aleksi Hietanen2017-05-021-0/+32
| | | | | | Workaround for issue in data communication where active keys are dropped incorrectly on the server. See issue #9217
* Improve expand and collapse of items in TreeGrid (#9159)Aleksi Hietanen2017-05-023-6/+116
| | | | | | | | | | | | | Fixes a race condition when expanding multiple items. Only one expand or collapse request should be sent from the client before waiting for a response, otherwise the indexing in subsequent requests will be incorrect. Adds API to collapse and expand multiple items from the server, reducing the amount of round trips with multiple item expands and collapses. HierarchyMapper now correctly keeps expanded nodes expanded if their parent is collapsed.
* Make TreeGrid follow framework style conventionsAleksi Hietanen2017-04-262-24/+34
|
* Fix race condition between rendering TreeGrid and setting up headers (#9105)Teemu Suo-Anttila2017-04-211-0/+15
| | | | | | * Fix race condition between rendering Grid and setting up headers * Remove Grid default headers when initializing the widget * Fix header clean up, add null check to select all checkbox
* Fix empty TreeGrid (#9067)Aleksi Hietanen2017-04-121-0/+19
|
* Fix initial expand of TreeGrid itemsAleksi Hietanen2017-04-111-0/+23
| | | Fixes #9050
* Add server-side expand and collapse to TreeGrid (#9021)Aleksi Hietanen2017-04-062-25/+161
| | | | | | | | | | | | | | | | * Add server-side expand and collapse to TreeGrid * Add javadocs * Fix variable naming in TreeGridHugeTreeTest * Fix review comments * Merge remote-tracking branch 'github/master' into 8759-server-expand * Clear pending expands when all data is dropped * Add documentation
* TreeGrid keyboard navigation Ilia Motornyi2017-04-052-31/+241
| | | Fixes #8758
* Added test for removing last row in cachePekka Hyvönen2017-03-272-1/+47
| | | | | This is a test case for #8840 using TreeGrid. Cannot be picked for 8.0.
* Fix TreeGridBasicFeaturesTest for IE11 (#8933)Ilia Motornyi2017-03-241-0/+6
|
* Improve caching when expanding nodes in hierarchical data (#8902)Teemu Suo-Anttila2017-03-241-0/+52
| | | Fixes #8790
* Add feature to disable collapsing items in TreeGrid (#8879)Teemu Suo-Anttila2017-03-233-4/+115
| | | Fixes #8846
* Add collapse and expand events to TreeGrid (#8889)Aleksi Hietanen2017-03-211-0/+28
| | | Closes #8760
* Hierarchical data (#8842)Aleksi Hietanen2017-03-162-17/+202
| | | | | | | * 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/+109
* 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