<commit_before>/* global describe, it, browser, expect, element, by, beforeEach */
'use strict';

describe('settings view', function () {
    beforeEach(function () {
        this.settingsView = element(by.css('.view-settings'));
    }); 

    it('should hide if a location is set.', function () {
        browser.get('http://localhost:3000');
        browser.executeScript('window.localStorage.setItem("sunshine.settings.location", "Santo Domingo, DO");');
        
        expect(this.settingsView.getAttribute('class')).toMatch('ng-hide');
    });
});<commit_msg>Update URL to point to test server.<commit_after>/* global describe, it, browser, expect, element, by, beforeEach */
'use strict';

describe('settings view', function () {
    beforeEach(function () {
        this.settingsView = element(by.css('.view-settings'));
    }); 

    it('should hide if a location is set.', function () {
        browser.get('http://localhost:3001');
        browser.executeScript('window.localStorage.setItem("sunshine.settings.location", "Santo Domingo, DO");');
        
        expect(this.settingsView.getAttribute('class')).toMatch('ng-hide');
    });
});
{'fraction_non_alphanumeric': 0.17417677642980936, 'fraction_numerical': 0.006932409012131715, 'mean_word_length': 3.657258064516129, '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': '7529257', 'n_tokens_mistral': 325, 'n_tokens_neox': 317, 'n_words': 68}