Files
enduro-trails/tests/ui/TEST_CASES_TEMPLATE.md
claude-bot b09907e683
All checks were successful
CI / lint (push) Successful in 4s
CI / test (push) Successful in 5s
CI / build (push) Successful in 2s
CI / lint (pull_request) Successful in 4s
CI / test (pull_request) Successful in 4s
CI / build (pull_request) Successful in 1s
feat: add UI/visual testing to pipeline
2026-05-23 01:58:14 +03:00

42 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# UI Test Cases: <Work Item ID> — <Title>
> Шаблон для аналитика. Скопируй и заполни для своего work item.
> Runner: node /home/slin/tools/ui-test/run_tests.js <этот-файл> /tmp/screenshots/
> Docs: docs/architecture/ui-testing.md
---
### TC-UI-01 — <Название сценария>
**Тип:** ui
**Viewport:** desktop
**URL:** https://openclaw.mva154.duckdns.org/enduro/
**Шаги:**
1. navigate: https://openclaw.mva154.duckdns.org/enduro/
2. wait: 4000
3. screenshot: "initial-state"
4. click: "#<element-id>"
5. wait: 1000
6. check-visual: "<что должно быть видно>"
**Визуальные критерии:**
- <критерий 1>
- <критерий 2>
---
### TC-UI-02 — Mobile layout
**Тип:** ui
**Viewport:** both
**URL:** https://openclaw.mva154.duckdns.org/enduro/
**Шаги:**
1. navigate: https://openclaw.mva154.duckdns.org/enduro/
2. wait: 4000
3. check-visual: "mobile and desktop layout"
**Визуальные критерии:**
- Нет горизонтального скролла
- Все кнопки toolbar видны
- Карта занимает весь экран