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.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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: create tags using the Administration settings
  20. Given I am logged in as the admin
  21. And I visit the admin settings page
  22. And I open the "Basic settings" section of the "Administration" group
  23. # The "create" button does nothing before JavaScript was initialized, and
  24. # the only way to detect that is waiting for the button to select tags to be
  25. # shown.
  26. And I see that the button to select tags is shown
  27. When I create the tag "tag1" in the settings
  28. Then I see that the dropdown for tags in the settings eventually contains the tag "tag1"
  29. # Scenario: add tags using the dropdown in the details view
  30. # Given I am logged in as the admin
  31. # And I visit the admin settings page
  32. # And I open the "Basic settings" section of the "Administration" group
  33. # # The "create" button does nothing before JavaScript was initialized, and
  34. # # the only way to detect that is waiting for the button to select tags to be
  35. # # shown.
  36. # And I see that the button to select tags is shown
  37. # And I create the tag "tag1" in the settings
  38. # And I create the tag "tag2" in the settings
  39. # And I create the tag "tag3" in the settings
  40. # And I create the tag "tag4" in the settings
  41. # And I see that the dropdown for tags in the settings eventually contains the tag "tag1"
  42. # And I see that the dropdown for tags in the settings eventually contains the tag "tag2"
  43. # And I see that the dropdown for tags in the settings eventually contains the tag "tag3"
  44. # And I see that the dropdown for tags in the settings eventually contains the tag "tag4"
  45. # And I log out
  46. # And I am logged in
  47. # And I open the details view for "welcome.txt"
  48. # And I open the input field for tags in the details view
  49. # # When the input field is opened the dropdown is also opened automatically.
  50. # When I check the tag "tag2" in the dropdown for tags in the details view
  51. # And I check the tag "tag4" in the dropdown for tags in the details view
  52. # Then I see that the tag "tag2" in the dropdown for tags in the details view is checked
  53. # And I see that the tag "tag4" in the dropdown for tags in the details view is checked
  54. # And I see that the input field for tags in the details view contains the tag "tag2"
  55. # And I see that the input field for tags in the details view contains the tag "tag4"
  56. #
  57. # Scenario: remove tags using the dropdown in the details view
  58. # Given I am logged in as the admin
  59. # And I visit the admin settings page
  60. # And I open the "Basic settings" section of the "Administration" group
  61. # # The "create" button does nothing before JavaScript was initialized, and
  62. # # the only way to detect that is waiting for the button to select tags to be
  63. # # shown.
  64. # And I see that the button to select tags is shown
  65. # And I create the tag "tag1" in the settings
  66. # And I create the tag "tag2" in the settings
  67. # And I create the tag "tag3" in the settings
  68. # And I create the tag "tag4" in the settings
  69. # And I see that the dropdown for tags in the settings eventually contains the tag "tag1"
  70. # And I see that the dropdown for tags in the settings eventually contains the tag "tag2"
  71. # And I see that the dropdown for tags in the settings eventually contains the tag "tag3"
  72. # And I see that the dropdown for tags in the settings eventually contains the tag "tag4"
  73. # And I log out
  74. # And I am logged in
  75. # And I open the details view for "welcome.txt"
  76. # And I open the input field for tags in the details view
  77. # # When the input field is opened the dropdown is also opened automatically.
  78. # And I check the tag "tag2" in the dropdown for tags in the details view
  79. # And I check the tag "tag4" in the dropdown for tags in the details view
  80. # And I check the tag "tag3" in the dropdown for tags in the details view
  81. # When I uncheck the tag "tag2" in the dropdown for tags in the details view
  82. # And I uncheck the tag "tag4" in the dropdown for tags in the details view
  83. # Then I see that the tag "tag2" in the dropdown for tags in the details view is not checked
  84. # And I see that the tag "tag4" in the dropdown for tags in the details view is not checked
  85. # And I see that the tag "tag3" in the dropdown for tags in the details view is checked
  86. # And I see that the input field for tags in the details view does not contain the tag "tag2"
  87. # And I see that the input field for tags in the details view does not contain the tag "tag4"
  88. # And I see that the input field for tags in the details view contains the tag "tag3"