diff --git a/docs/guides/time-travel.mdx b/docs/guides/time-travel.mdx
index ec1c8e7..0882c02 100644
--- a/docs/guides/time-travel.mdx
+++ b/docs/guides/time-travel.mdx
@@ -19,10 +19,10 @@ The Time Travel mode is a new Testplane UI tool that allows you to observe test
recommend waiting for the stable version.
-1. Install the alpha versions of `testplane` and `html-reporter`:
+1. Install a fresh versions of `testplane` and `html-reporter`:
```shell
- npm i -D testplane@8.26.0 html-reporter@10.15.0
+ npm i -D testplane@8.27.1 html-reporter@10.15.2
```
2. Enable snapshot recording in the Testplane config:
@@ -30,7 +30,7 @@ The Time Travel mode is a new Testplane UI tool that allows you to observe test
```typescript
export = {
/* ... */
- record: "on",
+ record: "on", // You can also use "last-failed-run", "retries-only", "off"
};
```
@@ -54,10 +54,13 @@ To debug the layout, you can use the browser's DevTools. All selectors and attri
## Configuring Time Travel
-Currently, snapshot recording is controlled via the `record` option in the Testplane config. It supports two values: `"on"` (snapshots will be recorded for every test run) and `"off"` (snapshots are completely disabled).
+Currently, snapshot recording is controlled via the `record` option in the Testplane config. It supports the following values:
+
+- `"on"` - snapshots will be recorded for every test run
+- `"last-failed-run"` - snapshots will be saved only for the last failed run
+- `"retries-only"` - snapshots will be recorded only for the retries
+- `"off"` - snapshots are completely disabled
- In the near future, smarter recording modes will be available, such as "only on failure" or
- "enabled during retries." Additionally, network request debugging and full-screen mode will soon
- be available.
+ In the near future, network request debugging and full-screen mode will soon be available.
diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/guides/time-travel.mdx b/i18n/ru/docusaurus-plugin-content-docs/current/guides/time-travel.mdx
index 763c17a..942536c 100644
--- a/i18n/ru/docusaurus-plugin-content-docs/current/guides/time-travel.mdx
+++ b/i18n/ru/docusaurus-plugin-content-docs/current/guides/time-travel.mdx
@@ -19,10 +19,10 @@ import Admonition from "@theme/Admonition";
использования в production рекомендуем дождаться stable версии.
-1. Необходимо установить alpha-версии `testplane` и `html-reporter`:
+1. Необходимо установить свежие версии `testplane` и `html-reporter`:
```shell
- npm i -D testplane@8.26.0 html-reporter@10.15.0
+ npm i -D testplane@8.27.1 html-reporter@10.15.2
```
2. Включить запись снапшотов в конфиге testplane:
@@ -30,7 +30,7 @@ import Admonition from "@theme/Admonition";
```typescript
export = {
/* ... */
- record: "on",
+ record: "on", // Также поддерживаются "last-failed-run", "retries-only", "off"
};
```
@@ -54,10 +54,13 @@ import Admonition from "@theme/Admonition";
## Настройка Time Travel
-В данный момент всё управление записью снапшотов происходит с помощью опции `record` в конфиге Testplane. Поддержано 2 значения: `"on"` (снапшоты будут записываться на каждый запуск теста) и `"off"` (снапшоты полностью отключены).
+В данный момент всё управление записью снапшотов происходит с помощью опции `record` в конфиге Testplane. Поддерживаются следующие значения:
+
+- `"on"` - снапшоты будут записываться на каждый запуск теста
+- `"last-failed-run"` - снапшоты будут сохраняться только для последнего запуска теста с ошибкой
+- `"retries-only"` - снапшоты будут записываться только для ретраев
+- `"off"` - снапшоты полностью отключены
- В самом ближайшем будущем появятся более умные режимы записи снапшотов, такие, как "только при
- падении" или "включить при ретраях". Помимо этого скоро станет доступна отладка сетевых запросов
- и полноэкранный режим.
+ В самом ближайшем будущем станет доступна отладка сетевых запросов и полноэкранный режим.