<commit_before><?php

/**
 * Frontend navigation and render tests
 *
 * @author <NAME> <<EMAIL>>
 */
class FrontendCest
{
    /** @var array */
    protected $user;

    /**
     * @param \AcceptanceTester $I
     */
    public function _before(\AcceptanceTester $I)
    {
    }

    /**
     * @param \AcceptanceTester $I
     */
    public function _after(\AcceptanceTester $I)
    {
    }

    /**
     * Check the homepage
     *
     * @param \AcceptanceTester $I
     */
    public function checkFrontPageTest(\AcceptanceTester $I)
    {
        $I->wantTo('see that the homepage works.');

        $I->amOnPage('');

        $I->see('A sample site');
        $I->see('Recent Pages');
        $I->see('Recent Entries');
        $I->see('Recent Showcases');
        $I->dontSee('Recent Resources');

        $I->see('Built with Bolt, tested with Codeception', 'footer');<commit_msg>[Tests] Check the 'homepage' was published and renders<commit_after><?php

/**
 * Frontend navigation and render tests
 *
 * @author <NAME> <<EMAIL>>
 */
class FrontendCest
{
    /** @var array */
    protected $user;

    /**
     * @param \AcceptanceTester $I
     */
    public function _before(\AcceptanceTester $I)
    {
    }

    /**
     * @param \AcceptanceTester $I
     */
    public function _after(\AcceptanceTester $I)
    {
    }

    /**
     * Check the homepage
     *
     * @param \AcceptanceTester $I
     */
    public function checkFrontPageTest(\AcceptanceTester $I)
    {
        $I->wantTo('see that the homepage works.');

        $I->amOnPage('');

        $I->see('A sample site');
        $I->see('Recent Pages');
        $I->see('Recent Entries');
        $I->see('Recent Showcases');
        $I->dontSee('Recent Resources');

        $I->see('A Page I Made', 'h1');
        $I->see('Built with Bolt, tested with Codeception', 'footer');
{'fraction_non_alphanumeric': 0.1633423180592992, 'fraction_numerical': 0.0005390835579514825, 'mean_word_length': 2.2110726643598615, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 26, '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': '5393617', 'n_tokens_mistral': 610, 'n_tokens_neox': 585, 'n_words': 137}