<commit_before><?php

namespace Oro\Bundle\SearchBundle\Tests\Behat\Context;

use Behat\Behat\Tester\Exception\PendingException;
use Behat\Gherkin\Node\TableNode;
use Oro\Bundle\TestFrameworkBundle\Behat\Context\OroFeatureContext;
use Oro\Bundle\TestFrameworkBundle\Behat\Element\OroPageObjectAware;
use Oro\Bundle\TestFrameworkBundle\Tests\Behat\Context\PageObjectDictionary;
use Symfony\Component\DomCrawler\Crawler;

class FeatureContext extends OroFeatureContext implements OroPageObjectAware
{
    use PageObjectDictionary;

    /**
     * @Then /^(?:|I )should see following search entity types:$/
     */
    public function iShouldSeeFollowingSearchEntityTypes(TableNode $table)
    {
        $entityTypes = $this->getPage()->find('css', '.search-entity-types-column');
        self::assertNotNull($entityTypes, 'Search entity types column not found');

        $crawler = new Crawler($entityTypes->getHtml());
        $links = [];

        /** @var \DOMElement $link */
        foreach ($crawler->filter('ul li') as $link) {<commit_msg>CRM-6425: Merge master into story branch - Updated namespaces in Behat context<commit_after><?php

namespace Oro\Bundle\CalendarBundle\Tests\Behat\Context;

use Behat\Behat\Tester\Exception\PendingException;
use Behat\Gherkin\Node\TableNode;
use Oro\Bundle\TestFrameworkBundle\Behat\Context\OroFeatureContext;
use Oro\Bundle\TestFrameworkBundle\Behat\Element\OroPageObjectAware;
use Oro\Bundle\TestFrameworkBundle\Tests\Behat\Context\PageObjectDictionary;
use Symfony\Component\DomCrawler\Crawler;

class FeatureContext extends OroFeatureContext implements OroPageObjectAware
{
    use PageObjectDictionary;

    /**
     * @Then /^(?:|I )should see following search entity types:$/
     */
    public function iShouldSeeFollowingSearchEntityTypes(TableNode $table)
    {
        $entityTypes = $this->getPage()->find('css', '.search-entity-types-column');
        self::assertNotNull($entityTypes, 'Search entity types column not found');

        $crawler = new Crawler($entityTypes->getHtml());
        $links = [];

        /** @var \DOMElement $link */
        foreach ($crawler->filter('ul li') as $link) {
{'fraction_non_alphanumeric': 0.12192860454334724, 'fraction_numerical': 0.0018544274455261937, 'mean_word_length': 4.3681592039801, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '4610788', 'n_tokens_mistral': 646, 'n_tokens_neox': 635, 'n_words': 124}