Skip to content

Commit

Permalink
fix: error message of espresso attribute (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored May 20, 2023
1 parent 241c7c2 commit 38e71fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class GetAttribute : RequestHandler<AppiumParams, String?> {
// If it's a TEXT attribute, return the view's raw text
AttributesEnum.TEXT -> return ViewTextGetter()[viewInteractionGetter()].rawText
else -> throw NotYetImplementedException(
"Espresso doesn't support attribute '$attributeName', Attribute name should be one of ${composeAttributes.supportedAttributes()}\"")
"Espresso doesn't support attribute '$attributeName', Attribute name should be one of ${espressoAttributes.supportedAttributes()}\"")
}
}
}

0 comments on commit 38e71fb

Please sign in to comment.