<commit_before>/* jshint ignore:start */
describe("collapsing-directive tests", function () {

  beforeEach(function () {
    browser.get('/#/election/1/vote/ff66424d7d77607bbfe78209e407df6fff31abe214a1fe3b3a7dd82600ec0000/8dee0c135afeae29e208550e7258dab7b64fb008bc606fc326d41946ab8e773f:1:1411130040');
  });

  it("data-toggle-selector and unfixed-top-height are present", function () {
    var el = element(by.xpath('//div[@data-toggle-selector]'));
    expect(el.getAttribute('data-toggle-selector')).toBe('avb-start-screen #avb-toggle');
    expect(element(by.xpath('//div[@av-collapsing=".unfixed-top-height"]')).isPresent()).toBe(true);    
  });
  
  it("avb-help-screen is displayed on click", function () {
    var el = element(by.css('.glyphicon'), ('.glyphicon-question-sign'));
    expect(element(by.xpath('//avb-help-screen')).isPresent()).toBe(false);
    el.click();
    expect(element(by.xpath('//avb-help-screen')).isPresent()).toBe(true);    
  });
<commit_msg>remove warning on collapsing-directive test<commit_after>/* jshint ignore:start */
describe("collapsing-directive tests", function () {

  beforeEach(function () {
    browser.get('/#/election/1/vote/ff66424d7d77607bbfe78209e407df6fff31abe214a1fe3b3a7dd82600ec0000/8dee0c135afeae29e208550e7258dab7b64fb008bc606fc326d41946ab8e773f:1:1411130040');
  });

  it("data-toggle-selector and unfixed-top-height are present", function () {
    var el = element(by.xpath('//div[@data-toggle-selector]'));
    expect(el.getAttribute('data-toggle-selector')).toBe('avb-start-screen #avb-toggle');
    expect(element(by.xpath('//div[@av-collapsing=".unfixed-top-height"]')).isPresent()).toBe(true);    
  });
  
  it("avb-help-screen is displayed on click", function () {
    var el = element(by.css('.glyphicon-question-sign'));
    expect(element(by.xpath('//avb-help-screen')).isPresent()).toBe(false);
    el.click();
    expect(element(by.xpath('//avb-help-screen')).isPresent()).toBe(true);    
  });

{'fraction_non_alphanumeric': 0.1889564336372847, 'fraction_numerical': 0.08915906788247213, 'mean_word_length': 5.058282208588957, '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': '7231578', 'n_tokens_mistral': 808, 'n_tokens_neox': 708, 'n_words': 69}