-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make more Selector
properties work on iOS
#2030
Conversation
To view this pull requests documentation preview, visit the following URL: Documentation is deployed and generated using docs.page. |
Some thoughts for when I'm gone:
|
…s_text_startswith_endswith
…s_text_startswith_endswith
…s_text_startswith_endswith
I made Selector's |
I investigated failing tests, it is caused by another bug: #1868, I suggest to merge this PR regardless to those tests failing |
When do you plan to release this? |
@@ -1,3 +1,93 @@ | |||
extension Selector { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This extension should be rather below #if PATROL_ENABLED.
@@ -843,6 +835,25 @@ | |||
|
|||
group.wait() | |||
} | |||
|
|||
func createLogMessage(element: String, from selector: Selector) -> String { | |||
var logMessage = element |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you consider logging debugDescription ? https://developer.apple.com/documentation/xctest/xcuielementquery/1500412-debugdescription
This property can contain valuable stuff.
var enabled: Bool? | ||
var focused: Bool? | ||
var pkg: String? | ||
public struct Selector: Codable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should not be modified by hand - this code is generated from schema.
This PR resolves #1554.