4#ifndef YAZE_CLI_SERVICE_TEST_WORKFLOW_GENERATOR_H
5#define YAZE_CLI_SERVICE_TEST_WORKFLOW_GENERATOR_H
7#include "absl/status/statusor.h"
96 const std::string& text);
Generates GUI test workflows from natural language prompts.
bool MatchesClickButton(const std::string &prompt, std::string *button_name)
bool MatchesTypeInput(const std::string &prompt, std::string *input_name, std::string *text)
TestWorkflowGenerator()=default
bool MatchesOpenEditor(const std::string &prompt, std::string *editor_name)
bool MatchesMultiStep(const std::string &prompt)
TestWorkflow BuildOpenEditorWorkflow(const std::string &editor_name)
TestWorkflow BuildTypeInputWorkflow(const std::string &input_name, const std::string &text)
TestWorkflow BuildClickButtonWorkflow(const std::string &button_name)
bool MatchesOpenAndVerify(const std::string &prompt, std::string *editor_name)
std::string NormalizeEditorName(const std::string &name)
TestWorkflow BuildOpenAndVerifyWorkflow(const std::string &editor_name)
absl::StatusOr< TestWorkflow > GenerateWorkflow(const std::string &prompt)
Generate a test workflow from a natural language prompt.
TestStepType
Type of test step to execute.
Main namespace for the application.
A single step in a GUI test workflow.
std::string ToString() const
A complete GUI test workflow.
std::vector< TestStep > steps
std::string ToString() const