Joined January 2016
·

Iain Houston

UK
·
·

Thanks.

I now tag Scenarios where this was causing a problem @bigWindow

  /**
   * @BeforeScenario @bigWindow
   */
  public function beforeBigWindow(BeforeScenarioScope $scope) {
    $this->getSession()->resizeWindow(1440, 900, 'current');
  }
}

alternatively, annotating the function @BeforeScenario <at>javascript instead seems to work too, but I was concerned that I'd need to call a parent function - but so far so good (<at> to avoid generated links on this forum!)

Achievements
1 Karma
0 Total ProTip Views