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
- Throws:
IOException
-
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
-