<commit_before>context("Portal Dashboard Student Sort",() =>{
    before(()=>{
        cy.visit("/?portal-dashboard");
    });

    it('verify we start in normal sort mode',()=>{
      cy.get('[data-cy=student-name]').eq(0).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(1).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(2).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(3).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(4).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(5).should("contain", "<NAME>");
    });

    it('verify we sort by most progress',()=>{
      cy.get('[data-cy=sort-students]').click();
      cy.get('[data-cy="list-item-most-progress"]').should('be.visible').click();
      cy.get('[data-cy=student-name]').eq(0).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(1).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(2).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(3).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(4).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(5).should("contain", "<NAME>");
    });

    it('verify we sort by least progress',()=>{
      cy.get('[data-cy=sort-students]').click();
      cy.get('[data-cy="list-item-least-progress"]').should('be.visible').click();
      cy.get('[data-cy=student-name]').eq(0).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(1).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(2).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(3).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(4).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(5).should("contain", "<NAME>");
    });

    it('verify we sort by awaiting feedback',()=>{
      cy.get('[data-cy=navigation-select]').click();
      cy.get('[data-cy="list-item-feedback-report"]').should('be.visible').click();
      cy.get('[data-cy=sort-students]').click();
      cy.get('[data-cy="list-item-awaiting-feedback"]').should('be.visible');
    });

});<commit_msg>Fix test for sort by awaiting feedback.<commit_after>context("Portal Dashboard Student Sort",() =>{
    before(()=>{
        cy.visit("/?portal-dashboard");
    });

    it('verify we start in normal sort mode',()=>{
      cy.get('[data-cy=student-name]').eq(0).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(1).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(2).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(3).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(4).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(5).should("contain", "<NAME>");
    });

    it('verify we sort by most progress',()=>{
      cy.get('[data-cy=sort-students]').click();
      cy.get('[data-cy="list-item-most-progress"]').should('be.visible').click();
      cy.get('[data-cy=student-name]').eq(0).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(1).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(2).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(3).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(4).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(5).should("contain", "<NAME>");
    });

    it('verify we sort by least progress',()=>{
      cy.get('[data-cy=sort-students]').click();
      cy.get('[data-cy="list-item-least-progress"]').should('be.visible').click();
      cy.get('[data-cy=student-name]').eq(0).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(1).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(2).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(3).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(4).should("contain", "<NAME>");
      cy.get('[data-cy=student-name]').eq(5).should("contain", "<NAME>");
    });

    it('verify we sort by awaiting feedback',()=>{
      cy.get('[data-cy=navigation-select]').click();
      cy.get('[data-cy="list-item-feedback-report"]').should('be.visible').click();
      cy.get('[data-cy=sort-feedback]').click();
      cy.get('[data-cy="list-item-awaiting-feedback"]').should('be.visible');
    });

});
{'fraction_non_alphanumeric': 0.2947064056939502, 'fraction_numerical': 0.00800711743772242, 'mean_word_length': 4.1808755760368665, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 51, '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': '260771', 'n_tokens_mistral': 1664, 'n_tokens_neox': 1651, 'n_words': 156}