Advertisement
Guest User

Untitled

a guest
Dec 10th, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. # Wikidata Delete Test
  2. #
  3. # Author:: Tobias Gritschacher (tobias.gritschacher@wikimedia.de)
  4. # License:: GNU GPL v2+
  5. #
  6. # feature deletion of an item
  7.  
  8. @wikidata.beta.wmflabs.org
  9. Feature: Delete Item
  10.  
  11. Background:
  12. Given I am on an item page
  13. And I have the permission to delete
  14.  
  15.  
  16. @ui_only
  17. Scenario: Item UI has all required elements
  18. Then every item lement should be displayed
  19. And delete button should be there
  20.  
  21.  
  22. @ui_only
  23. Scenario: Click delete button
  24. When I click the delete button
  25. A warning message should appear
  26. And it should show: "You are about to delete a page along with all of its history. Please confirm that you intend to do this, that you understand the consequences, and that you are doing this in accordance with the policy. "
  27.  
  28. @ui_only
  29. Scenario: Delete the page
  30. When I click the delete button
  31. And click delete page
  32. Then the page should be now be deleted
  33.  
  34.  
  35. Examples:
  36. | delete |
  37. | delete page|
  38. | Page has been deleted|
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement