-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Testing] Added specific actions by platform #21330
Conversation
/// <param name="performanceDataType">The available performance data types(cpuinfo | batteryinfo | networkinfo | memoryinfo).</param> | ||
/// <exception cref="InvalidOperationException">ToggleWifi is only supported on <see cref="AppiumAndroidApp"/>.</exception> | ||
/// <returns>The information of the system related to the performance.</returns> | ||
public static IList<object> GetPerformanceData(this IApp app, string performanceDataType) |
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 can add the possibility of obtaining memory or CPU consumption data when passing some UItests. I see it certainly useful with cases like CollectionView or navigation. If we launch the tests on the same devices and also reset after pass the test, the memory value should be controlled within a certain range. If the value is suddenly higher, probably some change is triggering memory or CPU consumption and we must take a look to it.
1904ab2
to
a6c0c31
Compare
/rebase |
a6c0c31
to
ced0398
Compare
bcde38f
to
e52014c
Compare
Description of Change
Added specific actions by platform. For example: Lock or unlock the device or get performance data on Android.