Skip to content

Commit

Permalink
[full-ci]fix thumbnails in federated ocis. enable tests after fixing …
Browse files Browse the repository at this point in the history
…bugs (#11884)

* fix thumbnails in federated ocis. enable tests after fixing bugs

* update ocis
  • Loading branch information
ScharfViktor authored Nov 11, 2024
1 parent abce463 commit 05c875b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .drone.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# The version of OCIS to use in pipelines that test against OCIS
OCIS_COMMITID=75cba423c2bbccaa8b0fdce352dacc498793ff6e
OCIS_COMMITID=4f42e344ea0103687d4220fad7c5e72d51f8dfcc
OCIS_BRANCH=master
3 changes: 0 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ x-ocis-server: &ocis-service
OCM_OCM_INVITE_MANAGER_INSECURE: 'true'
OCM_OCM_SHARE_PROVIDER_INSECURE: 'true'
OCM_OCM_STORAGE_PROVIDER_INSECURE: 'true'
OCM_DEBUG_ADDR: '127.0.0.1:10281'
OCM_HTTP_ADDR: '127.0.0.1:10280'
OCM_GRPC_ADDR: '127.0.0.1:10282'

extra_hosts:
- host.docker.internal:${DOCKER_HOST:-host-gateway}
Expand Down
32 changes: 20 additions & 12 deletions tests/e2e/cucumber/features/ocm/ocm.feature
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,28 @@ Feature: federation management
And "Brian" opens the "files" app
When "Brian" navigates to the shared with me page

# should be work after fixing https://github.com/owncloud/ocis/issues/10272
# Then "Brian" should see thumbnail and preview for file "testavatar.jpg"
# And "Brian" should see thumbnail and preview for file "sampleGif.gif"
# When "Brian" opens the following file in mediaviewer
# | resource |
# | testavatar.jpg |
# Then "Brian" is in a media-viewer
# And "Brian" navigates to the next media resource
# When "Brian" closes the file viewer
Then "Brian" should see thumbnail and preview for file "testavatar.jpg"
And "Brian" should see thumbnail and preview for file "sampleGif.gif"
When "Brian" opens the following file in mediaviewer
| resource |
| testavatar.jpg |
Then "Brian" is in a media-viewer

# should be work after fixing https://github.com/owncloud/web/issues/11883
# And "Brian" navigates to the next media resource
And "Brian" closes the file viewer
And "Brian" downloads the following resources using the sidebar panel
| resource | type |
| folderPublic | folder |
# should be work after fixing https://github.com/owncloud/ocis/issues/11821
# | sampleGif.gif | file |
# | testavatar.jpg | file |
| sampleGif.gif | file |
| testavatar.jpg | file |
When "Brian" uploads the following resources
| resource | to |
| testavatar.png | folderPublic |
And "Brian" opens folder "folderPublic"
Then "Brian" should see thumbnail and preview for file "testavatar.png"
When "Brian" opens the following file in mediaviewer
| resource |
| testavatar.png |
Then "Brian" is in a media-viewer
And "Brian" logs out

0 comments on commit 05c875b

Please sign in to comment.