Package com.vaadin.uitest.generator
Interface Generator
public interface Generator
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
addTestDependencies
(String projectDir, String testsDir, List<UiRoute> views, TestFramework testFramework) default String
generateTest
(UiRoute route, UiLogin login, TestFramework testFramework) default File
generateTest
(UiRoute route, File testsDir, boolean keep, UiLogin login, TestFramework testFramework) default LLMService
static UiModel
default File
writeTestFile
(UiRoute route, String source)
-
Field Details
-
PLAYWRIGHT_CONFIG
- See Also:
-
logger
static final org.slf4j.Logger logger
-
-
Method Details
-
getService
-
parseJson
static UiModel parseJson(File json) throws IOException, com.fasterxml.jackson.core.exc.StreamReadException, com.fasterxml.jackson.databind.DatabindException - Throws:
IOException
com.fasterxml.jackson.core.exc.StreamReadException
com.fasterxml.jackson.databind.DatabindException
-
generateTest
-
writeTestFile
- Throws:
Exception
-
generateTest
default File generateTest(UiRoute route, File testsDir, boolean keep, UiLogin login, TestFramework testFramework) throws Exception - Throws:
Exception
-
addTestDependencies
default boolean addTestDependencies(String projectDir, String testsDir, List<UiRoute> views, TestFramework testFramework) throws Exception - Throws:
Exception
-