Testing on a Cloud PC

How a workflow stage tests a change on a Windows 365 Cloud PC, and how to watch it live.

A workflow stage can test a change on a Windows 365 for Agents Cloud PC. The agent opens the change in Edge or a Windows app, clicks through it as a user would, and takes screenshots as evidence.

Templates marked Uses a W365 Desktop to test do this: Plan, build, review and test and Test a pull request on a W365 Desktop. Any stage can, once it has a desktop.

What happens in a test stage#

  1. Eido finds the deployment

    From the address your pipeline posted, or the workflow’s settings.

  2. Eido borrows a Cloud PC

    The timeline says Cloud PC borrowed for the stage.

  3. The agent tests

    It works through the acceptance criteria in Edge. Screenshots that prove each check go on the work item and in the stage’s summary. To sign in, Eido types a secret the stage was granted. The agent never sees the value.

  4. Eido gives the Cloud PC back

    When the stage ends, or after about an hour. A longer test belongs in more than one stage.

Watching it live#

While a stage has a Cloud PC, its screen plays in Cloud PC, live on the work item’s Eido tab, and in the run’s panel in Boards > Eido. Watching does not interrupt the agent. Take control gives you the mouse and keyboard, and Hand back returns them.

Project Collection Administrators can watch and take control. If you can’t watch, the card says why.

Setting it up#

  1. Windows 365 for Eido

    A Project Collection Administrator sets it up once. See Windows 365.

  2. A desktop for the stage

    A stage marked Needs a W365 Desktop needs one. Pick a Desktop on its Windows 365 tab. See Stages and steps.

  3. Where the change is deployed

    On the workflow’s Test environment tab. See Workflows.

  4. A test account, if it signs in

    Open a secret to Cloud PCs, grant it under Secrets it may type on the stage’s Windows 365 tab, and name it in the stage’s instructions: “Sign in with the qa-user secret.”

Telling Eido where a pipeline deployed#

Have your deploy pipeline post a status on the commit, with the address as its target. Eido looks for eido/preview unless the workflow names another. In Azure Pipelines:

- pwsh: |
    $body = @{
      state = 'succeeded'
      description = 'Deployed to $(appUrl)'
      targetUrl = '$(appUrl)'
      context = @{ genre = 'eido'; name = 'preview' }
    } | ConvertTo-Json
    $uri = "$(System.CollectionUri)$(System.TeamProjectId)/_apis/git/repositories/$(Build.Repository.ID)/commits/$(Build.SourceVersion)/statuses?api-version=7.1"
    Invoke-RestMethod -Method Post -Uri $uri -Headers @{ Authorization = "Bearer $env:SYSTEM_ACCESSTOKEN" } -ContentType 'application/json' -Body $body
  displayName: Tell Eido where it is deployed
  env:
    SYSTEM_ACCESSTOKEN: $(System.AccessToken)

Post pending before the deploy and failed if it fails.

If the status is refused#

A comment starting Eido needs a setting changed: usually means the pipeline may not post statuses. A Project Administrator allows it once:

  1. Open the repository’s security

    Project settings > Repositories, the repository, then Security.

  2. Pick the build service

    Project Build Service (organization), or Project Collection Build Service (organization) if your pipelines’ job authorisation scope is the organization.

  3. Allow it

    Set Contribute to Allow, and Contribute to pull requests too for statuses on pull requests.

What it costs#

Microsoft bills Cloud PC time to your own Azure subscription, so it isn’t in Eido’s costs. The model calls a test stage makes are. See Costs.

Popular

Your first work itemSend one work item to Eido and follow it to the pull request.Get startedGiving Eido workThe five ways a work item reaches Eido. Send to Eido, assign it to Eido, a board, a child item or a pull request.Using EidoApprovalsWhen Eido stops for a person to decide, who may approve, and how to approve or reject.Using EidoCode reviewEido reviews pull requests in the pull request itself, one comment per finding, with suggested changes you can apply or decline.Using EidoAlways-on agentsWhat an always-on agent raises on your board, and how to triage it.Using EidoModelsDeploying the Foundry models agents think with, setting their prices and hosting, and choosing the default.Set upWorkflowsA workflow's settings: what starts it, where it works, and where a person approves.Set upLicensing and billingThe 30-day trial, the price, who counts as a user, paying through the Azure Marketplace, and when Eido locks.Install and licence