81fdbc6554
Instead of checking that the list contains one comment it is now checked that a comment with certain message is visible. This makes the step (and the locator) more reusable in future tests and also simplifies the code. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
8 lines
299 B
Gherkin
8 lines
299 B
Gherkin
Feature: app-comments
|
|
|
|
Scenario: Writing a comment
|
|
Given I am logged in
|
|
And I open the details view for "welcome.txt"
|
|
And I open the "Comments" tab in the details view
|
|
When I create a new comment with "Hello world" as message
|
|
Then I see a comment with "Hello world" as message
|