Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[full-ci]fix thumbnails in federated ocis. enable tests after fixing bugs #11884

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
ScharfViktor marked this conversation as resolved.
Show resolved Hide resolved

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