Skip to content

Commit

Permalink
Add end-to-end test instructions to README (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre authored Dec 12, 2024
1 parent 20626b2 commit 60b0cde
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,18 @@ The conference bot uses the following terminology for defining what purpose a Ma
* `Special Interest` - These are rooms where subject matter is usually specific and the bot's concern
with it is largely moderation and lightly scheduled events. These are most like stands at a physical
conference, or places to hold larger discussions.

## Running the end-to-end tests

Before running the end-to-end tests you need to have a running homerunner instance.

To do so, get a Complement checkout (`git clone https://github.com/matrix-org/complement`) and in the Complement directory,
compile homerunner with `go build ./cmd/homerunner`.

Now you can run `HOMERUNNER_SPAWN_HS_TIMEOUT_SECS=100 path/to/complement/homerunner` to start homerunner.

With homerunner running, you can now run the tests with:

```shell-commands
npm run test:e2e
```

0 comments on commit 60b0cde

Please sign in to comment.