aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/tests/components/menubar
Commit message (Collapse)AuthorAgeFilesLines
* Improve VMenuBar click handling logic (#11356)Anastasia Smirnova2018-12-171-0/+47
| | | | | | | | | | | | | | | * 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-171-0/+37
| | | | | | | | * Fixes #10814 * Add missing tests Fixes #11374
* Remove empty comments (#10789)Ilia Motornyi2018-04-051-1/+0
|
* Remove copyright headers from test code (#10770)Teemu Suo-Anttila2018-03-288-120/+0
|
* Update copyright year (#10761)Ilia Motornyi2018-03-277-7/+7
|
* Adding stylename to MenuBarItem also as one word (#10704)Anastasia Smirnova2018-03-131-0/+31
| | | Fixes #7912
* Test for MenuBar's WAI-ARIA attributes (#3922) (#10349)Ansku2017-11-221-0/+5
|
* Issue3922disableditem (#10259)Ansku2017-11-211-0/+3
| | | | | | | | | | | * Accessibility for MenuBar (#3922) * TabIndex handling fix and an indexing tweak * Make disabled MenuItems selectable for accessibility (#3922) - It should be possible to navigate to a disabled MenuItem, even if triggering the related command is disabled * Refactor primary style name and aria attribute handling to own method
* Use lambda expressions. (#10268)Ahmed Ashour2017-11-013-33/+11
|
* Add spaces after 'if' and 'for' in JavaScript (#10199)Ahmed Ashour2017-10-201-1/+1
| | | | | | | | * Add spaces after 'if' and 'for' in JavaScript * Revert to old format * Remove whitespaces
* Use interface instead of implementation (#10073)Ahmed Ashour2017-09-281-1/+1
|
* Add empty line at end of fileAhmed Ashour2017-09-231-1/+1
|
* Fix javadoc references (#10067)Ahmed Ashour2017-09-232-2/+0
| | | And remove unused imports.
* Update modifier order to follow Java Specification suggestions (#10050)Ahmed Ashour2017-09-211-4/+4
| | | Also includes some other minor cleanup.
* Remove unused methods (#10020)Ahmed Ashour2017-09-202-22/+0
|
* Fix tooltip test after tooltip style changeHenri Sara2017-05-171-4/+4
|
* Pick changes from 7.7.7 (#8577)Teemu Suo-Anttila2017-02-221-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix java packaging order (#106) Closes vaadin/archetypes#113 * Use proper UTF-8 encoding for Content-Disposition filenames (#19527) (#6607) * Enable changing the backing bean for BeanItem (#4302) (#77) When storing a bean to the database, you typically get a new and updated bean instance back. By allowing to change the bean instance, we make it possible to just update the single BeanItem instance which can be used in many places. * Make AtmospherePushConnection methods public (#7973) There is no sensible way to use a custom version of APC, so protected access does not help in any way to access the underlying resource and/or connected UI. * Use correct indexes in multiselect checkboxes after removing rows (#8072) Fixes #8011 * Fix removal of hidden Grid columns (#8071) Fixes #8018 * Call error handler for exceptions in UI.init() (#8055) Fixes #4995 * Render font icon correctly on the 'more' menu item (#8126) * Render font icon correctly on the 'more' menu item Fixes #8125 * Reopen Grid details on attach, fixes #8015 (#8074) Fixes #8015 * Fix broken Grid tests after picking changes from 7.7.7 Removed duplicate setDetailsVisible calls from onDetach * Correctly detach components in merged cells when a static row is removed (#8142) Fixes #8140
* Replace FontAwesome with Vaadin Icons (#8208)Pekka Hyvönen2017-02-011-5/+5
| | | | | | | * Include FontAwesome by default for easier migration * Fix JSComponentLoadingIndicatorTest Fixes #7979 Addresses part of #8219
* Global java code cleanup using Eclipse Neon.1Leif Åstrand2016-12-202-4/+5
|
* Scrolling down submenus via scrollbar (MenuBar.isAutoOpen()) (#10456)Anna Miroshnik2016-11-041-0/+50
| | | | | | | full name of defect: Can't scroll down submenus using the scrollbar when MenuBar.isAutoOpen() == true Tests. Change-Id: I2cbe797c96dc6a780df147e165babb23f7fbdef3
* Make Valo the default themePekka Hyvönen2016-10-068-16/+14
| | | | | | | | | | LegacyApplication explicitly uses "reindeer" as default theme. Extended AbstractTestUI to AbstractReindeerTestUI, that all old tests now inherit. All new tests should be based on AbstractTestUI. Also added AbstractReindeerTestUIWithLog for those that needed it. Removed all found @Theme("valo") and used proper parent test class. Change-Id: I0bb45850f3f1d39c6f78dac35dfa08acbad427ad
* Refactor AbstractComponentTest to extend AbstractTestUIJohannes Dahlström2016-09-055-10/+10
| | | | Change-Id: Ie614e7a7bf069ab4035cfcd35c3bc98007adfd4b
* Use diamond operator where it can be usedArtur Signell2016-09-052-8/+8
| | | | | | Does not modify compatibility packages to keep to closer to Vaadin 7.7 Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012
* Move LegacyWindow back to com.vaadin.uiArtur Signell2016-08-252-2/+2
| | | | | | | There are too many dependencies between Legacy* and the core framework to be able to easily separate them. Change-Id: I6888e7a370b5d8da587e421abe3cb4686855c72f
* Move and rename server classes which go into the compatibility packageArtur Signell2016-08-222-3/+3
| | | | | | | | * Use com.vaadin.v7 * Use the same class name as in Vaadin 7 * Use a "vaadin7-" declarative prefix for Vaadin 7 components Change-Id: I19a27f3835b18980b91a4f8f9464b2adde1a5fd5
* Update copyright year to 2016Artur Signell2016-08-186-6/+6
| | | | Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
* Remove trailing whitespace from code and javadocArtur Signell2016-08-186-28/+28
| | | | Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
* Format using Eclipse NeonArtur Signell2016-08-186-14/+16
| | | | Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
* Always close expanded top level menu item on click (#14568).Denis Anisimov2016-05-111-0/+63
| | | | Change-Id: I04b0b64fd9054b7284efa59a8c56d8a64616ca7b
* Build uitest war with mavenTeemu Suo-Anttila2016-04-1517-0/+1408
Change-Id: I32625901ca27a282253df44c6e776cf9632bacda