Coder Social home page Coder Social logo

Comments (9)

yuliswe avatar yuliswe commented on June 28, 2024 4

I created a hack to get around this:
https://github.com/ylilarry/wdio-video-reporter/pull/1/files
Please feel free to take it.

from wdio-video-reporter.

presidenten avatar presidenten commented on June 28, 2024 1

I mentioned in a different issue that a similar functionality could be solved kind of easily with a post-processor that joins the video after the run.

Would this be an ok solution for this issue as well?

from wdio-video-reporter.

jasonwilliams avatar jasonwilliams commented on June 28, 2024

+1 on this, i would be interested in seeing the whole suite as a video also.
Hope this makes its way upstream

from wdio-video-reporter.

presidenten avatar presidenten commented on June 28, 2024

@ylilarry Would you mind opening a PR since there seems to be interest in this functionality?
Ill try to have a look as soon as I can

from wdio-video-reporter.

yuliswe avatar yuliswe commented on June 28, 2024

There are a few details that need to be discussed:

  1. How to determine the video file name
  2. What to do when two videos have the same name

My hack works for me because I deliberately made sure each suite contains one root describe that has a unique description.

However, a suite can be as such

describe('A', function() {
   it('aa', ...)
})

describe ('B', function() {
})

In intuitive way to is to name the video file A+B.

@jasonwilliams Would you provide some insight on how you'd use this feature?

from wdio-video-reporter.

jasonwilliams avatar jasonwilliams commented on June 28, 2024

A-B would make more sense and be more consistent with how things are named now.

Would you provide some insight on how you'd use this feature?

basically as you mentioned, as a way of watching the whole suite we have tests where each it() is a user interaction so right now the videos are quite short.

I would like this to be optional though as we don’t always need it, so some way of switching between how it is now and the full describe

from wdio-video-reporter.

jasonwilliams avatar jasonwilliams commented on June 28, 2024

@ylilarry is there a reason you haven't opened a PR with your changes on this repo?

from wdio-video-reporter.

jasonwilliams avatar jasonwilliams commented on June 28, 2024

I mentioned in a different issue that a similar functionality could be solved kind of easily with a post-processor that joins the video after the run.

Would this be an ok solution for this issue as well?

Sounds good to me

from wdio-video-reporter.

christian-bromann avatar christian-bromann commented on June 28, 2024

Thanks for raising this issue.

We greatly appreciate any contributions that help implement this feature request. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this feature being implemented. We encourage you to join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!

from wdio-video-reporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.