Project

General

Profile

Actions

action #125300

open

Support creating demo videos with pauses and mouse moving

Added by tinita over 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2023-03-02
Due date:
2023-03-24 (about 15 months late)
% Done:

33%

Estimated time:
(Total: 0.00 h)

Description

Motivation

Additionally to testing, openQA can be used to create demonstration videos, and ideally the same
test code can be used, just that there should be certain pauses, and we would want to see the mouse
moving and have a little pause before clicking.

Testing of course still has the higher priotity, and the os-autoinst code should not get more
complicated, but for creating simple demo videos we probably don't need much new code.

Acceptance criteria

  • AC1: A demo mode exists and is enabled via a setting like DEMO_MODE, which can be used for videos targeted at human beings learning about something

Suggestions

  • Provide an easy way to delay/sleep around needle matches (assuming this is usually what a user would want to take a look at)
  • "Slow down" the generated video rather than the test itself (e.g. around needles etc)
  • Move the mouse pointer gradually rather than instantaneously

Subtasks 3 (2 open1 closed)

action #125378: [timeboxed:20h] Proof of concept for supporting creating demo videos with pauses and mouse moving size:MResolvedtinita2023-03-022023-03-24

Actions
action #126062: Implement gradual mouse motions as an optionNew2023-03-15

Actions
action #126065: Provide an easy way to slow down test interaction around needle matchesNew2023-03-15

Actions

Related issues 1 (0 open1 closed)

Related to QA - action #122908: [tools] openSUSE conference 2023 contributions size:MResolvedlivdywan2023-01-10

Actions
Actions #1

Updated by tinita over 1 year ago

  • Description updated (diff)
Actions #2

Updated by livdywan over 1 year ago

  • Description updated (diff)
Actions #3

Updated by tinita over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to tinita
  • Target version set to Ready

Since I did that for the Perl Workshop, here is a first suggestion: https://github.com/os-autoinst/os-autoinst/pull/2274

We would need more sleep calls in various occasions I guess, but that can be also done later.

Test and needles:

Actions #4

Updated by okurz over 1 year ago

Maybe you are going a bit too quick here :) I think there is still a variable NICEVIDEO or something similar

EDIT: I thought of https://github.com/os-autoinst/os-autoinst/commit/9b546ccf7082b5c4d7613c095554b07c072de3b5 , maybe it's just defined within os-autoinst-distri-opensuse nowadays

Actions #5

Updated by openqa_review over 1 year ago

  • Due date set to 2023-03-17

Setting due date based on mean cycle time of SUSE QE Tools

Actions #6

Updated by okurz over 1 year ago

  • Related to action #122908: [tools] openSUSE conference 2023 contributions size:M added
Actions #7

Updated by tinita over 1 year ago

Like I wrote, I did the main work already as part of the talk preparation for the workshop, and I didn't want that code to lie around for weeks.

I wrote in the pull request that it doesn't cover all functions yet where it would need to add a sleep.

Maybe we can leave the new functionality totally undocumented for now (and/or mark it as experimental), so that we can make breaking changes later.

Actions #8

Updated by tinita over 1 year ago

  • Status changed from In Progress to New
  • Assignee deleted (tinita)
  • Target version changed from Ready to future
Actions #9

Updated by livdywan over 1 year ago

  • Description updated (diff)
Actions

Also available in: Atom PDF