import { browser } from 'protractor';
import * as support from '../specs/support';
import { LandingPage } from '../specs/page_objects';

describe('Landing Page', () => {

  beforeEach( async () => {
    await support.desktopTestSetup();

    let landingPage = new LandingPage();
    await landingPage.open();
  });

  fit('writes the screenshot of landing page', async () => {
    await expect(await browser.getTitle()).toEqual('OpenShift.io');
    await support.writeScreenshot('page.png');
  });

});

Add functional test for writeScreenshot
Add functional test for writeScreenshot
