aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/components/menubar
Commit message (Collapse)AuthorAgeFilesLines
* Attempts to reduce test flakiness (#12283)Anna Koskinen2021-05-031-0/+18
| | | | * Attempts to reduce test flakiness
* Updated browser versions and screenshots, test tweaks for stability. (#12271)Anna Koskinen2021-04-271-3/+12
|
* Use generated id of the menu item to help testing of the menubar (#12124)Tatu Lund2020-10-221-6/+9
| | | | | Use generated IDs for MenuItems when an ID is set for MenuBar. Tying the ID to MenuBar's ID helps with the possible case of having multiple MenuBars on the same view and avoids to have excess id's when not needed. Fixes: https://github.com/vaadin/framework/issues/8186
* Update Chrome version in Test (#11613)Zhe Sun2019-06-121-3/+2
| | | | | | | | 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
* Improve VMenuBar click handling logic (#11356)Anastasia Smirnova2018-12-171-0/+31
| | | | | | | | | | | | | | | * 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/+13
| | | | | | | | * Fixes #10814 * Add missing tests Fixes #11374
* Fix Escalator to properly reset height by rows (#11090)Mehdi Javan2018-07-301-7/+7
|
* Upgrade TestBench version to 5.2 (#11005)Teemu Suo-Anttila2018-06-283-36/+35
|
* Enable maven formatting for uitest (#10908)Ilia Motornyi2018-05-171-1/+1
|
* Introduce XVFB cluster testing (#10801)Teemu Suo-Anttila2018-04-171-1/+7
| | | | | | | | | 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 empty comments (#10789)Ilia Motornyi2018-04-052-2/+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/+38
| | | Fixes #7912
* Test for MenuBar's WAI-ARIA attributes (#3922) (#10349)Ansku2017-11-221-0/+100
|
* Issue3922disableditem (#10259)Ansku2017-11-211-0/+28
| | | | | | | | | | | * 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 static import of Assert in tests (#10126)Ahmed Ashour2017-10-036-26/+32
| | | | Also removes dependency on junit.framework.TestCase .
* Pick changes from 7.7.7 (#8577)Teemu Suo-Anttila2017-02-221-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix TestBench API imports (#8112)Teemu Suo-Anttila2017-01-132-6/+6
| | | | | | | | | | | | | | | | | | | | * Fix TestBench API imports, move functionality from custom elements * Fixes to TestBench APIs and JavaDocs * Merge remote-tracking branch 'origin/master' into 578_tbapi_cleanup * Fix method name in CheckBoxGroupTest * Remove unused custom element classes * Implement getOptions using getOptionElements * Replace setValue with setSelection in CheckBoxGroupElement * Rename CheckBoxGroupElement getSelection to getValue * Fix one last method
* Global java code cleanup using Eclipse Neon.1Leif Åstrand2016-12-201-3/+3
|
* Fix for MenuBarIsAutoOpenScrollingTest. (#8017)Denis2016-12-161-1/+1
| | | | * Fix for MenuBarIsAutoOpenScrollingTest.
* Scrolling down submenus via scrollbar (MenuBar.isAutoOpen()) (#10456)Anna Miroshnik2016-11-041-0/+72
| | | | | | | full name of defect: Can't scroll down submenus using the scrollbar when MenuBar.isAutoOpen() == true Tests. Change-Id: I2cbe797c96dc6a780df147e165babb23f7fbdef3
* Move and rename server classes which go into the compatibility packageArtur Signell2016-08-221-13/+1
| | | | | | | | * 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
* Organize importsArtur Signell2016-08-201-5/+6
| | | | Change-Id: Iedb6ed985dfc6b69c4a4753a876545d67621898f
* Remove IE8-IE10 related test codeArtur Signell2016-08-181-9/+0
| | | | Change-Id: Iadacd329c8da969c5ad046abd87db28ac6eade0c
* Update copyright year to 2016Artur Signell2016-08-186-6/+6
| | | | Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
* Remove trailing whitespace from code and javadocArtur Signell2016-08-184-16/+16
| | | | Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
* Format using Eclipse NeonArtur Signell2016-08-188-17/+18
| | | | Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
* Always close expanded top level menu item on click (#14568).Denis Anisimov2016-05-111-0/+89
| | | | Change-Id: I04b0b64fd9054b7284efa59a8c56d8a64616ca7b
* Build uitest war with mavenTeemu Suo-Anttila2016-04-158-0/+515
Change-Id: I32625901ca27a282253df44c6e776cf9632bacda