Bucket list of various things that could be done better/differently #1918
Labels
maestro cli
Related to the command-line Maestro tool
P3
Issues that are less important
tech debt
Corners cut, candidates for refactoring, etc.
This issue is somewhat inspired by flutter/flutter#24722. Subtasks might be broken into individual issues later on.
Orchestra
takeScreenshot
orstartRecording
). Instead it should write tookio.Sink
s.commandWillGenerateOutput: (subpath, commandType) -> Sink
.~/.maestro/tests/<id>
, not in the project repo root (which is not even Maestro workspace).Sink
s.MaestroCommandRunner
andTestSuiteInteractor
:takeDebugScreenshot()
Orchestra
instance creation and callbacks setupPermeating whole codebase
TestSuiteInteractor
?FlowStatus
,TestExecutionSummary
FileSystem
instead of stuff from Java, to allow for mocking/testing and no dependency on JVM.TestExecutionSummary
is only created when running in two different ways:TestSuiteInteractor.runTestSuite()
)HtmlTestSuiteReporter
is hard to test and iterate on. action item: create a dummyTestExecutionSummary
so that HTML can be easily generated with Gradleconfig
MaestroConfig
should be renamed toFlowConfig
One-offs
TestDebugReporter.logSystemInfo()
andDebugLogStore.logSystemInfo()
are duplicatedmaestro-client
is calledmaestro
. Should bemaestro.client
.DeviceInfo
props should be renamed:DeviceInfo.heightGrid
->DeviceInfo.heightPoints
DeviceInfo.widthGrid
->DeviceInfo.widthPoints
Maestro.screenshotBasedTap()
andMaestro.hierarchyBasedTap()
look like their names have been accidentally swappedAction items
The text was updated successfully, but these errors were encountered: