<commit_before>import { GammaSkyPage } from './app.po';

describe('gamma-sky App', () => {
  let page: GammaSkyPage;

  beforeEach(() => {
    page = new GammaSkyPage();
  });

  it('should initialize the webpage', () => {
    page.navigateTo('/');

    expect(page.getTextByTags('app-root h1')).toEqual('');
  });

  it('should display source name when going to source detail view', () => {
    page.navigateTo('/#/cat/tev/0');
    expect(page.getTextById('e2e-source-tev-name')).toEqual('CTA 1');

    page.navigateTo('/#/cat/3fhl/0');
    expect(page.getTextById('e2e-source-3fhl-name')).toEqual('3FHL J0001.2-0748');

    page.navigateTo('/#/cat/3fgl/0');
    expect(page.getTextById('e2e-source-3fgl-name')).toEqual('3FGL J0000.1+6545');
  });

  it('should click "About" button in Map View and read text', () => {
    page.navigateTo('/#/map');

    page.clickButton('About');
    expect(page.getTextById('aboutInfo')).toContain('Gamma-sky.net');
  });

});<commit_msg>separate source detail view tests<commit_after>import { GammaSkyPage } from './app.po';

describe('gamma-sky App', () => {
  let page: GammaSkyPage;

  beforeEach(() => {
    page = new GammaSkyPage();
  });

  it('should initialize the webpage', () => {
    page.navigateTo('/');

    expect(page.getTextByTags('app-root h1')).toEqual('');
  });

  it('should display tev source name in source detail view', () => {
    page.navigateTo('/#/cat/tev/0');

    expect(page.getTextById('e2e-source-tev-name')).toEqual('CTA 1');
  });

  it('should display 3fhl source name in source detail view', () => {
    page.navigateTo('/#/cat/3fhl/0');

    expect(page.getTextById('e2e-source-3fhl-name')).toEqual('3FHL J0001.2-0748');
  });

  it('should display 3fgl source name in source detail view', () => {
    page.navigateTo('/#/cat/3fgl/0');

    expect(page.getTextById('e2e-source-3fgl-name')).toEqual('3FGL J0000.1+6545');
  });

  it('should click "About" button in Map View and read text', () => {
    page.navigateTo('/#/map');

    page.clickButton('About');
    expect(page.getTextById('aboutInfo')).toContain('Gamma-sky.net');
  });

});
{'fraction_non_alphanumeric': 0.21246458923512748, 'fraction_numerical': 0.031161473087818695, 'mean_word_length': 3.826879271070615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '7177979', 'n_tokens_mistral': 789, 'n_tokens_neox': 747, 'n_words': 125}