Feature: Test account app functionality
Given we have 1 user named: firstname.lastname@example.org
And user is active
Scenario: test user login
Given I access the site with default user at url "account/login/"
Then I should see that tab number "1" is active
And I wait "1" seconds
Then I should see "email@example.com" in the "username" container by id
This is the file with our "plain text", Files ending with 'feature' extension means it written in gherkins
This is our python (Rules!) file which we will write our code translation for the gherkin text
Scenario - This is the test itself with its title, Each scenario will usually have the key words given, and, when and then.
Feature - This is the place to describe what you are testing and possibly what assumptions you have before testing (this can also be done in the Background )
Background - any assumptions you have before testing, IMOP this can be left out of the framework as most projects do this in the feature