public class LifecycleSteps extends Object
Copyright (c) 2018 Daniel Keiss, Deutsche Telekom AG This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.
| Modifier and Type | Field and Description |
|---|---|
protected @NonNull BrowserDriverUpdater |
browserDriverUpdater |
static String |
CURRENT_PAGE |
protected @NonNull CurrentStory |
currentStory |
protected @NonNull CustomizingStories |
customizingStories |
protected @NonNull ScenarioInteraction |
scenarioInteraction |
protected @NonNull StoryInteraction |
storyInteraction |
protected @NonNull WebDriverWrapper |
webDriverWrapper |
| Constructor and Description |
|---|
LifecycleSteps(@NonNull ScenarioInteraction scenarioInteraction,
@NonNull StoryInteraction storyInteraction,
@NonNull CurrentStory currentStory,
@NonNull CustomizingStories customizingStories,
@NonNull WebDriverWrapper webDriverWrapper,
@NonNull BrowserDriverUpdater browserDriverUpdater) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterStories() |
void |
afterStory() |
protected void |
setupScenarioInteraction() |
void |
setupScenarioInteractionForExample() |
void |
setupScenarioInteractionForNormal() |
void |
startStoryInteraction() |
void |
updateDriver() |
public static final String CURRENT_PAGE
@NonNull protected final @NonNull ScenarioInteraction scenarioInteraction
@NonNull protected final @NonNull StoryInteraction storyInteraction
@NonNull protected final @NonNull CurrentStory currentStory
@NonNull protected final @NonNull CustomizingStories customizingStories
@NonNull protected final @NonNull WebDriverWrapper webDriverWrapper
@NonNull protected final @NonNull BrowserDriverUpdater browserDriverUpdater
@Autowired
public LifecycleSteps(@NonNull
@NonNull ScenarioInteraction scenarioInteraction,
@NonNull
@NonNull StoryInteraction storyInteraction,
@NonNull
@NonNull CurrentStory currentStory,
@NonNull
@NonNull CustomizingStories customizingStories,
@NonNull
@NonNull WebDriverWrapper webDriverWrapper,
@NonNull
@NonNull BrowserDriverUpdater browserDriverUpdater)
@BeforeStories public void updateDriver()
@BeforeStory public void startStoryInteraction()
@BeforeScenario(uponType=NORMAL) public void setupScenarioInteractionForNormal()
@BeforeScenario(uponType=EXAMPLE) public void setupScenarioInteractionForExample()
protected void setupScenarioInteraction()
@AfterStory public void afterStory()
@AfterStories public void afterStories()
Copyright © 2017–2019. All rights reserved.