Last active
March 5, 2019 15:06
-
-
Save vzaidman/3cf9918955830afc83efb8544c933b70 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: A reader can share an article to social networks | |
As a reader | |
I want to share articles | |
So that I can notify my friends about an article I liked | |
Scenario: An article was opened | |
Given I'm inside an article | |
When I share the article | |
Then the article should change to a "shared" state | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function() { | |
this.Given(/^I'm inside an article$/, function(callback) { | |
// functional testing tool code | |
}) | |
this.When(/^I share the article$/, function(callback) { | |
// functional testing tool code | |
}) | |
this.Then(/^the article should change to a "shared" state$/, function(callback) { | |
// functional testing tool code | |
}) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment