/**
  * Skip the current position to the provided scope: item, section, part
  */
 public function skip()
 {
     $code = 200;
     $ref = $this->getRequestParameter('ref');
     $scope = $this->getRequestParameter('scope');
     $itemDuration = $this->getRequestParameter('itemDuration');
     $consumedExtraTime = $this->getRequestParameter('consumedExtraTime');
     try {
         $serviceContext = $this->getServiceContext();
         $this->runnerService->endTimer($serviceContext, $itemDuration, $consumedExtraTime);
         $result = $this->runnerService->skip($serviceContext, $scope, $ref);
         $response = ['success' => $result];
         if ($result) {
             $response['testContext'] = $this->runnerService->getTestContext($serviceContext);
         }
         $this->runnerService->persist($serviceContext);
     } catch (common_Exception $e) {
         $response = $this->getErrorResponse($e);
         $code = $this->getErrorCode($e);
     }
     $this->returnJson($response, $code);
 }