WebbuildersGroup\GitHubActionsCIRecipe\Behaviour\FeatureContext
Features context
Context automatically loaded by Behat.
Uses subcontexts to extend functionality.
Synopsis
class FeatureContext
extends SilverStripeContext
{
- // members
- private static integer $desktop_window_width = 1280;
- private static integer $desktop_window_height = 700;
- private static integer $tablet_window_width = 768;
- private static integer $tablet_window_height = 700;
- private static integer $mobile_window_width = 320;
- private static integer $mobile_window_height = 568;
- private static integer $window_width_offset = 16;
- private static integer $window_height_offset = 93;
- // methods
- public void __construct()
- public void initTestSessionStubCode()
- public void resetTestSessionStubCode()
- public void before()
- public void afterScenarioDesktop()
- public void afterScenarioTablet()
- public void afterScenarioMobile()
- public void waitResponsesAfterStep()
- public void getTestSessionState()
Hierarchy
Extends
- SilverStripe\BehatExtension\Context\SilverStripeContext
Uses
- SilverStripe\Core\Config\Configurable
Members
private
-
$desktop_window_height
Desktop Window Height -
$desktop_window_width
Desktop Window Width -
$mobile_window_height
Mobile Window Height -
$mobile_window_width
Mobile Window Width -
$tablet_window_height
Tablet Window Height -
$tablet_window_width
Tablet Window Width -
$window_height_offset
Window height offset, used to offset for a difference in selenium plus browser chrome (selenium is off by 14px, browser chrome is 2px in Google Chrome) -
$window_width_offset
Window width offset, used to offset for a difference in selenium plus browser chrome (selenium is off by 14px, browser chrome is 2px in Google Chrome)