<commit_before>/* global browser */
/* global protractor */

'use strict';

var TaskList = require('../POMs/TasksList.js');

describe('Verify that [All] button displays both active/completed tasks', function() {

  beforeAll(function() {
    TaskList.actionsBeforeAll();
  });

  it('Create the first task', function() {
    TaskList.addTask('first test task');
  });

  it('Create the second task', function() {
    TaskList.addTask('second test task', true);

    //Waiting for the [All] button to become displayed
    browser.wait(protractor.ExpectedConditions.visibilityOf(TaskList.allBtn));
  });

  it('Clicking on the [Check] button for the first task (this makes it completed)', function() {
    TaskList.checkBtnGeneral.get(0).click();<commit_msg>Fix e2e tests for filtering<commit_after>/* global browser */
/* global protractor */

'use strict';

var TaskList = require('../POMs/TasksList.js');

describe('Verify that [All] button displays both active/completed tasks', function() {

  beforeAll(function() {
    TaskList.actionsBeforeAll();
  });

  it('Create the first task', function() {
    TaskList.addTask('first test task');
  });

  it('Create the second task', function() {
    TaskList.addTask('second test task', true);
  });

  it('Clicking on the [Check] button for the first task (this makes it completed)', function() {
    TaskList.checkBtnGeneral.get(0).click();
{'fraction_non_alphanumeric': 0.15025161754133717, 'fraction_numerical': 0.002156721782890007, 'mean_word_length': 4.2927756653992395, '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': '3516021', 'n_tokens_mistral': 415, 'n_tokens_neox': 402, 'n_words': 118}