-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] Implement themes change in Appium actions on Windows #25863
Conversation
{ | ||
if (commandName == SetLightTheme) | ||
{ | ||
ExecuteCommand($"start C://Windows/Resources/Themes/aero.theme"); |
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.
Here is the most interesting part.
/rebase |
5a03aa0
to
518f261
Compare
var process = new Process { StartInfo = processInfo }; | ||
|
||
process.Start(); | ||
process.WaitForExit(); |
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.
It might be good specify some TimeSpan
here https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.process.waitforexit?view=net-9.0#system-diagnostics-process-waitforexit(system-timespan) to avoid waiting indefinitely.
Description of Change
Implement themes change in Appium actions on Windows.