Class PlaywrightJavaCodeSnippetGenerator
java.lang.Object
com.vaadin.uitest.codesnippetgeneration.PlaywrightJavaCodeSnippetGenerator
- All Implemented Interfaces:
CodeSnippetGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActionCodeSnippet
(LocatedGherkinElement element, Action action, String... args) getAssertionCodeSnippet
(LocatedGherkinElement element, Assertion assertion, boolean negative, String... args) getLocatorCodeSnippet
(GherkinElement gherkinElement, String elementVarName, String parentVarName)
-
Constructor Details
-
PlaywrightJavaCodeSnippetGenerator
public PlaywrightJavaCodeSnippetGenerator()
-
-
Method Details
-
getLocatorCodeSnippet
public CodeSnippet getLocatorCodeSnippet(GherkinElement gherkinElement, String elementVarName, String parentVarName) - Specified by:
getLocatorCodeSnippet
in interfaceCodeSnippetGenerator
-
getActionCodeSnippet
public CodeSnippet getActionCodeSnippet(LocatedGherkinElement element, Action action, String... args) - Specified by:
getActionCodeSnippet
in interfaceCodeSnippetGenerator
-
getAssertionCodeSnippet
public CodeSnippet getAssertionCodeSnippet(LocatedGherkinElement element, Assertion assertion, boolean negative, String... args) - Specified by:
getAssertionCodeSnippet
in interfaceCodeSnippetGenerator
-