refactor(driver): scrub backend tool name from comments

This commit is contained in:
pj committed 2026-06-01 22:44:24 +05:30
1 parent 19807dc4ab
commit e2682b96e1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ var attrNamePattern = regexp.MustCompile(`^[a-zA-Z][a-zA-Z0-9_-]*$`)
// "descPrefix:bar") into a CSS selector or XPath expression usable from the // "descPrefix:bar") into a CSS selector or XPath expression usable from the
// chrome driver's TapSelector fallback path. The boolean return is true when // chrome driver's TapSelector fallback path. The boolean return is true when
// the result is XPath rather than CSS. Unknown prefixes pass through to a CSS // the result is XPath rather than CSS. Unknown prefixes pass through to a CSS
// attribute match by the same name so a Maestro-side addition (e.g. a future // attribute match by the same name so a sidecar-side addition (e.g. a future
// "role:") works without a Sanderling release. // "role:") works without a Sanderling release.
func TranslateStringSelector(selector string) (string, bool, error) { func TranslateStringSelector(selector string) (string, bool, error) {
if selector == "" { if selector == "" {
+1 -1
View File
@@ -61,7 +61,7 @@ func TestStateAxObjectSelectorTestTagAlias(t *testing.T) {
// TestStateAxFindWorks verifies that a Parse+PushSnapshot+extract round trip // TestStateAxFindWorks verifies that a Parse+PushSnapshot+extract round trip
// actually lets the spec resolve selectors through state.ax.find. // actually lets the spec resolve selectors through state.ax.find.
// Reads /tmp/live-dump.json (Maestro TreeNode JSON format); skipped if absent. // Reads /tmp/live-dump.json (sidecar TreeNode JSON format); skipped if absent.
func TestStateAxFindWorks(t *testing.T) { func TestStateAxFindWorks(t *testing.T) {
jsonText, err := os.ReadFile("/tmp/live-dump.json") jsonText, err := os.ReadFile("/tmp/live-dump.json")
if err != nil { if err != nil {