<commit_before>module.exports = frame => {
    describe('Buttons', function () {
        it('All buttons are rendered', function () {
            var buttons = frame.getAll('[class*="sc-btn-"]');

            for (var i = 0; i < buttons.length() - 1; i++) {
                buttons.at(i).assert({
                    rendered: true
                });
            }
        });

        it('Buttons have the correct height', function () {
            var buttons = frame.getAll('[class*="sc-btn-"]');

            for (var i = 0; i < buttons.length() - 1; i++) {
                buttons.at(i).assert({
                    height: 40
                });
            }
        });

        it('Fullwidth button', function () {
            var container = frame.get('#separate-content');
            var fullWidthButton = frame.get('#button-full-width .sc-btn-block');

            fullWidthButton.assert({
                width: container.width
            });
        });
    });
};
<commit_msg>fixed selectors for button tests<commit_after>module.exports = frame => {
    describe('Buttons', function () {
        it('All buttons are rendered', function () {
            var buttons = frame.getAll('.group-button [class*="sc-btn-"]');

            for (var i = 0; i < buttons.length() - 1; i++) {
                buttons.at(i).assert({
                    rendered: true
                });
            }
        });

        it('Buttons have the correct height', function () {
            var buttons = frame.getAll('.group-button [class*="sc-btn-"]');

            for (var i = 0; i < buttons.length() - 1; i++) {
                buttons.at(i).assert({
                    height: 40
                });
            }
        });

        it('Fullwidth button', function () {
            var container = frame.get('#separate-content');
            var fullWidthButton = frame.get('#button-full-width .sc-btn-block');

            fullWidthButton.assert({
                width: container.width
            });
        });
    });
};

{'fraction_non_alphanumeric': 0.15724815724815724, 'fraction_numerical': 0.005896805896805897, 'mean_word_length': 1.4209274673008323, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '3829538', 'n_tokens_mistral': 556, 'n_tokens_neox': 523, 'n_words': 118}