Skip to content

Add recording smoke test #775

Open
@abrichr

Description

@abrichr

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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions