Skip to content

Commit

Permalink
Added original method back in and marked as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Sumner committed Apr 30, 2016
1 parent d8ebc34 commit c93f019
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/java/org/concordion/ext/StoryboardExtension.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,19 @@ public StoryboardExtension setSkipFinalScreenshotForCurrentExample() {
return this;
}

/**
* Set to false to stop screenshot cards being added, this is useful in situations where might be looping and refreshing screen
* constantly and don't want to show too many screenshots of same screen in storyboard.
*
* @deprecated Has been replaced by {@link #setAcceptCards(boolean)} and will be removed in the next version.
* @param accept Accept screenshot setting
* @return A self reference
*/
@Deprecated
public StoryboardExtension setAcceptsScreenshots(final boolean accept) {
return setAcceptCards(accept);
}

/**
* Prevent cards and containers from being added to the the storyboard. This is useful in situations where might be repeating an action
* several times and only want to record the first pass through, or performing cleanup steps and don't want the actions recorded.
Expand Down

0 comments on commit c93f019

Please sign in to comment.