<commit_before>/**
 * @license
 * Copyright Akveo. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */

import { browser, element, by } from 'protractor';
import { hasClass } from './e2e-helper';

describe('nga-tabset', () => {
  beforeEach(() => {
    browser.get('#/tabset');
  });

  it('should display default tabset', () => {
    expect(element(by.css('nga-tabset:nth-child(1) > ul.nga-tabset > li:nth-child(1)')).getText()).toEqual('Tab #1');
    expect(element(by.css('nga-tabset:nth-child(1) > nga-tab[tabTitle="Tab #1"] > div > span'))
      .getText()).toEqual('Content #1');

    expect(element(by.css('nga-tabset:nth-child(1) > ul.nga-tabset > li:nth-child(2)')).getText()).toEqual('Tab #2');
    expect(element(by.css('nga-tabset:nth-child(1) > ul.nga-tabset > li:nth-child(3)')).getText()).toEqual('Tab #3');
  });<commit_msg>test(theme): update the e2e tests<commit_after>/**
 * @license
 * Copyright Akveo. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */

import { browser, element, by } from 'protractor';
import { hasClass } from './e2e-helper';

fdescribe('nga-tabset', () => {
  beforeEach(() => {
    browser.get('#/tabset');
  });

  it('should display default tabset', () => {
    expect(element(by.css('nga-tabset:nth-child(1) > ul.nga-tabset > li:nth-child(1)')).getText()).toEqual('Tab #1');
    expect(element(by.css('nga-tabset:nth-child(1) > nga-tab[tabTitle="Tab #1"] > span'))
      .getText()).toEqual('Content #1');

    expect(element(by.css('nga-tabset:nth-child(1) > ul.nga-tabset > li:nth-child(2)')).getText()).toEqual('Tab #2');
    expect(element(by.css('nga-tabset:nth-child(1) > ul.nga-tabset > li:nth-child(3)')).getText()).toEqual('Tab #3');
  });
{'fraction_non_alphanumeric': 0.2204037097654119, 'fraction_numerical': 0.014729950900163666, 'mean_word_length': 4.410029498525073, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 26, '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': '317302', 'n_tokens_mistral': 669, 'n_tokens_neox': 674, 'n_words': 117}