Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 1.15 KB

File metadata and controls

19 lines (12 loc) · 1.15 KB

Workshop example test suite

This is a Robot Framework test featuring the Browser Library and the KubeLibrary.

The test itself fetches details about a Grafana installation from a Kubernetes cluster to then log into the Grafana Web UI.

Your task: Containerize this test by providing a dockerfile for it and execute it inside the Kubernetes cluster.

To run this test locally you will need to install

  • Node.js (requirement of the Browser Library) https://nodejs.org/en/download
  • (Recommended) Use a python virtual environment e.g. virtualenv
  • Install the python requirements via pip install -r requirements.txt
  • Initialize the Browser Library via rfbrowser init

And you'll need to be connected to the Kubernetes cluster running the Grafana instance. gcloud container clusters get-credentials k8s-workshop-cluster --region europe-north1 --project robocon2024-workshop This command will set your kube config.

Execute the test via robot example-grafana-login.robot