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