apps.feature 3.3 KB

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