example.behat.yml 1.14 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
default:
  suites:
    default:
      contexts:
        - FeatureContext
        - Drupal\DrupalExtension\Context\DrupalContext
        - Drupal\DrupalExtension\Context\MinkContext
        - Drupal\DrupalExtension\Context\MessageContext
        - Drupal\DrupalExtension\Context\DrushContext
  extensions:
11
12
13
    jarnaiz\JUnitFormatter\JUnitFormatterExtension:
      filename: behat.junit.xml
      outputDir: %paths.base%/out
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
    Behat\MinkExtension:
      goutte: ~
      selenium2: ~
      base_url: %URL
    Drupal\DrupalExtension:
      blackbox: ~
      api_driver: 'drupal'
      drush:
        root: %DRUPAL_ROOT
      drupal:
        drupal_root: %DRUPAL_ROOT
      selectors:
        message_selector: '.messages'
        error_message_selector: '.messages.error'
        warning_message_selector: '.messages.warning'
        success_message_selector: '.messages.status'
      region_map:
        "Header":  "header.siteHeader"
        "Content": "main.main"
        "Footer":  "footer.siteFooter"
      text:
        username_field: "Nom d'utilisateur"
        password_field: "Mot de passe"
        log_in: "Se connecter"
        log_out: "Se déconnecter"