<commit_before>oro_behat_extension:
  suites:
    OroEmailBundle:
      contexts:
        - Oro\Bundle\TestFrameworkBundle\Tests\Behat\Context\OroMainContext
        - OroDataGridBundle::GridContext
        - OroNavigationBundle::FeatureContext
        - OroNavigationBundle::PinbarContext
        - OroEmailBundle::FeatureContext
        - OroEmailBundle::EmailFeatureToggleContext
        - OroFormBundle::FormContext
        - OroUserBundle::FeatureContext
        - OroActivityListBundle::ActivityContext
        - OroConfigBundle::FeatureContext
      paths:
        - '@OroEmailBundle/Tests/Behat/Features'
  elements:
    Email Form:
      selector: "form[id^='oro_email_email']"
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Form
      options:
        mapping:
          ToField:
            type: 'xpath'
            locator: '//input[contains(@id, "oro_email_email_to")]'
            element: Select2Choices
          From:
            type: 'named'
            locator: ['field', 'From']
            element: Select2Offscreen

    Email Template Form:
      selector: "form[id^='oro_email_emailtemplate']"
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Form
      options:
        mapping:
          Subject:
            type: 'css'
            locator: 'div[class^="emailtemplate-translatation-fields-"].tab-pane.active [data-name="field__subject"]'
          Content:
            type: 'css'
            locator: 'div[class^="emailtemplate-translatation-fields-"].tab-pane.active [data-name="field__content"]'

    Email Template Grid:
      selector: 'div[data-page-component-name="email-templates"]'
      class: Oro\Bundle\DataGridBundle\Tests\Behat\Element\Grid

    EmailNotificationLink:
      selector: 'a.email-notification-icon'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Element

    ShortEmailList:
      selector: 'div.short-emails-list'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Element

    EmailListItem:
      selector: 'ul.items li'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Element

    EmailTitle:
      selector: 'div.title'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Element

    ReadUnreadIcon:
      selector: 'i.mail-icon'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Element

    RemoveEmail:<commit_msg>BAP-16104: Escape Twig code in default email templates<commit_after>oro_behat_extension:
  suites:
    OroEmailBundle:
      contexts:
        - Oro\Bundle\TestFrameworkBundle\Tests\Behat\Context\OroMainContext
        - OroDataGridBundle::GridContext
        - OroNavigationBundle::FeatureContext
        - OroNavigationBundle::PinbarContext
        - OroEmailBundle::FeatureContext
        - OroEmailBundle::EmailFeatureToggleContext
        - OroFormBundle::FormContext
        - OroUserBundle::FeatureContext
        - OroActivityListBundle::ActivityContext
        - OroConfigBundle::FeatureContext
      paths:
        - '@OroEmailBundle/Tests/Behat/Features'
  elements:
    Email Form:
      selector: "form[id^='oro_email_email']"
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Form
      options:
        mapping:
          ToField:
            type: 'xpath'
            locator: '//input[contains(@id, "oro_email_email_to")]'
            element: Select2Choices
          From:
            type: 'named'
            locator: ['field', 'From']
            element: Select2Offscreen

    Email Template Form:
      selector: "form[id^='oro_email_emailtemplate']"
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Form
      options:
        mapping:
          Subject:
            type: 'css'
            locator: 'div[class^="emailtemplate-translatation-fields-"].tab-pane.active [data-name="field__subject"]'
          Content:
            type: 'css'
            locator: 'div[class^="emailtemplate-translatation-fields-"].tab-pane.active [data-name="field__content"]'

    EmailNotificationLink:
      selector: 'a.email-notification-icon'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Element

    ShortEmailList:
      selector: 'div.short-emails-list'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Element

    EmailListItem:
      selector: 'ul.items li'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Element

    EmailTitle:
      selector: 'div.title'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Element

    ReadUnreadIcon:
      selector: 'i.mail-icon'
      class: Oro\Bundle\TestFrameworkBundle\Behat\Element\Element

    RemoveEmail:
{'fraction_non_alphanumeric': 0.10466389314648566, 'fraction_numerical': 0.0019706590759798557, 'mean_word_length': 2.6809024979854956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1555278', 'n_tokens_mistral': 1344, 'n_tokens_neox': 1323, 'n_words': 191}