# Running tests

## Tests

Before you run any of the test command below ensure to build the image:

`make build`

### Linting

`make lint-test`

### Unit tests

`make unit-test`

### E2E tests

`make e2e-test`

### Please notice

It's important that you run the tests in the container as it will have a single resolution setup for everyone.

If the tests are executed locally, depending on your screen resolution the results can differ.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cypress.visual-image-diff.dev/getting-started/running-tests.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
