Skip to content

Commit

Permalink
Set video frame rate to 60
Browse files Browse the repository at this point in the history
  • Loading branch information
tienvx committed Apr 9, 2022
1 parent 5f3ecfe commit b4ea83b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Service/SelenoidHelper.php
Expand Up @@ -52,6 +52,7 @@ public function getCapabilities(TaskInterface|BugInterface $entity, bool $debug
$caps += [
'logName' => $this->getLogName($entity),
'videoName' => $this->getVideoName($entity),
'videoFrameRate' => 60,
];
}

Expand Down
1 change: 1 addition & 0 deletions tests/Service/SelenoidHelperTest.php
Expand Up @@ -93,6 +93,7 @@ private function assertCapabilities(DesiredCapabilities $capabilities, bool $deb
$debug ? ($hasBug ? "bug-{$this->bug->getId()}.mp4" : "task-{$this->task->getId()}.mp4") : null,
$capabilities->getCapability('videoName')
);
$this->assertSame($debug ? 60 : null, $capabilities->getCapability('videoFrameRate'));
}

public function capabilitiesParameterProvider(): array
Expand Down

0 comments on commit b4ea83b

Please sign in to comment.