ocis
ocis copied to clipboard
[tests-only][full-ci] test: extend test coverage for searching a file
Description
This PR ensures that:
- file can be searched either globally (in all drives) or in a specific drive (Personal drive, Shares drive, and project drive)
- Added scenarios:
Scenario Outline: search a file globally (in all drives)
Scenario Outline: search a file within Personal drive
Scenario Outline: search a file within Project drive
Scenario Outline: search a file within Shares drive
- when a user or admin searches for a resource then the response contains href with different space id for each dav-path-version
- Added scenario:
Scenario Outline: check href value while searching for a file for each dav-path-version
Related Issue
- Fixes: https://github.com/owncloud/ocis/issues/9948
- Fixes: https://github.com/owncloud/ocis/issues/7060
Motivation and Context
How Has This Been Tested?
- test environment:
- Locally
- CI
Screenshots (if appropriate):
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Technical debt
- [x] Tests only (no source changes)
Checklist:
- [ ] Code changes
- [ ] Unit tests added
- [x] Acceptance tests added
- [ ] Documentation ticket raised:
is it ready for review?
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code