{"size": 629, "ext": "js", "max_stars_repo_path": "e2e-tests/spec/contact-list/contact-list.spec.js", "max_stars_repo_name": "alexwebgr/my-contacts", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "e2e-tests/spec/contact-list/contact-list.spec.js", "max_issues_repo_name": "alexwebgr/my-contacts", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "e2e-tests/spec/contact-list/contact-list.spec.js", "max_forks_repo_name": "alexwebgr/my-contacts", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 33.1052631579, "max_line_length": 96, "alphanum_fraction": 0.6788553259}
'use strict';
var Menu = require('../../pageObjects/menu.po.js');

describe('contact list', function() {
  var menu = new Menu();

  it('should automatically redirect to /home when location hash/fragment is empty', function() {
    browser.get('index.html');
    expect(browser.getLocationAbsUrl()).toMatch("/contact-list");
  });

  it('should have four buttons', function () {
    expect(menu.addContactBtn().isPresent()).toBe(true);
    expect(menu.importContactsBtn().isPresent()).toBe(true);
    expect(menu.exportContactsBtn().isPresent()).toBe(true);
    expect(menu.deleteContactsBtn().isPresent()).toBe(true);
  });
});
