VA Visual Check
Use this skill for visual validation of 1C forms through Vanessa Automation / TestClient and VA MCP. This is the dedicated route for UI/UX screenshots of managed 1C forms.
Main Route
- If the VA MCP manager session is not up yet, start it strictly according to the
v8-runnerskill; here check only the live sessionkind=vanessa_test_clientinsession_list. - After starting VA/the client, let the process start up normally: 10-20 seconds before the first check is a normal interval. If the live session is already visible but the VA tools have not yet appeared in the catalog, wait for the tools to register with periodic checks for up to 120 seconds; proceed as soon as the required tools appear.
- Connect the test client through
connect_test_clientwith the profile from the VA settings; do not guess the profile name. - Make sure a real test-client is connected. Do not rely only on the
connect_test_clienttext response: verify the selected VAParams profile, the VA log/state, a live/TESTCLIENT -TPort ...process, orget_window_list_os. If the PID is0/empty, first check the activetests.va.params_path, the profile row inДанныеКлиентовТестирования, busy/stale ports, and old TestClient processes. - Open the required form through VA/TestClient tools.
- Get the structured state of the form (
get_form_analysis,get_window_list_testclient, reading elements/tables). - Get the list of OS windows through
get_window_list_os. - Critical: perform screenshot operations through VA MCP strictly synchronously. Do not launch several
get_window_screenshot_osin parallel and do not usemulti_tool_use.parallelfor them: send one request, wait for the full response, and make sure throughsession_listthat the session is alive andinflight=0; only then send the next request. - Take a PNG through
get_window_screenshot_osby the OS window title returned byget_window_list_os. In the current VA MCP contract,connect_test_client(profileName)selects the active TestClient, andwindow_titleselects one OS window from the window list of that connected TestClient process:
get_window_screenshot_os {
"window_title": "<title from get_window_list_os>",
"file_name": "<путь>.png",
"color_mode": "color"
}
Use window_id/PID from get_window_list_os only for technical debugging and to prove that the OS window belongs to the TestClient. Do not choose a window by global title search outside VA: the VA manager and TestClient can have identical titles. If the PNG is black, single-color, or the VA manager disconnects during screenshot, first prove that the current VanessaExt build is installed and that the call is made through the connected TestClient route; only then continue with the Linux/Xvfb diagnostics below.
- Check the PNG: the file is created, the size is as expected, the image is not empty, not single-color, and not black.
MCP research vs scenario run-loop
Do not mix two different VA execution schemes in one verification loop:
- MCP research / interactive form inspection: a test-client is already running and connected to the VA MCP manager. Use
connect_test_client,execute_feature_step,get_form_analysis,manage_form_elements, screenshots, and table-document save tools against that live client. - Scenario run-loop: VA executes a feature through
run_scenario/v8-runner test va, and steps such asЯ подключаю клиент тестирования с параметрамиcreate/manage their own TestClient session.
These schemes do not reliably share client state, PID/profile binding, modal windows, or ports. If MCP research is in progress, do not insert Я подключаю клиент тестирования... into the same feature to "restart" the client; it can leave VA with PID 0, stale modal state, or an unconnected client. If a fresh client is required for MCP research, restart it by the same MCP-research recipe/profile and then call connect_test_client again. If a full scenario run is required, switch to the vanessa-run-loop workflow and treat it as a separate run with its own artifacts.
Linux headless X11/Xvfb without a window manager
Current VanessaExt is expected to handle Linux virtual X11/Xvfb without a graphical environment/window manager inside get_window_list_os and get_window_screenshot_os(window_title=...). Do not add manual window-selection parameters, a PID argument, a window_id argument, or any external window-preparation step to the normal screenshot route.
The normal route is still:
connect_test_client { "profileName": "<profile from VAParams>" }
get_window_list_os {}
get_window_screenshot_os {
"window_title": "<title from get_window_list_os>",
"file_name": "<путь>.png",
"color_mode": "color"
}
If the PNG is black/monochrome in no-WM Xvfb, treat it as a broken route, stale component, wrong profile/port binding, or wrong window selection until disproven. Check:
- the installed component in the 1C user cache matches the intended VanessaExt build;
- the X11 root really has no window manager/client-list properties (
_NET_SUPPORTING_WM_CHECK,_NET_CLIENT_LIST,_WIN_CLIENT_LIST); get_window_list_osreturns the target TestClient window title afterconnect_test_client(profileName);- the selected window is the visible form window, not a hidden
1cv8chelper window.
Do not run external X11 window-management commands as part of the screenshot procedure. Do not pass manual window-selection parameters to get_window_screenshot_os. If the standard route fails after the checks above, fix the component/profile/port/window-selection cause or move to the fallback solution below with the failure recorded.
Browser fallback
VA MCP is the preferred route for ordinary 1C forms because it works with the real TestClient and gives both the form structure and a visual PNG.
Web/browser fallback is allowed when:
- VA MCP is unavailable or does not pass readiness;
- the connected TestClient still has PID
0/empty after checking VAParams profile, ports, stale/TESTCLIENTprocesses, andget_window_list_os; get_window_list_osdoes not see the required window;get_window_screenshot_osremains black/monochrome after proving that the current VanessaExt build is installed and the profile/port/window-selection checks do not identify the cause;- the behavior being checked relates to the browser layer: DOM/CSS/HTML, console/network, web-auth/publication, viewport/pixel rendering, browser extension, browser-only upload/download/clipboard.
Before fallback, record:
- which VA capability failed;
- which VA-route steps have already been completed;
- why the browser/web-client will provide enough signal for the current task;
- residual risk: the web-client may differ from the thin/thick 1C client.
For browser fallback, use the relevant browser skills (web-test-1c, playwright, screenshot) for their intended purpose. Do not mix the result: if the artifact was obtained through web/browser fallback, call it that in the report.
What Not To Do
- Do not replace the VA MCP screenshot with a direct X11/noVNC/OS screenshot without an explicit fallback note.
- Do not choose the window only by title in Xvfb: the VA manager and the test-client can have identical titles.
- Do not treat
get_window_list_testclientas visual confirmation: it is the structure of internal windows, not a PNG. - Do not continue based on cached
tools/list: you need a live session of the requiredkind.
depends_on:
- framework/skills/tool-usage/vanessa/vanessa-authoring/SKILL.md
- framework/skills/tool-usage/v8-session-manager/SKILL.md
- framework/skills/bsl-practices/form-visual-requirements/SKILL.md