Class AbstractCollaborativeViewTest
- java.lang.Object
-
- com.vaadin.testbench.TestBenchTestCase
-
- com.vaadin.collaborationengine.util.AbstractViewTest
-
- com.vaadin.collaborationengine.util.AbstractCollaborativeViewTest
-
- All Implemented Interfaces:
com.vaadin.testbench.HasDriver,com.vaadin.testbench.HasElementQuery,com.vaadin.testbench.HasSearchContext,com.vaadin.testbench.HasTestBenchCommandExecutor
- Direct Known Subclasses:
CollaborationAvatarInDialogTestCommon,FieldHighlightUtil,MessageListTestCommon,SystemContextTestCommon
public abstract class AbstractCollaborativeViewTest extends AbstractViewTest
Helpers for adding multiple "collaborating" browsers to a test.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractCollaborativeViewTest.ClientWeb driver wrapper with the TestBench query methods.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<AbstractCollaborativeViewTest.Client>addedClients-
Fields inherited from class com.vaadin.collaborationengine.util.AbstractViewTest
rule
-
-
Constructor Summary
Constructors Constructor Description AbstractCollaborativeViewTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractCollaborativeViewTest.ClientaddClient()Opens a new TestBench Chrome client.protected voidclose(com.vaadin.testbench.TestBenchTestCase client)voidcloseBrowsers()-
Methods inherited from class com.vaadin.collaborationengine.util.AbstractViewTest
assertThemePresentOnElement, close, createHeadlessChromeDriver, getRootElement, getRoute, getURL, getURL, refresh, setup, setupClass
-
Methods inherited from class com.vaadin.testbench.TestBenchTestCase
concatUrl, executeScript, findElement, findElements, getCommandExecutor, getContext, getDriver, setDriver, testBench, waitUntil, waitUntil, wrap
-
-
-
-
Field Detail
-
addedClients
protected java.util.List<AbstractCollaborativeViewTest.Client> addedClients
-
-
Method Detail
-
addClient
public AbstractCollaborativeViewTest.Client addClient()
Opens a new TestBench Chrome client. It has theHasElementQuery.$(Class)method for querying elements.
-
closeBrowsers
public void closeBrowsers()
-
close
protected void close(com.vaadin.testbench.TestBenchTestCase client)
-
-