mirror of
https://github.com/jbcr/core.git
synced 2026-04-29 03:33:24 +02:00
19 lines
651 B
Gherkin
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 |