@@ -80,6 +80,7 @@ Feature: Manage users using the Provisioning API
8080 @issue-core-33186
8181 Scenario Outline : admin tries to modify displayname of user for which an LDAP attribute is specified
8282 Given using OCS API version "<ocs-api-version>"
83+ And user "user1" has been created with default attributes and without skeleton files
8384 When the administrator sets the ldap attribute "displayname" of the entry "uid=user1,ou=TestUsers" to "ldap user"
8485 And the LDAP users are resynced
8586 When the administrator changes the display of user "user1" to "A New User" using the provisioning API
@@ -96,6 +97,7 @@ Feature: Manage users using the Provisioning API
9697 @issue-core-33186
9798 Scenario Outline : admin tries to modify password of user for which an LDAP attribute is specified
9899 Given using OCS API version "<ocs-api-version>"
100+ And user "user1" has been created with default attributes and skeleton files
99101 When the administrator sets the ldap attribute "userpassword" of the entry "uid=user1,ou=TestUsers" to "ldap_password"
100102 And the LDAP users are resynced
101103 And the administrator resets the password of user "user1" to "api_password" using the provisioning API
@@ -113,6 +115,7 @@ Feature: Manage users using the Provisioning API
113115 @issue-core-33186
114116 Scenario Outline : admin tries to modify mail of user for which an LDAP attribute is specified
115117 Given using OCS API version "<ocs-api-version>"
118+ And user "user1" has been created with default attributes and without skeleton files
116119 When the administrator sets the ldap attribute "mail" of the entry "uid=user1,ou=TestUsers" to "ldapuser@oc.com"
117120 And the LDAP users are resynced
118121 And the administrator changes the email of user "user1" to "apiuser@example.com" using the provisioning API
@@ -132,6 +135,7 @@ Feature: Manage users using the Provisioning API
132135 @issue-core-33186
133136 Scenario Outline : admin tries to modify quota of user for which an LDAP attribute is specified
134137 Given using OCS API version "<ocs-api-version>"
138+ And user "user1" has been created with default attributes and without skeleton files
135139 #to set Quota we can just misuse any LDAP text field
136140 And LDAP config "LDAPTestId" has key "ldapQuotaAttribute" set to "employeeNumber"
137141 When the administrator sets the ldap attribute "employeeNumber" of the entry "uid=user1,ou=TestUsers" to "10 MB"
@@ -152,6 +156,7 @@ Feature: Manage users using the Provisioning API
152156
153157 Scenario Outline : admin sets quota of user for which no LDAP quota attribute is specified
154158 Given using OCS API version "<ocs-api-version>"
159+ And user "user1" has been created with default attributes and without skeleton files
155160 #to set Quota we can just misuse any LDAP text field
156161 And LDAP config "LDAPTestId" has key "ldapQuotaAttribute" set to "employeeNumber"
157162 And the LDAP users have been resynced
@@ -169,6 +174,7 @@ Feature: Manage users using the Provisioning API
169174 @issue-core-33186
170175 Scenario Outline : admin sets quota of user for which no LDAP quota attribute is specified but a default quota is set in the LDAP settings
171176 Given using OCS API version "<ocs-api-version>"
177+ And user "user1" has been created with default attributes and without skeleton files
172178 #to set Quota we can just misuse any LDAP text field
173179 And LDAP config "LDAPTestId" has key "ldapQuotaAttribute" set to "employeeNumber"
174180 And LDAP config "LDAPTestId" has key "ldapQuotaDefault" set to "10MB"
@@ -189,6 +195,7 @@ Feature: Manage users using the Provisioning API
189195
190196 Scenario Outline : admin sets quota of user in LDAP when a default quota is set in the LDAP settings
191197 Given using OCS API version "<ocs-api-version>"
198+ And user "user1" has been created with default attributes and without skeleton files
192199 #to set Quota we can just misuse any LDAP text field
193200 And LDAP config "LDAPTestId" has key "ldapQuotaAttribute" set to "employeeNumber"
194201 And LDAP config "LDAPTestId" has key "ldapQuotaDefault" set to "10MB"
@@ -205,6 +212,7 @@ Feature: Manage users using the Provisioning API
205212 @issue-core-33186
206213 Scenario Outline : admin sets quota of user when the quota LDAP attribute is specified and a default quota is set in the LDAP settings
207214 Given using OCS API version "<ocs-api-version>"
215+ And user "user1" has been created with default attributes and without skeleton files
208216 #to set Quota we can just misuse any LDAP text field
209217 And LDAP config "LDAPTestId" has key "ldapQuotaAttribute" set to "employeeNumber"
210218 And LDAP config "LDAPTestId" has key "ldapQuotaDefault" set to "10MB"
@@ -226,6 +234,7 @@ Feature: Manage users using the Provisioning API
226234
227235 Scenario Outline : Administrator deletes a ldap user and resyncs again
228236 Given using OCS API version "<ocs-api-version>"
237+ And user "user0" has been created with default attributes and without skeleton files
229238 And user "user0" has uploaded file with content "new file that should be overwritten after user deletion" to "textfile0.txt"
230239 When the administrator deletes user "user0" using the provisioning API
231240 Then the OCS status code should be "<ocs-status-code>"
@@ -241,6 +250,7 @@ Feature: Manage users using the Provisioning API
241250
242251 Scenario Outline : Administrator tries to create a user with same name as existing ldap user
243252 Given using OCS API version "<ocs-api-version>"
253+ And user "user0" has been created with default attributes and skeleton files
244254 When the administrator sends a user creation request for user "user0" password "%alt1%" using the provisioning API
245255 Then the OCS status code should be "<ocs-status-code>"
246256 And the HTTP status code should be "<http-status-code>"
0 commit comments