You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app-comments.feature 1.4KB

12345678910111213141516171819202122232425262728293031
  1. Feature: app-comments
  2. Scenario: Writing a comment
  3. Given I am logged in
  4. And I open the details view for "welcome.txt"
  5. And I open the "Comments" tab in the details view
  6. When I create a new comment with "Hello world" as message
  7. Then I see a comment with "Hello world" as message
  8. Scenario: open the comments for a different file
  9. Given I am logged in
  10. And I create a new folder named "Folder"
  11. And I open the details view for "welcome.txt"
  12. And I open the "Comments" tab in the details view
  13. And I create a new comment with "Hello world" as message
  14. And I see a comment with "Hello world" as message
  15. When I open the details view for "Folder"
  16. # The "Comments" tab should already be opened
  17. Then I see that there are no comments
  18. Scenario: write a comment in a file right after writing a comment in another file
  19. Given I am logged in
  20. And I create a new folder named "Folder"
  21. And I open the details view for "Folder"
  22. And I open the "Comments" tab in the details view
  23. And I create a new comment with "Comment in Folder" as message
  24. And I open the details view for "welcome.txt"
  25. # The "Comments" tab should already be opened
  26. When I create a new comment with "Comment in welcome.txt" as message
  27. Then I see a comment with "Comment in welcome.txt" as message
  28. And I see that there is no comment with "Comment in Folder" as message