OpenAdapt icon indicating copy to clipboard operation
OpenAdapt copied to clipboard

Add recording smoke test

Open abrichr opened this issue 1 year ago • 8 comments

Feature request

We would like to add an automated test that:

  • calls openadapt.record
  • waits for the recording.started signal to be emitted (fails after e.g. 30s if no such signal is emitted)
  • stops the recording by emitting the stop sequence on the keyboard (re-use openadapt.playback)
  • asserts something about the state of the database (e.g. that the recording has been created) and filesystem (the video and performance plots have been created)

Motivation

Avoid regressions like in:

  • https://github.com/OpenAdaptAI/OpenAdapt/pull/774
  • https://github.com/OpenAdaptAI/OpenAdapt/pull/784

abrichr avatar Jun 18 '24 14:06 abrichr

/bounty $100

abrichr avatar Jun 18 '24 14:06 abrichr

💎 $100 bounty • OpenAdaptAI

Steps to solve:

  1. Start working: Comment /attempt #775 with your implementation plan
  2. Submit work: Create a pull request including /claim #775 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to OpenAdaptAI/OpenAdapt!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @onyedikachi-david Jun 22, 2024, 8:59:18 AM #803
🟢 @vishwamartur Jan 20, 2025, 3:47:23 AM #938

algora-pbc[bot] avatar Jun 18 '24 14:06 algora-pbc[bot]

/attempt #775

Algora profile Completed bounties Tech Active attempts Options
@onyedikachi-david 2 bounties from 1 project
JavaScript, Shell
﹟764
Cancel attempt

onyedikachi-david avatar Jun 22 '24 08:06 onyedikachi-david

@abrichr can i get assigned?

unworld11 avatar Jun 24 '24 10:06 unworld11

@unworld11 feel free to submit an attempt, we will merge whoever submits working code that meets the required standard first.

abrichr avatar Jun 24 '24 13:06 abrichr

💡 @onyedikachi-david submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] avatar Jun 25 '24 13:06 algora-pbc[bot]

/attempt #775

Algora profile Completed bounties Tech Active attempts Options
@vishwamartur 1 bounty from 1 project
C, BitBake,
TypeScript & more
Cancel attempt

vishwamartur avatar Jan 20 '25 03:01 vishwamartur

💡 @vishwamartur submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] avatar Jan 20 '25 03:01 algora-pbc[bot]