usability

command
v0.1.0-rc.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 34 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Usability acceptance harness

Runs the simple-setup acceptance script (design §6) against a fresh app home in a headless browser and writes report.md, report.json and screenshots.

go run ./tools/acceptance/usability -fake                 # synthetic API, about 35 minutes
go run ./tools/acceptance/usability -live -out DIR        # a real workspace, about 25 minutes

NOT YET IMPLEMENTED is incomplete acceptance, never a pass; -strict makes it fail the run.

Live mode

Live mode posts, reacts to and deletes test threads, so use a disposable channel. Every mutation goes through a local proxy that refuses any channel other than the two named below. Tokens are read from the environment only and are never printed.

Variable What it is
CK_BOT_TOKEN Bot token of the app under test (current setup slack --print-manifest)
CK_USER_TOKEN User token of a workspace admin or owner from the same install. The harness also reacts with it, so add the user scope reactions:write to the test app; the product manifest does not ask for it
CK_SECOND_USER_TOKEN A second, non-admin identity that can post and react in the channel. T6, T9 and 6.5-member need a real member's user token: the owner list shows people only, so a bot is not offered. With a bot token here they fail and are blocked, not product failures
CK_INDEPENDENT_TOKEN A different token that can read the channel's history and reactions; only used to observe
CK_CHANNEL Disposable channel; the three identities above and the bot are members
CK_SECOND_CHANNEL Another public channel the bot has not joined (T5 joins it; remove the bot before a rerun)
CK_APP_TOKEN Optional app-level token; enables the instant-mode fixture

The run deletes every message it posted. A CLEANUP row lists anything it could not delete.

Documentation

Overview

Command usability runs the simple-setup acceptance script against a fresh app.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL