2 Feature: Environment check
5 Given I am not logged in
6 And I am on the homepage
7 Then I should see "User login"
9 Scenario: assertAnonymousUser
10 Given I am an anonymous user
13 Scenario: assertAuthenticatedByRole
14 Given I am logged in as a user with the "authenticated" role
17 Scenario: assertAuthenticatedByRoleWithGivenFields
18 Given I am logged in as a user with the "authenticated" role and I have the following fields:
23 Given I am viewing a story with the title "test"
24 Then I should see "test"
28 Given article content:
29 | title | author | status | created |
30 | My title | Joe Editor | 1 | 2014-10-17 8:00am |
31 When I am viewing a content with the title "My title"
32 Then I should see "My title"
36 Given I am viewing a tags term with the name "example tag"
37 Then I should see "example tag"
41 Given I am logged in as a user with the "administer users" permission
44 | user foo | foo@bar.com |
45 | user bar | baz@bar.com |
46 When I visit "admin/user/user"
47 Then I should see "user foo"
48 And I should see "user bar"
51 Scenario: create node with terms.
56 | title | status | taxonomy |
57 | My title | 1 | test-tag |
58 When I am on the homepage
59 Then I should see "test-tag"