Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: accessibility tests #3413

Merged
merged 7 commits into from
Oct 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion tests/integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Overview

This project contains smoke, integration UI, and Kyma-related tests for Busola.
This project contains smoke, integration UI, accessibility and Kyma-related tests for Busola.

## Prerequisites

Expand Down Expand Up @@ -69,3 +69,27 @@ If a cluster requires an OIDC authentication, include these additional arguments
```bash
CYPRESS_OIDC_PASS={YOUR_PASSWORD} CYPRESS_OIDC_USER={YOUR_USERNAME} npm start
```

## Accessibility tests
mrCherry97 marked this conversation as resolved.
Show resolved Hide resolved

## Prerequisites

Before testing, you need to copy your cluster's kubeconfig file to `fixtures/kubeconfig.yaml`.
mrCherry97 marked this conversation as resolved.
Show resolved Hide resolved

Also you need `ACC_AMP_TOKEN` to submit your generated accessibility report to AMP Prtal.
mrCherry97 marked this conversation as resolved.
Show resolved Hide resolved

### Run Accessibility tests in the headless mode
mrCherry97 marked this conversation as resolved.
Show resolved Hide resolved

To run the tests, pointing to a `local Busola` instance, use this command:

```bash
ACC_AMP_TOKEN={YOUR_AMP_TOKEN} npm run test:accesibility:local
```

### Run Accessibility tests in the test runner mode
mrCherry97 marked this conversation as resolved.
Show resolved Hide resolved

To open the `tests runner`, pointing to a `local Busola` instance, use this command:
mrCherry97 marked this conversation as resolved.
Show resolved Hide resolved

```bash
ACC_AMP_TOKEN={YOUR_AMP_TOKEN} npm run start:local
```
Loading