> Updated for version 6.0.30

During a test, a block can show a text that exists nowhere in your graph: a text that comes from a variable or from another block, for example an answer written by the AI. After the test, the **Contenu test joué** section of the block editing window shows you that text, and two buttons let you keep it: **Copy the text** and **Add to files**.

*The editing window of a Notification block after two tests: under the played "content" input, the Copy the text and Add to files buttons.*

## Finding the played text

1. Start a test of your project and play up to the block you are interested in.
2. **Close** the test window: the test is recorded when the window closes.
3. Open the block in the graph. At the very bottom of its editing window, the **Contenu test joué** section lists each test with its date and time ("the 22/09/2026 at 14:32").
4. Click a test's line to expand it: you see, input by input, the value the block received during that test.

Under each input whose value is a **text** or a **Markdown** text, two buttons appear.

## The two buttons

| Button | What it does | Message shown |
|---|---|---|
| **Copy the text** | Copies the played text to the clipboard, so you can paste it elsewhere (in a field of the block, in a document, in a message) | "Text copied to the clipboard", or "The text could not be copied" if the browser refused |
| **Add to files** | Saves the text as a file in the project files. While it is being sent, the button shows "Adding…" | "Added to files", with a **Show files** button, or "Failed to add to files" |

The text is copied or saved exactly as it appears in the section: a Markdown text keeps its formatting marks (`**bold**`, `# title`…).

## The file created by Add to files

- A plain text becomes a **.txt** file, a Markdown text a **.md** file, encoded in UTF-8 (accented letters are kept).
- The file name is the internal identifier of the input, followed by the date and time of the test. This identifier can differ from the displayed name: the "content" input of a Notification block gives for example `content 2026-09-22 14h32.md`.
- The file is added at the top level of the project files, not inside a folder.

Click **Show files** in the green message to find it. On a computer, the **Project files** window opens, or comes to the front if it is already open. On a phone, the **Files** tab is shown.

## Example: keeping an AI answer

Your **Notification** block shows a congratulations message written by the AI from the player's answers: its **content** input is connected to the **result** output of an **AI text request** block. During a test you get "Well done Camille, 3 correct answers out of 3!" and you want to keep this wording.

1. Close the test window, then open the **Notification** block.
2. In **Contenu test joué**, expand today's test.
3. Under the **content** input, click **Add to files**.
4. In the "Added to files" message, click **Show files**: the `content` file dated with the test is there. It ends with `.txt`, because the answer of an **AI text request** block is a plain text.

To reuse only one sentence, click **Copy the text** instead and paste it wherever you want.

> 🔺 **Good to know:**
> - The buttons only appear for a text that is not empty. An image, a number or any other played value has none.
> - If the block's text contains variable slots (`{{firstname}}`), the input shows the text with its slots, and the value of each slot appears as a separate input.
> - The section title, **Contenu test joué**, stays in French even when the editor is in another language.
> - The listed tests are not saved with the project: after the page is reloaded, the section no longer appears. Copy or add to files the texts you want to keep before reloading.
> - The same **Show files** button appears when you add a result to the files from the **Generations** tab of the AI Generation window.

## See also

- [Testing your project and reading the debugger](https://documentation.celestory.io/hc/celestorydoc/articles/en-discover-celestory-testing-your-project-and-reading-the-debugger-708e04)
- [The Block Editing Window](https://documentation.celestory.io/hc/celestorydoc/articles/en-discover-celestory-the-block-editing-window-23117a)
- [The files Celestory accepts, and how to organize them](https://documentation.celestory.io/hc/celestorydoc/articles/en-discover-celestory-the-files-celestory-accepts-and-how-to-organize-e53980)
- [Replaying the last run on the graph](https://documentation.celestory.io/hc/celestorydoc/articles/1795347767-replaying-the-last-run-on-the-graph)
- [📋 Previous Generations Tab](https://documentation.celestory.io/hc/celestorydoc/articles/en-ai-generation-previous-generations-tab-d95807)