<commit_before>var timeoutMilliSec = 5000;
module.exports = {
    'Google Maps shows transit directions without details.' : function (browser) {
        var url = 'https://www.google.co.jp/maps/dir/Tokyo+Station,+%E6%9D%B1%E4%BA%AC%E9%83%BD/Tokyo+Disneyland+Station,+Chiba+Prefecture/@35.6586719,139.7863366,13z/data=!3m1!4b1!4m14!4m13!1m5!1m1!1s0x60188bfbd89f700b:0x443025838b0ce6c6!2m2!1d139.766084!2d35.681382!1m5!1m1!1s0x60187d1446bdecef:0xd6029727c59802c2!2m2!1d139.878647!2d35.635886!3e3?hl=en';
        browser
            .url(url)
            //.waitForElementPresent('.cards-directions-transit-trip-time span', timeoutMilliSec) // Start and End time
            .waitForElementPresent('.widget-pane-section-directions-trip-title span', timeoutMilliSec) // Start and End time
            .assert.elementPresent('.date-input') // Date
            .assert.elementPresent('#directions-searchbox-0 input') // From
            .assert.elementPresent('#directions-searchbox-1 input') // To
            //.assert.elementPresent('.cards-directions-duration') // Duration
            .assert.elementPresent('.widget-pane-section-directions-trip-duration') // Duration
            .end();
    },
    'Google Maps shows transit directions with details.' : function (browser) {
        var url = 'https://www.google.co.jp/maps/dir/Tokyo+Station,+%E6%9D%B1%E4%BA%AC%E9%83%BD/Tokyo+Disneyland+Station,+Chiba+Prefecture/@35.6586719,139.7863366,13z/am=t/data=!3m1!4b1!4m14!4m13!1m5!1m1!1s0x60188bfbd89f700b:0x443025838b0ce6c6!2m2!1d139.766084!2d35.681382!1m5!1m1!1s0x60187d1446bdecef:0xd6029727c59802c2!2m2!1d139.878647!2d35.635886!3e3?hl=en';
            browser
            .url(url)
            //.waitForElementPresent('.cards-directions-transit-trip-time span', timeoutMilliSec) // Start and End time
            .waitForElementPresent('.widget-pane-section-directions-trip-title span', timeoutMilliSec) // Start and End time
            .assert.elementPresent('.date-input') // Date
            .assert.elementPresent('.waypoint-address:not([style*="display"]) .first-line span') // From and To
            //.assert.elementPresent('.widget-pane-section-directions-trip-duration') // Duration
            .assert.elementPresent('.cards-directions-duration') // Duration
            .end();
    }
};<commit_msg>Update maps.js<commit_after>var timeoutMilliSec = 5000;
module.exports = {
    'Google Maps shows transit directions without details.' : function (browser) {
        var url = 'https://www.google.co.jp/maps/dir/Tokyo+Station,+%E6%9D%B1%E4%BA%AC%E9%83%BD/Tokyo+Disneyland+Station,+Chiba+Prefecture/@35.6586719,139.7863366,13z/data=!3m1!4b1!4m14!4m13!1m5!1m1!1s0x60188bfbd89f700b:0x443025838b0ce6c6!2m2!1d139.766084!2d35.681382!1m5!1m1!1s0x60187d1446bdecef:0xd6029727c59802c2!2m2!1d139.878647!2d35.635886!3e3?hl=en';
        browser
            .url(url)
            //.waitForElementPresent('.cards-directions-transit-trip-time span', timeoutMilliSec) // Start and End time
            .waitForElementPresent('.widget-pane-section-directions-trip-title span', timeoutMilliSec) // Start and End time
            .assert.elementPresent('.date-input') // Date
            .assert.elementPresent('#directions-searchbox-0 input') // From
            .assert.elementPresent('#directions-searchbox-1 input') // To
            //.assert.elementPresent('.cards-directions-duration') // Duration
            .assert.elementPresent('.widget-pane-section-directions-trip-duration') // Duration
            .end();
    },
    'Google Maps shows transit directions with details.' : function (browser) {
        var url = 'https://www.google.co.jp/maps/dir/Tokyo+Station,+%E6%9D%B1%E4%BA%AC%E9%83%BD/Tokyo+Disneyland+Station,+Chiba+Prefecture/@35.6586719,139.7863366,13z/am=t/data=!3m1!4b1!4m14!4m13!1m5!1m1!1s0x60188bfbd89f700b:0x443025838b0ce6c6!2m2!1d139.766084!2d35.681382!1m5!1m1!1s0x60187d1446bdecef:0xd6029727c59802c2!2m2!1d139.878647!2d35.635886!3e3?hl=en';
            browser
            .url(url)
            //.waitForElementPresent('.cards-directions-transit-trip-time span', timeoutMilliSec) // Start and End time
            .waitForElementPresent('.widget-pane-section-directions-trip-title span', timeoutMilliSec) // Start and End time
            .assert.elementPresent('.date-input') // Date
            .assert.elementPresent('.waypoint-address:not([style*="display"]) .first-line span') // From and To
            //.assert.elementPresent('.cards-directions-duration') // Duration
            .assert.elementPresent('.widget-pane-section-directions-trip-duration') // Duration
            .end();
    }
};
{'fraction_non_alphanumeric': 0.1500324745615934, 'fraction_numerical': 0.12383632820956918, 'mean_word_length': 3.463768115942029, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '3339311', 'n_tokens_mistral': 1948, 'n_tokens_neox': 1667, 'n_words': 173}