mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
refactor(driver): scrub backend tool name from comments
This commit is contained in:
1 parent
19807dc4ab
commit
e2682b96e1
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
// 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
|
||||
// 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.
|
||||
func TranslateStringSelector(selector string) (string, bool, error) {
|
||||
if selector == "" {
|
||||
|
||||
@@ -61,7 +61,7 @@ func TestStateAxObjectSelectorTestTagAlias(t *testing.T) {
|
||||
|
||||
// TestStateAxFindWorks verifies that a Parse+PushSnapshot+extract round trip
|
||||
// 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) {
|
||||
jsonText, err := os.ReadFile("/tmp/live-dump.json")
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user