Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd UWP smoketest to CI #25718
Add UWP smoketest to CI #25718
Comments
|
#24534 introduced support for launching the UWP from cli with the "Servo" command (from any path). However, IIRC it required launching the app once from VS so the command gets registered. |
|
Oh, according to https://blogs.windows.com/windowsdeveloper/2017/07/05/command-line-activation-universal-windows-apps/#UaF9ZyFfdF9kYhdY.97 the command alias is also registered when the user installs the app. |
|
So far I managed to open Servo, but I haven’t found a way yet to know of the launch was successful or not:
where XXX is the result of |
|
There’s a much easier way to open Servo:
And to see if it succeeded, it looks easier to start a local http server and wait for Servo to request that page:
|
|
To close: |
|
To summarize, we could have a python script that:
|
|
Servo doesn’t appear to like loading localhost: #25741 |
It would be nice to avoid problems like #25683 in the future. @ferjm You mentioned you were able to launch the UWP app from the command line in the past; could you explain how you did that so we can see if we can replicate it in CI?