Files
core/tests/behat/display_record.feature
T
2019-10-23 08:59:58 +02:00

19 lines
651 B
Gherkin

Feature: Display single record
@javascript
Scenario: As a user I want to display a single record
When I am on "/page/1"
Then I wait for "title"
And I should not see an ".edit-link" element
@javascript
Scenario: As an admin I want to see edit link on single record page
Given I am logged in as "admin"
And I am on "/page/1"
Then I wait for "title"
And I should see "Edit" in the ".edit-link" element
@javascript
Scenario: As a user I want to see the difference between records with a "Title" and a "Heading"
Given I am on "/page/2"
Then I wait for ".heading"
And I should not see a ".title" element