Package com.vaadin.uitest.generator
Interface Generator
public interface Generator
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanaddTestDependencies(String projectDir, String testsDir, List<UiRoute> views, TestFramework testFramework) default StringgenerateTest(UiRoute route, UiLogin login, TestFramework testFramework) default FilegenerateTest(UiRoute route, File testsDir, boolean keep, UiLogin login, TestFramework testFramework) default LLMServicestatic UiModeldefault FilewriteTestFile(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:
IOExceptioncom.fasterxml.jackson.core.exc.StreamReadExceptioncom.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
-