-
Notifications
You must be signed in to change notification settings - Fork 21
#14 - All specs video path #18
base: master
Are you sure you want to change the base?
Conversation
… case, when one video file is produced. Added a new option called allSpecsVideoName which can be either a string or a function. It is combined with the baseDirectory option to create a full path.
Hi Jean
I think that's it. |
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "protractor-video-reporter", | |||
"version": "0.3.0", | |||
"version": "0.3.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As stated, please do not change version numbers in a regular PR. Version number should be changed when we do a release
@tomyam1 Is this PR dead? Last activity was way back |
@@ -56,6 +56,20 @@ For example, you can do: | |||
result.fullName + '.mov'; | |||
} | |||
|
|||
|
|||
* `allSpecsVideoName`: (function): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since both singleVideo === true
and baseDirectory
required by default, maybe this should be called defaultVideoName
?
|
||
For example, you can do: | ||
|
||
allSpecsVideoName: function (result) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The result
argument here isn't actually passed to the user function in the implementation. Fix impl or remove the false doc.
#14 - Allow specifying other name than protractor-specs.mov in case, when one video file is produced.
Added a new option called allSpecsVideoName which can be either a string or a function. It is combined with the baseDirectory option to create a full path.