Skip to content
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

Move from gRPC to HTTP #1681

Merged
merged 88 commits into from
Sep 15, 2023
Merged

Conversation

zltnDC
Copy link
Contributor

@zltnDC zltnDC commented Sep 11, 2023

TODO:

  • request timeouts should be the same as test timeouts
  • Android - packagingOptions - is it possible to get rid of it ?
  • Android/example - throws PatrolAppServiceClientException - we should rather catch this error and not change the method.
  • grpc models had a pattern with hasProperty. What do we want to do with it ?
  • remove commented lines of code -> throw exception etc. - these lines helped in debugging corner cases

@zltnDC zltnDC marked this pull request as ready for review September 14, 2023 12:24
@zltnDC zltnDC requested a review from bartekpacia as a code owner September 14, 2023 12:24
gen_from_schema Outdated Show resolved Hide resolved
Copy link
Contributor

@bartekpacia bartekpacia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's it for now

will come back to it later

packages/patrol/android/build.gradle Outdated Show resolved Hide resolved
packages/patrol/pubspec.yaml Outdated Show resolved Hide resolved
@zltnDC zltnDC requested a review from shilangyu September 14, 2023 13:37
@bartekpacia
Copy link
Contributor

bartekpacia commented Sep 14, 2023

I'm worried that patrol_gen has no tests.

but I also suspect the need for changes will be near-zero

Comment on lines +43 to +56
class Selector {
String? text;
String? textStartsWith;
String? textContains;
String? className;
String? contentDescription;
String? contentDescriptionStartsWith;
String? contentDescriptionContains;
String? resourceId;
int? instance;
bool? enabled;
bool? focused;
String? pkg;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does patrol_gen support copying doc comments from Dart into Swift and Kotlin?

We plan to add docs to the Selector and NativeView classes, so we need thsi feature.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can easily add this functionality later. I also think exporting internal models is not a best practice.

Copy link
Contributor

@bartekpacia bartekpacia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also merge with master to get CI to run. it stopped running after base branch was changed to develop. See #1696

@zltnDC zltnDC merged commit 3950c72 into develop Sep 15, 2023
27 of 29 checks passed
@zltnDC zltnDC deleted the feature/stop-depending-on-gRPC-code-generator branch September 15, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: patrol_cli Related to the patrol_cli package package: patrol Related to the patrol package (native automation, test bundling)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants