# Flaky Test Detection

Argos flags unstable tests so you can decide with confidence. See a flaky badge next to every changed test and dive into detailed history and stability scores on a dedicated test page

![Flaky indicator next to a test change](/files/c125950c0832cffbd468a956b1b0c610182a81a1)

*Example of the flaky indicator in a build review*

### View flaky indicators in your build review

1. Open any build in Argos
2. Spot the flaky badge beside each changed test
3. Hover over the badge to see details about the test's stability

### Explore the test page

By clicking on the flaky badge, you will be taken to the test page where you can see the full history of the test and its stability score.

![Test page showing history and flaky score](/files/71e19ef36f0c6e07dc139edd7a967dad203c6454)

*A sample test page with history timeline and score*

On the test page you will find:

* Timeline of every change that affected the test
* Stability graph showing pass rate over time
* Calculated flaky score from zero up to one hundred
* List of changes happened to the test

Use this information to approve stable tests or flag flaky ones for fixes.

### Ignore changes

When reviewing a visual test result in Argos, you may encounter changes that are not relevant or are caused by flakiness. You can **ignore a specific change** directly from the UI.

From the build page or the test page, click on the "Ignore" button next to the change you want to ignore.

Once ignored, Argos will no longer notify you if this **exact same change** happens again in future builds. This lets you filter out noise while keeping future regressions detectable.

### Automatically ignore recurring flaky changes

You can also configure Argos to automatically ignore recurring flaky changes across builds.

To configure auto-ignore:

1. Open your project in Argos
2. Go to **Project Settings**
3. Find **Automatically ignore flaky changes**
4. Enable the toggle
5. Set **Minimum occurrences to consider a change flaky (last 7 days)**
6. Click **Save**

![Auto-ignore flaky changes in project settings](/files/ad28850a723cf42e6531a6a715adc1af282c259d)

The minimum occurrences value controls how many times the same change must appear in the last 7 days before Argos starts ignoring it automatically.

#### Best Use Cases

* Flaky UI elements that appear/disappear randomly or render inconsistently.
* Non-deterministic image rendering (e.g. base64 previews, antialiasing issues).


---

# 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://argos-ci.com/docs/learn/reliability-and-flakiness/flaky-test-detection.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.
