Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-extension / features / d6.feature
1 @api @d6
2 Feature: Environment check
3
4   Scenario: Frontpage
5     Given I am not logged in
6       And I am on the homepage
7     Then I should see "User login"
8
9   Scenario: assertAnonymousUser
10     Given I am an anonymous user
11
12   @api
13   Scenario: assertAuthenticatedByRole
14     Given I am logged in as a user with the "authenticated" role
15
16   @api
17   Scenario: assertAuthenticatedByRoleWithGivenFields
18     Given I am logged in as a user with the "authenticated" role and I have the following fields:
19     | name | test |
20
21   @api
22   Scenario: createNode
23     Given I am viewing a story with the title "test"
24     Then I should see "test"
25
26   @api
27   Scenario: createNodes
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"
33
34   @api
35   Scenario: createTerm
36     Given I am viewing a tags term with the name "example tag"
37     Then I should see "example tag"
38
39   @api
40   Scenario: createUsers
41     Given I am logged in as a user with the "administer users" permission
42     And users:
43     | name     | mail         |
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"
49
50   @api
51   Scenario: create node with terms.
52     Given tags terms:
53       | name |
54       | test-tag |
55     And article content:
56       | title    | status | taxonomy |
57       | My title | 1      | test-tag |
58     When I am on the homepage
59     Then I should see "test-tag"