1
0

apps.feature 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. @apache
  2. Feature: apps
  3. Scenario: enable an installed app
  4. Given I act as Jane
  5. And I am logged in as the admin
  6. And I open the Apps management
  7. When I enable the "QA testing" app
  8. Then I see that the "QA testing" app has been enabled
  9. Scenario: disable a installed app
  10. Given I act as Jane
  11. And I am logged in as the admin
  12. And I open the Apps management
  13. When I disable the "Update notification" app
  14. Then I see that the "Update notification" app has been disabled
  15. Scenario: Browse enabled apps
  16. Given I act as Jane
  17. And I am logged in as the admin
  18. And I open the Apps management
  19. When I open the "Active apps" section
  20. Then I see that the current section is "Active apps"
  21. And I see that there are only enabled apps
  22. Scenario: Browse disabled apps
  23. Given I act as Jane
  24. And I am logged in as the admin
  25. And I open the Apps management
  26. When I open the "Disabled apps" section
  27. Then I see that the current section is "Disabled apps"
  28. And I see that there are only disabled apps
  29. Scenario: Browse app bundles
  30. Given I act as Jane
  31. And I am logged in as the admin
  32. And I open the Apps management
  33. When I open the "App bundles" section
  34. Then I see that the current section is "App bundles"
  35. And I see the app bundles
  36. And I see that the "Enterprise bundle" is disabled
  37. # Enabling an app bundle fails when not all apps have a matching version available
  38. # Scenario: Enable an app bundle
  39. # Given I act as Jane
  40. # And I am logged in as the admin
  41. # And I open the Apps management
  42. # And I open the "App bundles" section
  43. # When I enable all apps from the "Enterprise bundle"
  44. # Then I see that the "Auditing / Logging" app has been enabled
  45. # And I see that the "LDAP user and group backend" app has been enabled
  46. Scenario: View app details
  47. Given I act as Jane
  48. And I am logged in as the admin
  49. And I open the Apps management
  50. When I click on the "QA testing" app
  51. Then I see that the app details are shown
  52. # TODO: Improve testing with app store as external API
  53. # The following scenarios require the files_antivirus and calendar app
  54. # being present in the app store with support for the current server version
  55. # Ideally we would have either a dummy app store endpoint with some test apps
  56. # or even an app store instance running somewhere to properly test this.
  57. # This is also a requirement to properly test updates of apps
  58. Scenario: Show section from app store
  59. Given I act as Jane
  60. And I am logged in as the admin
  61. And I open the Apps management
  62. And I see that the current section is "Your apps"
  63. #When I open the "Files" section
  64. #Then I see that there some apps listed from the app store
  65. #And I see that the current section is "Files"
  66. # Scenario: View app details for app store apps
  67. # Given I act as Jane
  68. # And I am logged in as the admin
  69. # And I open the Apps management
  70. # And I open the "Tools" section
  71. # When I click on the "Antivirus for files" app
  72. # Then I see that the app details are shown
  73. # Scenario: Install an app from the app store
  74. # Given I act as Jane
  75. # And I am logged in as the admin
  76. # And I open the Apps management
  77. # And I open the "Tools" section
  78. # And I click on the "Antivirus for files" app
  79. # And I see that the app details are shown
  80. # Then I download and enable the "Antivirus for files" app
  81. # And I see that the "Antivirus for files" app has been enabled