<commit_before>context('Navigation', () => {
    context('Home', () => {
        beforeEach(() => {
            cy.visit('http://localhost:8000');
        });

        it('can navigate to contact page', () => {
            cy.get('[data-cy=contact-link]').click();

            cy.location('pathname').should('include', 'contact');
        });

        it('can navigate to profile page and back', () => {
            cy.get('[data-cy=profile-link]').click();
            cy.location('pathname').should('include', 'profile');

            cy.get('[data-cy=logo-link]').click();
            cy.location('pathname').should('eq', '/');
        });
    });

    context('Offcanvas', () => {
        beforeEach(() => {
            cy.get('[data-cy=offcanvas-btn]').as('offcanvasBtn');
        });

        it('can be opened', () => {
            cy.get('@offcanvasBtn')
                .should('not.have.class', 'active')
                .click()
                .should('have.class', 'active');
        });

        it('can navigate to contact', () => {
            cy.visit('http://localhost:8000');

            cy.get('@offcanvasBtn').click();
            cy.get('[data-cy=offcanvas-contact-link]')
                .wait(200)
                .click();
            cy.location('pathname').should('include', 'contact');
        });

        it('can navigate to profile', () => {
            cy.get('@offcanvasBtn').click();
            cy.get('[data-cy=offcanvas-profile-link]')
                .wait(200)
                .click();
            cy.location('pathname').should('include', 'profile');
        });

        it('can navigate to home', () => {
            cy.get('@offcanvasBtn').click();
            cy.get('[data-cy=offcanvas-home-link]')
                .wait(200)
                .click();
            cy.location('pathname').should('eq', '/');
        });
    });

    context('Profile', () => {
        beforeEach(() => {
            cy.visit('http://localhost:8000/profile');
        });

        it('can navigate to contact page', () => {
            cy.get('[data-cy=contact-link]').click();
            cy.location('pathname').should('include', 'contact');
        });
    });
});<commit_msg>Test fixes<commit_after>context('Navigation', () => {
    context('Home', () => {
        beforeEach(() => {
            cy.visit('http://localhost:8000');
        });

        it('can navigate to contact page', () => {
            cy.get('[data-cy=contact-link]').click();

            cy.location('pathname').should('include', 'contact');
        });

        it('can navigate to profile page and back', () => {
            cy.get('[data-cy=profile-link]').click();
            cy.location('pathname').should('include', 'profile');

            cy.get('[data-cy=logo-link]').click();
            cy.location('pathname').should('eq', '/');
        });
    });

    context('Offcanvas', () => {
        beforeEach(() => {
            cy.get('[data-cy=offcanvas-btn]').as('offcanvasBtn');
        });

        it('can be opened', () => {
            cy.get('@offcanvasBtn')
                .should('not.have.class', 'active')
                .click()
                .should('have.class', 'active');
        });

        it('can navigate to contact', () => {
            cy.visit('http://localhost:8000');

            cy.get('@offcanvasBtn').click();
            cy.wait(300)
                .get('[data-cy=offcanvas-contact-link]')
                .click();
            cy.location('pathname').should('include', 'contact');
        });

        it('can navigate to profile', () => {
            cy.get('@offcanvasBtn').click();
            cy.wait(300)
                .get('[data-cy=offcanvas-profile-link]')
                .click();
            cy.location('pathname').should('include', 'profile');
        });

        it('can navigate to home', () => {
            cy.get('@offcanvasBtn').click();
            cy.wait(300)
                .get('[data-cy=offcanvas-home-link]')
                .click();
            cy.location('pathname').should('eq', '/');
        });
    });

    context('Profile', () => {
        beforeEach(() => {
            cy.visit('http://localhost:8000/profile');
        });

        it('can navigate to contact page', () => {
            cy.get('[data-cy=contact-link]').click();
            cy.location('pathname').should('include', 'contact');
        });
    });
});
{'fraction_non_alphanumeric': 0.2166326761840018, 'fraction_numerical': 0.009517335146159076, 'mean_word_length': 1.7146371463714638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 31, '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': '1352073', 'n_tokens_mistral': 1295, 'n_tokens_neox': 1221, 'n_words': 155}