Files
wekan/docs/Features/Editor/RedStrings/example-input.txt
T
Lauri Ojansivu 1218cd281f Add test-menu.sh and checked-in example inputs for docs/Features
test-menu.sh mirrors the docs/Features menu structure and runs the actual
WeKan code for each feature: a dedicated runner for Login (a real REST
username/password round trip) and ImportExport/PDF (create a board, export
it, check the PDF header), and a generic fallback that matches a feature
against this repo's own automated tests by filename. Every feature run
writes output.txt/result.txt/run.log under .tools/test-menu/<timestamp>/,
mirroring the docs/Features path, and never leaves an empty or missing
result.

The example INPUT for a feature is checked into the repository next to its
documentation instead: docs/Features/<path>/example-input.txt, hand-written
for Login and ImportExport/PDF and extracted from the feature's own .md
elsewhere. test-menu.sh only reads these; it never writes into docs/Features.

An earlier version of the matcher also grep'd test file CONTENTS for a
keyword once the filename search failed, which pulled in noise (a word like
"webhook" mentioned in passing in a dozen unrelated tests); it is
filename-only now.

Thanks to xet7.
2026-09-08 17:49:24 +03:00

31 lines
1.2 KiB
Plaintext

# Example input for docs/Features/Editor/RedStrings, from RedStrings.md.
# Extracted automatically from the first fenced code block in that
# document - see RedStrings.md for the full explanation.
Step 1 — Turn the overlay on (board header: Show dependencies),
then hover a card. A connect handle (o) appears on its right edge.
+----------------+
| PI Alpha (o) +----------------+
| list: Sprint 1| | PI Beta |
+----------------+ | list: Sprint 2|
+----------------+
Step 2 — Press on the handle and drag toward the other card.
A dashed guide line follows the cursor.
+----------------+
| PI Alpha (o)- - - - - - - - - >+
+----------------+ +----------------+
| PI Beta |
+----------------+
Step 3 — Release the mouse over the target card.
A solid, colored, arrow-headed line is created (PI Alpha -> PI Beta).
+----------------+
| PI Alpha (o)================>+
+----------------+ +----------------+
| PI Beta |
+----------------+