vaadin / testbench

Vaadin TestBench is a tool for automated user interface testing of Vaadin applications.
https://vaadin.com/testbench
Other
20 stars 22 forks source link

Document how to test portlets #620

Open vaadin-bot opened 10 years ago

vaadin-bot commented 10 years ago

Originally by @Artur-


The new $() API assumes there is only one Vaadin application (ApplicationConnection) on the same page. The same thing with the component picker in the debug window.

If you have two UIs on the same page, both containing "OK" buttons you cannot write

$(ButtonElement.class).caption("OK").first();

but should be able to write something like

// Find an element which is part of the UI, typically the UI div
WebElement uiRoot = findElementBy(By.....);
setUIContext(uiRoot);
// Find a button inside the given UI
$(ButtonElement.class).caption("OK").first();

Imported from https://dev.vaadin.com/ issue #13289

vaadin-bot commented 9 years ago

Originally by @Legioth


Hi, this ticket has been in the accepted state without any updates for a long time. Is someone still working on this?

If not, then please select "no longer working on this" in the Actions box below so that anyone else interested in investigating can know there's nobody else working on it.