/* eslint-disable class-methods-use-this */
class BasePage {

  get mainHeading() { return browser.getText('h1'); }
  waitForMainHeadingWithDataId(id) {
    browser.waitForVisible(`[data-title="${id}"]`, 7000);
    return browser.getText('h1');
  }
  get form() { return browser.element('.form'); }
  get headerUsername() { return browser.getText('[data-header-username]'); }

  submitPage() { this.form.submitForm(); }
  clickContinue() { browser.click('[data-continue-button]'); }
}

export default BasePage;

/* eslint-disable class-methods-use-this */
class BasePage {

  get mainHeading() { return browser.getText('h1'); }
  waitForMainHeadingWithDataId(id) {
    browser.waitForVisible(`[data-title="${id}"]`, 7000);
    return browser.getText('h1');
  }
  get form() { return browser.element('.form'); }
  get headerUsername() { return browser.getText('[data-header-username]'); }

  submitPage() { this.form.submitForm(); }
  clickContinue() {
    browser.pause(1000);
    browser.click('[data-continue-button]');
  }
}

export default BasePage;

Add 1 second wait before clicking continue in browser E2E
CSRA-000: Add 1 second wait before clicking continue in browser E2E
