Repository navigation
Closed
Description
Run the acceptance tests with Oracle database. (see PR #37025 )
https://drone.owncloud.com/owncloud/core/23587/63/13
Scenario: add multiple properties to files inside a folder and do a propfind of the parent folder # /drone/src/tests/acceptance/features/apiWebdavProperties/getFileProperties.feature:215
Given user "user0" has created folder "/TestFolder" # FeatureContext::userHasCreatedFolder()
And user "user0" has uploaded file with content "test data one" to "/TestFolder/test1.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "user0" has uploaded file with content "test data two" to "/TestFolder/test2.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "user0" has set the following properties of file "/TestFolder/test1.txt" using the WebDav API # WebDavPropertiesContext::userHasSetFollowingPropertiesUsingProppatch()
| property | value |
| testprop1 | AAAAA |
| testprop2 | BBBBB |
And user "user0" has set the following properties of file "/TestFolder/test2.txt" using the WebDav API # WebDavPropertiesContext::userHasSetFollowingPropertiesUsingProppatch()
| property | value |
| testprop1 | CCCCC |
| testprop2 | DDDDD |
When user "user0" gets the following properties of folder "/TestFolder" using the WebDav PropFind API # WebDavPropertiesContext::userGetsFollowingPropsWithNamespaceOfFileUsingWebDavAPI()
| property |
| testprop1 |
| testprop2 |
Then the HTTP status code should be success # FeatureContext::theHTTPStatusCodeShouldBeSuccess()
And as user "user0" the last response should have the following properties # WebDavPropertiesContext::theResponseShouldHavePropertyWithValue()
| resource | property | value |
| /TestFolder/test1.txt | testprop1 | CCCCC |
| /TestFolder/test1.txt | testprop2 | BBBBB |
| /TestFolder/test2.txt | testprop1 | CCCCC |
| /TestFolder/test2.txt | testprop2 | DDDDD |
| /TestFolder/ | status | HTTP/1.1 404 Not Found |
WebDavPropertiesContext::theResponseShouldHavePropertyWithValue Expected 'CCCCC' but got 'AAAAA'
Failed asserting that SimpleXMLElement Object &0000000004dff26d000000000e2b1393 (
0 => 'AAAAA'
) matches expected 'CCCCC'.
Scenario Outline: Setting custom complex DAV property and reading it # /drone/src/tests/acceptance/features/apiWebdavProperties/setFileProperties.feature:24
Given using <dav_version> DAV path # FeatureContext::usingOldOrNewDavPath()
And user "user0" has uploaded file "filesForUpload/textfile.txt" to "/testcustomprop.txt" # FeatureContext::userHasUploadedAFileTo()
And user "user0" has set property "very-custom-prop" with namespace "x1='http://whatever.org/ns'" of file "/testcustomprop.txt" to "<foo xmlns='http://bar'/>" # WebDavPropertiesContext::userHasSetPropertyWithNamespaceOfEntryTo()
When user "user0" gets a custom property "very-custom-prop" with namespace "x1='http://whatever.org/ns'" of file "/testcustomprop.txt" # WebDavPropertiesContext::userGetsPropertiesOfFile()
Then the response should contain a custom "very-custom-prop" property with namespace "x1='http://whatever.org/ns'" and value "Object" # WebDavPropertiesContext::theResponseShouldContainACustomPropertyWithValue()
Examples:
| dav_version |
| old |
The HTTP status code 500 is not between 200 and 299
Failed asserting that 500 is equal to 299 or is less than 299.
| new |
The HTTP status code 500 is not between 200 and 299
Failed asserting that 500 is equal to 299 or is less than 299.
--- Failed scenarios:
/drone/src/tests/acceptance/features/apiWebdavProperties/getFileProperties.feature:215
/drone/src/tests/acceptance/features/apiWebdavProperties/setFileProperties.feature:33
/drone/src/tests/acceptance/features/apiWebdavProperties/setFileProperties.feature:34
96 scenarios (93 passed, 3 failed)
697 steps (690 passed, 3 failed, 4 skipped)
Metadata
Metadata
Assignees
Labels
No labels
Activity
phil-davis commentedon Feb 27, 2020
Log has:
phil-davis commentedon Feb 27, 2020
Looks similar to #32670
VicDeo commentedon Apr 22, 2020
...and we have to do something with it now as it is no longer Oracle-specific for PHP 7.4
🧯
https://drone.owncloud.com/owncloud/core/24402/73/12