The purpose of the repo is to see if we can run a cypress on GitHub Actions, such that it mock a microphone audio device with a test file.
The reason for investigating this is to see whether GitHub Actions and Cypress could be used to create persistent fake users in a High Fidelity space.
This would allow push-button access to having fake users in spaces, like:
- DJs who play music for an hour and then leave
- Ocean wave sounds coming from a beach
- Koisk-like narration of spaces or exhibits
- Stretch goal: Automated walking tours of spaces
See: https://hackmd.io/Wv8m0dxvSmu4tF02Htb24Q
(This process isn't ideal, but is the current way to use this yourself.)
- Clone this repo.
npm install
- Drop your preferred WAV audio file into place at
cypress/fixtures/audio.wav
- Edit file
cypress/integration/hifi-fake-user.spec.js
to hardcode your own preferences inconfig
.-
Current configuration is for the fake user to appear behind the turntables onstage in the default HQ map.
-
If you'd like to set a new position and orientation, experiment with moving your own avatar into place, and then click:
Menu (top-left) > Invite
You can find the
x
andy
position and theo
orientation in the URL it provides.
-
npm run fake-user