Skip to content
On this page
[Where your app runs]

Testing an app that runs in Kubernetes

xtest is hosted at xtest.io, and there is no self-hosted xtest to install in a cluster: no Helm chart, no published image and no manifest. This page is about the other direction: pointing xtest at an app your cluster serves.

From the Cloud browser

The Cloud browser runs on xtest’s servers and opens public addresses only. An app behind an ingress with a public hostname, such as a staging or preview environment, can be tested from there with nothing installed. A service with only a cluster-internal or private address cannot.

From your own computer

If your computer can reach the app, through a VPN, a private network or a port forward, the xtest app’s own Chrome can reach it too: pick Chrome on your computer in Test Lab’s device picker. The AI uses your computer only after you allow it there.

Runs started from CI

A run started from CI uses the Cloud browser, so the app needs a public address by the time the suite starts. Start the suite after the deploy finishes; the CI script waits for the result and fails the build unless every test passed. A case a test agent added waits for a person to press Looks good on the test’s page; until then a run started with a key leaves it out, the start’s note says how many, and the build does not fail for it.

[Academy courses]