{"size": 1172, "ext": "js", "max_stars_repo_path": "tests/sample.test.js", "max_stars_repo_name": "MickStick/Nightwatch-Tutorials", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "tests/sample.test.js", "max_issues_repo_name": "MickStick/Nightwatch-Tutorials", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "tests/sample.test.js", "max_forks_repo_name": "MickStick/Nightwatch-Tutorials", "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": 20.2068965517, "max_line_length": 57, "alphanum_fraction": 0.5341296928}
export default {

    before(browser) {
        browser.maximizeWindow();
      },
    'Login as Mikhail Shaw' (browser){
        const login = browser.page.login();

        login
        .navigate()
        .acceptAndEnterApp()
        .loginAsShaw();
    },
    'Submit Test Post' (browser){
        const newPost = browser.page.newPost();

        newPost
        //.navigate()
        .makeAQuickPost()
    },
    'Click the "Home Page Link"' (browser){
        const navbar = browser.page.navbar();

        navbar
        //.navigate()
        .clickHomePageLink()
        .assert.title('PHP Tutorial Application | Home');
    },
    'Search for "Wembley Williams"' (browser){
        const navbar = browser.page.navbar();

        navbar
        .SearchForUser("Wembley Williams");

        browser.pause(5000);
    },

    'Go to Profile' (browser){
        const navbar = browser.page.navbar();

        navbar
        .clickProfileLink();

    },

    'Click Logout' (browser){
        const navbar = browser.page.navbar();

        navbar
        .LogOutCurrentUser();

        browser.pause(5000);
    },

    after(browser) {
        browser.end();
      }
}