<commit_before>﻿var methods = {
    assertTitleIsVisible: function (title) {
        this.waitForElementVisible('@topicTitle', this.api.globals.timeOut)
            .expect.element('@topicTitle').text.to.equal(title);
    },

    goToTopicListBlockPage: function (browser, title, link) {
        this.waitForElementVisible('@topicBody', this.api.globals.timeOut);
        browser.useXpath().assert.visible("//h2[text()='" + title + "']")
            .click("//a[contains(@href,'" + link + "')]");
    },

    assertSecondaryItemIsVisible: function(browser,title) {
        this.waitForElementVisible('@secondaryTopicList', this.api.globals.timeOut)
            .expect.element('#test-topic-page-secondary-topics-list .subitem-secondary').text.to.equal(title);
    }<commit_msg>Neil - changed ui test to target link instead of div<commit_after>﻿var methods = {
    assertTitleIsVisible: function (title) {
        this.waitForElementVisible('@topicTitle', this.api.globals.timeOut)
            .expect.element('@topicTitle').text.to.equal(title);
    },

    goToTopicListBlockPage: function (browser, title, link) {
        this.waitForElementVisible('@topicBody', this.api.globals.timeOut);
        browser.useXpath().assert.visible("//h2[text()='" + title + "']")
            .click("//a[contains(@href,'" + link + "')]");
    },

    assertSecondaryItemIsVisible: function(browser,title) {
        this.waitForElementVisible('@secondaryTopicList', this.api.globals.timeOut)
            .expect.element('#test-topic-page-secondary-topics-list .subitem-secondary a').text.to.equal(title);
    }
{'fraction_non_alphanumeric': 0.16614420062695925, 'fraction_numerical': 0.0012539184952978057, 'mean_word_length': 3.547008547008547, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '829603', 'n_tokens_mistral': 489, 'n_tokens_neox': 478, 'n_words': 60}