Skip to content

Instantly share code, notes, and snippets.

@mmichaelis
Created November 7, 2011 18:29
Show Gist options
  • Save mmichaelis/1345743 to your computer and use it in GitHub Desktop.
Save mmichaelis/1345743 to your computer and use it in GitHub Desktop.
BDD: Given, When, Then - Emergency Break (Related to http://jira.codehaus.org/browse/JBEHAVE-615)
Given I logged in
When I open the explorer view
And I select a document
Then the delete button will be enabled.
Given I logged in as admin
When I open the explorer view
And I select a document
Then the delete button will be enabled
And the permissions button will be enabled.
@Then("the delete button will be enabled")
public void deleteButtonEnabled() {
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment