Commit graph

74 commits

Author SHA1 Message Date
Roeland Jago Douma
e081c86691 Fix integration tests 2016-01-13 22:15:19 +01:00
Sergio Bertolín
acc67a6d48 Added test case about deleting a group with special characters 2016-01-13 09:49:25 +01:00
Sergio Bertolín
fb3dbe24db Added test with spcial chars in group 2016-01-13 09:49:19 +01:00
Thomas Müller
6a796ff3cc Merge pull request #21066 from owncloud/behat_capabilities_changing_server_configuration
Added new capabilities test with changes in server configuration
2016-01-07 17:07:29 +01:00
Roeland Jago Douma
114f6115c3 Skip one intergration test until we have fixed the getshares
The new sharing code handles things differently so there is no way for
create shares to handle this all properly.
2016-01-06 14:53:43 +01:00
Roeland Jago Douma
0f6d55063d Make sure to login at least once for the intergration tests
Else we run into race conditions with the skeleton code
2016-01-06 14:53:43 +01:00
Joas Schilling
671b06a86b Deduplicate the array 2015-12-11 16:25:35 +01:00
Joas Schilling
1959171d5d Speed up the tests by reseting the configs and app only when needed 2015-12-11 16:25:35 +01:00
Sergio Bertolin
17fcd84ee3 Prepare logic to handle nested elements and add pending test cases 2015-12-11 16:20:04 +01:00
Sergio Bertolin
5b895335df Added tests disabling options using testing app 2015-12-11 16:20:04 +01:00
Joas Schilling
7d3e40c065 Add an OCS app for testing instead of using sudo and exec 2015-12-11 16:20:04 +01:00
Sergio Bertolin
0449dc387b Added functionality to change server configuration 2015-12-11 16:20:04 +01:00
Sergio Bertolin
4338a741f2 Added functionality for changing server configuration 2015-12-11 16:20:04 +01:00
Scrutinizer Auto-Fixer
ffc49a24f0 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-12-10 16:43:37 +01:00
Sergio Bertolin
93f4524a91 Added check for /textfile0.txt 2015-12-10 08:10:23 +00:00
Roeland Jago Douma
1d7a2aa9f9 Folder depth needs to be at least 3 for all tests to pass 2015-12-10 08:10:23 +00:00
Sergio Bertolin
e72955c65d Added shared by multiple channels test
* Small changes plus check of the file using propfind
* Restaured line removed accidentally
2015-12-10 08:10:23 +00:00
Thomas Müller
7d99289ced Merge pull request #20907 from owncloud/integration_tests_for_capabilities
Added capabilities context and tests
2015-12-03 16:54:36 +01:00
Sergio Bertolin
c744b30b3b Changed fail for assertEquals and removed fields which weren't checked 2015-12-03 12:54:44 +00:00
Sergio Bertolin
b17553d921 Added test case about downloading by range a public shared file 2015-12-03 10:58:31 +01:00
Sergio Bertolin
e01e894b98 Added capabilities context and tests 2015-12-02 17:29:42 +00:00
Morris Jobke
6baed0c998 fix code style 2015-12-01 14:51:33 +01:00
Morris Jobke
83432b3c25 add behat tests for 0 quota upload failure 2015-12-01 14:51:32 +01:00
Sergio Bertolin
2c6e0da8f5 Change from with of 2015-11-30 14:49:35 +00:00
Sergio Bertolin
69ca3a70d6 Added webdav test to check range downloads 2015-11-30 14:07:02 +00:00
Sergio Bertolin
52f6592991 Making propfinds, having depth in mind and checking it in gherkin description 2015-11-30 12:20:05 +00:00
Vincent Petry
40172e252b Use depth 1 and valid properties to get a list 2015-11-27 15:38:45 +01:00
Sergio Bertolin
b99bd7f4fc Added sabre dav in webdav, modified skeleton to have parent and child folders 2015-11-27 12:55:48 +00:00
Sergio Bertolin
9d44576819 Restructured FeatureContext to reuse some parts and run two servers in parallel 2015-11-26 17:03:17 +01:00
Sergio Bertolin
094a1bc7cb Added test case about a user without a share requesting it 2015-11-26 13:19:49 +00:00
Sergio Bertolin
69a03c2e60 Added test case about trying to reshare a file with more permissions 2015-11-20 11:56:05 +00:00
Sergio Bertolin
a2938385f9 Making webdav path configurable 2015-11-20 11:26:52 +00:00
Sergio Bertolin
dd10e1d538 modified makedavrequest to return response 2015-11-20 09:17:48 +00:00
Sergio Bertolin
ee4a18a16c added test about resharing 2015-11-19 14:17:56 +00:00
Sergio Bertolin
81e0a3ea22 Added test and logic for deleting all group shares 2015-11-19 12:45:13 +00:00
Sergio Bertolin
630ba2fd09 Added test for shared_with_me parameter 2015-11-19 12:45:12 +00:00
Sergio Bertolin
a990e0ac1d Added some requirements for first test case 2015-11-19 12:45:12 +00:00
Joas Schilling
90b020cf88 Delete when it is a directory... 2015-11-18 12:53:36 +01:00
Joas Schilling
fbcdf17089 Fix doc blocks 2015-11-18 12:53:20 +01:00
Sergio Bertolin
ce8435530b Modified test to PUT only 1 parameter with each update 2015-11-12 10:36:17 +00:00
Sergio Bertolin
eb6a13c231 Added a test including all the fields of the share update and checking output 2015-11-11 17:29:38 +00:00
Sergio Bertolin
7aeda7c99a Added a test and logic for checking answer of public shares 2015-11-11 14:21:10 +00:00
Sergio Bertolin
7aa6e9b643 Added test to get info of a specific share id
Check fields of the share response

Added missing fields to check if their values are numbers
2015-11-10 16:25:34 +01:00
Sergio Bertolin
e34872141e Added tests about getting shares of a file and a test for deleting a user from a group which doesn't exist 2015-11-06 11:57:02 +01:00
Sergio Bertolin
1a51d4c4c7 Added changes in the verification of sharing get responses 2015-11-05 09:10:46 +00:00
Sergio Bertolin
3b7690f842 added test for deleting a share 2015-11-04 13:42:14 +00:00
Sergio Bertolin
0593381522 Added general function to create shares in preconditions. 2015-11-04 12:16:00 +00:00
Sergio Bertolin
0f27b719ea enhancements to pre and post conditions 2015-11-03 16:08:01 +00:00
Thomas Müller
fcc2a0c830 Upgrade behat to 3.0.x and use @BeforeScenario and @AfterScenario to clean up users 2015-10-29 17:10:52 +01:00
Sergio Bertolin
d11b69bfb9 added sharing feature file
added logic necessary for preconditions and postconditions of sharing tests

Added sharing by link tests and sharing with group

Added test which reproduces issue 19950 (adding expiration date)

refactored given and then statements to be preconditions and not operations
2015-10-29 17:10:49 +01:00