run-e2e-tests

Run end-to-end and upgrade tests on Azure AKS Maestro clusters.

20|48|Updated Nov 9, 2023
One-click install
npx skills add https://github.com/openshift-online/maestro --skill run-e2e-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-e2e-tests
Source: https://github.com/openshift-online/maestro/tree/main/.claude/skills/run-e2e-tests
Command: npx skills add https://github.com/openshift-online/maestro --skill run-e2e-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires az, kubectl, kubelogin, jq, and includes scripts (resource) components.

What problem does it solve?

This Skill runs end-to-end or upgrade tests on existing long-running Maestro clusters deployed in Azure AKS.

Core Features & Use Cases

  • Automated E2E and upgrade test orchestration across Azure AKS-hosted Maestro deployments
  • Prerequisite validation and environment setup checks (Azure CLI, kubectl, kubelogin, jq)
  • Test result aggregation and reporting to verify cluster health and upgrade fidelity

Quick Start

  1. Set required environment variables: export SVC_RESOURCE_GROUP="my-svc-rg" export SVC_CLUSTER_NAME="my-svc-cluster" export MGMT_RESOURCE_GROUP="my-mgmt-rg" export MGMT_CLUSTER_NAME="my-mgmt-cluster"
  2. Run a specific test type: /run-e2e-tests upgrade /run-e2e-tests e2e /run-e2e-tests all

Frequently Asked Questions about run-e2e-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run E2E tests on Maestro clusters in Azure AKS?

Run E2E tests on Maestro clusters by setting environment variables for your service and management resource groups and cluster names, then execute the Skill with `/run-e2e-tests e2e`. The Skill orchestrates test execution using kubectl, Azure CLI, kubelogin, and jq to validate cluster health and workflows.

What prerequisites do I need to run E2E tests on Azure AKS?

E2E testing on Azure AKS requires Azure CLI, kubectl, kubelogin, and jq installed locally. You must also set environment variables: SVC_RESOURCE_GROUP, SVC_CLUSTER_NAME, MGMT_RESOURCE_GROUP, and MGMT_CLUSTER_NAME pointing to your Maestro deployment resources.

Can I automate upgrade validation across multiple Azure AKS Maestro clusters?

Yes. The Skill runs automated upgrade tests across long-running Maestro clusters by executing `/run-e2e-tests upgrade`. It validates upgrade fidelity and aggregates test results to confirm cluster health after upgrades.

What's the difference between running E2E tests and upgrade tests with this Skill?

E2E tests validate end-to-end workflows and cluster functionality, while upgrade tests verify cluster behavior and fidelity after version upgrades. Run `/run-e2e-tests e2e` for workflow validation or `/run-e2e-tests upgrade` for post-upgrade verification.

Does this Skill work with Istio-enabled Maestro deployments?

The Skill is designed for Maestro deployments on Azure AKS and supports environments where Istio is part of the cluster configuration. It orchestrates tests across the full cluster topology using kubectl and related tooling.

What happens if Azure CLI or kubectl is missing when I run E2E tests?

The Skill includes prerequisite validation checks for Azure CLI, kubectl, kubelogin, and jq. If any dependency is missing, the Skill will fail and report which tools need installation before test execution can proceed.