# What happens when my site changes?

> If an element changes in the code but stays recognizable, Qanary finds it silently, without AI. A real change in the journey makes the test fail.

Source: https://qanary.dev/en/help/when-your-site-changes  
Updated: 2026-11-04  
Product: Qanary, no-code automated testing for e-commerce  
Site index for AI assistants: https://qanary.dev/en/llms.txt

When your site changes, Qanary finds, on its own, an element whose code has changed, as long as it stays recognizable: that's self-healing, silent and without AI. When the journey really changes (a button removed, a step added), the test fails, and it's up to you to update it.

## How does Qanary find an element that has changed?

During recording, Qanary notes up to 10 markers for each element it touches: its text, its role, its attributes, its position on the page. On replay:

1. Qanary first tries the best marker.
2. If that one no longer works, two other markers that point to the same element are enough.
3. If several elements look alike, Qanary takes the one at the recorded position. This assumes the same screen size as during recording, which is always the case: a test keeps its screen size.

The new markers are only saved if the **whole** test passes. So a failed run never changes your test.

## Is this self-healing visible?

No. Qanary's self-healing is silent: nothing shows in the result or in the test when an element was found another way. It only affects how an element is found, never the journey or your checks.

## What happens when the journey really changes?

The test fails, at the step concerned. That's the case when:

- an element has disappeared, or can no longer be recognized by any of its markers;
- a step has been added to checkout;
- a page no longer leads to the same place;
- a check no longer matches what the page shows.

Qanary doesn't suggest a fix: open the result, look at the screenshot of the red step, and update the test. See [How do I read a test result?](https://qanary.dev/en/help/read-a-test-result).

## How do I update a test?

- **An extra step**: open the test and delete it.
- **A journey that has changed**: [record a new test](https://qanary.dev/en/help/create-a-test), then delete the old one.
- **A sign-in that has changed**: if it's recorded in a block, open "Blocks" and click "Re-record"; every test that uses this block is updated at once.

## Set a test aside

During a redesign or a big update, turn the test off ("Enabled"): it stays in your project and you can still run it manually, but the plan skips it. Turn it back on once the journey is stable.
