<commit_before>
describe('Movies', function () {
    'use strict';
    var baseUrl = '/movies';
    var addMovieUrl = '/movies/new';

    beforeEach(function () {
        var deleteMovie = function () {
            browser().navigateTo(baseUrl);
            element('table tbody').query(function (tbody, done) {
                var children = tbody.children();

                if (children.length > 0) {
                    browser().navigateTo(baseUrl);
                    element('table tbody a').click();
                    element('.btn-danger').click();
                }

                if (children.length > 1) {
                    deleteMovie();
                }

                done();
            });

        };<commit_msg>We do not need to access the movie overview page again<commit_after>
describe('Movies', function () {
    'use strict';
    var baseUrl = '/movies';
    var addMovieUrl = '/movies/new';

    beforeEach(function () {
        var deleteMovie = function () {
            browser().navigateTo(baseUrl);
            element('table tbody').query(function (tbody, done) {
                var children = tbody.children();

                if (children.length > 0) {
                    element('table tbody a').click();
                    element('.btn-danger').click();
                }

                if (children.length > 1) {
                    deleteMovie();
                }

                done();
            });

        };
{'fraction_non_alphanumeric': 0.13179347826086957, 'fraction_numerical': 0.002717391304347826, 'mean_word_length': 1.3719806763285025, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5698722', 'n_tokens_mistral': 397, 'n_tokens_neox': 351, 'n_words': 81}