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-files-tags.feature 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. @apache
  2. Feature: app-files-tags
  3. # Scenario: show the input field for tags in the details view
  4. # Given I am logged in
  5. # And I open the details view for "welcome.txt"
  6. # And I see that the details view is open
  7. # When I open the input field for tags in the details view
  8. # Then I see that the input field for tags in the details view is shown
  9. # Scenario: show the input field for tags in the details view after closing and opening the details view again
  10. # Given I am logged in
  11. # And I open the details view for "welcome.txt"
  12. # And I see that the details view is open
  13. # And I close the details view
  14. # And I see that the details view is closed
  15. # And I open the details view for "welcome.txt"
  16. # And I see that the details view is open
  17. # When I open the input field for tags in the details view
  18. # Then I see that the input field for tags in the details view is shown
  19. Scenario: show the input field for tags in the details view after the sharing tab has loaded
  20. Given I am logged in
  21. And I open the details view for "welcome.txt"
  22. And I see that the details view is open
  23. And I open the "Sharing" tab in the details view
  24. And I see that the "Sharing" tab in the details view is eventually loaded
  25. When I open the input field for tags in the details view
  26. Then I see that the input field for tags in the details view is shown
  27. Scenario: create tags using the Administration settings
  28. Given I am logged in as the admin
  29. And I visit the settings page
  30. And I open the "Workflows" section of the "Administration" group
  31. # The "create" button does nothing before JavaScript was initialized, and
  32. # the only way to detect that is waiting for the button to select tags to be
  33. # shown.
  34. And I see that the button to select tags is shown
  35. When I create the tag "tag1" in the settings
  36. Then I see that the dropdown for tags in the settings eventually contains the tag "tag1"
  37. # Scenario: add tags using the dropdown in the details view
  38. # Given I am logged in as the admin
  39. # And I visit the settings page
  40. # And I open the "Workflows" section of the "Administration" group
  41. # # The "create" button does nothing before JavaScript was initialized, and
  42. # # the only way to detect that is waiting for the button to select tags to be
  43. # # shown.
  44. # And I see that the button to select tags is shown
  45. # And I create the tag "tag1" in the settings
  46. # And I create the tag "tag2" in the settings
  47. # And I create the tag "tag3" in the settings
  48. # And I create the tag "tag4" in the settings
  49. # And I see that the dropdown for tags in the settings eventually contains the tag "tag1"
  50. # And I see that the dropdown for tags in the settings eventually contains the tag "tag2"
  51. # And I see that the dropdown for tags in the settings eventually contains the tag "tag3"
  52. # And I see that the dropdown for tags in the settings eventually contains the tag "tag4"
  53. # And I log out
  54. # And I am logged in
  55. # And I open the details view for "welcome.txt"
  56. # And I open the input field for tags in the details view
  57. # # When the input field is opened the dropdown is also opened automatically.
  58. # When I check the tag "tag2" in the dropdown for tags in the details view
  59. # And I check the tag "tag4" in the dropdown for tags in the details view
  60. # Then I see that the tag "tag2" in the dropdown for tags in the details view is checked
  61. # And I see that the tag "tag4" in the dropdown for tags in the details view is checked
  62. # And I see that the input field for tags in the details view contains the tag "tag2"
  63. # And I see that the input field for tags in the details view contains the tag "tag4"
  64. #
  65. # Scenario: remove tags using the dropdown in the details view
  66. # Given I am logged in as the admin
  67. # And I visit the settings page
  68. # And I open the "Workflows" section of the "Administration" group
  69. # # The "create" button does nothing before JavaScript was initialized, and
  70. # # the only way to detect that is waiting for the button to select tags to be
  71. # # shown.
  72. # And I see that the button to select tags is shown
  73. # And I create the tag "tag1" in the settings
  74. # And I create the tag "tag2" in the settings
  75. # And I create the tag "tag3" in the settings
  76. # And I create the tag "tag4" in the settings
  77. # And I see that the dropdown for tags in the settings eventually contains the tag "tag1"
  78. # And I see that the dropdown for tags in the settings eventually contains the tag "tag2"
  79. # And I see that the dropdown for tags in the settings eventually contains the tag "tag3"
  80. # And I see that the dropdown for tags in the settings eventually contains the tag "tag4"
  81. # And I log out
  82. # And I am logged in
  83. # And I open the details view for "welcome.txt"
  84. # And I open the input field for tags in the details view
  85. # # When the input field is opened the dropdown is also opened automatically.
  86. # And I check the tag "tag2" in the dropdown for tags in the details view
  87. # And I check the tag "tag4" in the dropdown for tags in the details view
  88. # And I check the tag "tag3" in the dropdown for tags in the details view
  89. # When I uncheck the tag "tag2" in the dropdown for tags in the details view
  90. # And I uncheck the tag "tag4" in the dropdown for tags in the details view
  91. # Then I see that the tag "tag2" in the dropdown for tags in the details view is not checked
  92. # And I see that the tag "tag4" in the dropdown for tags in the details view is not checked
  93. # And I see that the tag "tag3" in the dropdown for tags in the details view is checked
  94. # And I see that the input field for tags in the details view does not contain the tag "tag2"
  95. # And I see that the input field for tags in the details view does not contain the tag "tag4"
  96. # And I see that the input field for tags in the details view contains the tag "tag3"