/** * {@inheritdoc} */ protected function printScenarioName(AbstractScenarioNode $scenario) { $this->writeln('<h3>'); $this->writeln('<span class="keyword">' . $scenario->getKeyword() . ': </span>'); if ($scenario->getTitle()) { if ($this->sauce_link !== null) { $this->writeln(sprintf('<span class="title"><a href="%s">%s</a></span>', $this->sauce_link, $scenario->getTitle())); } else { $this->writeln('<span class="title">' . $scenario->getTitle() . '</span>'); } } $this->printScenarioPath($scenario); $this->writeln('</h3>'); $this->writeln('<ol>'); }
/** * {@inheritdoc} */ protected function printScenarioName(AbstractScenarioNode $scenario) { $this->writeln('<h3>'); $this->writeln('<span class="keyword">' . $scenario->getKeyword() . ': </span>'); if ($scenario->getTitle()) { $this->writeln('<span class="title">' . $scenario->getTitle() . '</span>'); } $this->printScenarioPath($scenario); $this->writeln('</h3>'); $this->writeln('<ol>'); }