1#ifndef YAZE_CLI_SERVICE_GUI_GUI_ACTION_GENERATOR_H_
2#define YAZE_CLI_SERVICE_GUI_GUI_ACTION_GENERATOR_H_
7#include "absl/status/statusor.h"
11#include "nlohmann/json.hpp"
35 const std::vector<ai::AIAction>& actions);
43 absl::StatusOr<nlohmann::json> GenerateTestJSON(
44 const std::vector<ai::AIAction>& actions);
Converts high-level AI actions into executable GUI test scripts.
std::string GenerateSelectTileStep(const ai::AIAction &action)
std::string GenerateOpenEditorStep(const ai::AIAction &action)
std::string ActionToTestStep(const ai::AIAction &action, int step_number)
std::string GeneratePlaceTileStep(const ai::AIAction &action)
std::string GenerateClickButtonStep(const ai::AIAction &action)
absl::StatusOr< std::string > GenerateTestScript(const std::vector< ai::AIAction > &actions)
std::string GenerateSaveTileStep(const ai::AIAction &action)
GuiActionGenerator()=default
std::string GenerateScreenshotStep(const ai::AIAction &action)
std::string GenerateWaitStep(const ai::AIAction &action)
Main namespace for the application.
Represents a single action to be performed in the GUI.