diff --git a/docs/test-scripts.md b/docs/test-scripts.md index 499d453..3c11733 100644 --- a/docs/test-scripts.md +++ b/docs/test-scripts.md @@ -54,6 +54,14 @@ secured data is exposed as `por.data`. Assert such a response with `data` and leave `sw` empty; the step's `check.sw` still asserts the envelope exchange. +A `62XX`/`63XX` envelope answer does not guarantee a response packet: an +application that refuses at the envelope level (e.g. an applet answering +`6200` to an unknown command) sends none, while other warning paths still +deliver one (the low-counter case arrives via SEND SHORT MESSAGE). For a +step expected to be refused, leave `por` at its `"any"` default or assert +`"por": "none"`; the run report's `PoR[…]` log line and `por` field show +which happened. + ### Worksheet 1 - RFM update → file change → REFRESH (full FCN) ```json diff --git a/frontend/help-ru.html b/frontend/help-ru.html index 381b69f..6b68e1b 100644 --- a/frontend/help-ru.html +++ b/frontend/help-ru.html @@ -564,7 +564,7 @@

Тест-скрипт — упорядоченный список действий и ожиданий проактивных команд, выполняемый на подключённой карте на стороне сервера. Пока запуск активен, карта принадлежит скрипту: остальные операции с картой отклоняются (HTTP 409), фоновый опрос STATUS приостанавливается; отчёт о запуске хранится в памяти (в том числе после перезагрузки страницы) до нажатия Очистить отчёт. Скрипты хранятся в хранилище на сервере (~/.pysim-simple-server/test_scripts.json, --test-scripts), поэтому все браузеры работают с одним набором; изменения записываются в хранилище по мере правки (кнопки «Сохранить» нет — черновик без валидного шага остаётся локальным); экспорт/импорт JSON остаётся для резервных копий и переноса скриптов между стендами (старый экспорт из localStorage импортируется как есть).

diff --git a/frontend/help.html b/frontend/help.html index 9a315ca..33d6e3e 100644 --- a/frontend/help.html +++ b/frontend/help.html @@ -563,7 +563,7 @@

A test script is an ordered list of actions and proactive-command expectations executed server-side on the equipped card. While a run is active the card belongs to the script: other card actions are refused (HTTP 409) and background STATUS polling is paused; the run report is kept in memory (also after reloading the page) until Clear report. Scripts live in the server-side store (~/.pysim-simple-server/test_scripts.json, --test-scripts), so every browser manages the same set; edits are written to the store as you change them (there is no Save button — a draft without a valid step stays local until it is valid); JSON export/import remains for backup and for moving scripts between benches (the old localStorage export imports as-is).

diff --git a/frontend/sw.js b/frontend/sw.js index 6616b47..f675425 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,4 +1,4 @@ -const CACHE = 'simple-v391'; +const CACHE = 'simple-v392'; const URLS = [ 'index.html', 'help.html',