fregante / fregante/GhostText

Add editor tester

Open
#264 0 comments 1 reaction 0 assignees View on GitHub
browser documentation help wanted
Dominant language
JavaScript
Stars
3.6k
Forks
133
PR merge metrics
No merged PRs in 30d

Description

In the background page, there could be a button that starts a session with the editor and tests its capabilities:

1. Send `Hello world. Do you see me? Type yes: `
2. Listen to the events until `yes` is typed
3. Send only `Select the word hello on this line`
4. Listen to the selection
5. Send only `Hold the s key for 3 seconds: `
6. Listen to the frequency of events, ensure the events arrive in order, ensure that the cursor always appears at the end
5. Send only `Close this editor tab`

Etc, it could test any number of [editor capabilities](https://github.com/fregante/GhostText/issues/256), including just asking whether something happened a certain way.

Then it could compile a test result

Related:
- https://github.com/fregante/GhostText/issues/183#issuecomment-784261222

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.