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

Folder upload with mounted volume #2361

Merged
merged 4 commits into from
Nov 5, 2019
Merged

Folder upload with mounted volume #2361

merged 4 commits into from
Nov 5, 2019

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented Nov 4, 2019

Description

#2203 added tests for uploading files. #2222 has more requirements related to folder upload, which is not possible using the session folder upload mechanism. This PR mounts tests/acceptance/filesForUpload folder from this repo to /home/seluser/uploads inside selenium, which provides us access to those files in the browser during uploads.

This might need changes to how we run acceptance tests. This PR proposes a LOCAL_UPLOAD_DIR environment variable.

Related Issue

Motivation and Context

How Has This Been Tested?

  • locally

Screenshots (if appropriate):

Types of changes

  • 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
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@skshetry skshetry self-assigned this Nov 4, 2019
@owncloud owncloud deleted a comment from ownclouders Nov 4, 2019
@owncloud owncloud deleted a comment from ownclouders Nov 4, 2019
@owncloud owncloud deleted a comment from ownclouders Nov 4, 2019
@skshetry skshetry changed the title POC: Folder upload with mounted volume Folder upload with mounted volume Nov 4, 2019
@skshetry skshetry marked this pull request as ready for review November 4, 2019 10:13
@owncloud owncloud deleted a comment from ownclouders Nov 4, 2019
@owncloud owncloud deleted a comment from ownclouders Nov 4, 2019
@ownclouders
Copy link
Contributor

💥 Acceptance tests Trashbin failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6136/

20191104-104543-737.png
20191104-104543-964.png
20191104-104544-192.png
20191104-104544-515.png
20191104-104545-047.png
20191104-104545-526.png
20191104-104545-992.png
20191104-104546-342.png
20191104-104546-946.png
20191104-104547-422.png
20191104-104547-762.png
20191104-104547-985.png
20191104-104548-226.png
20191104-104548-456.png
20191104-104548-752.png
20191104-104548-959.png
20191104-104549-176.png
20191104-104549-393.png
20191104-104549-635.png
20191104-104549-961.png
20191104-104710-401.png
20191104-104710-669.png
20191104-104710-904.png
20191104-104711-137.png
20191104-104711-361.png
20191104-104711-594.png
20191104-104711-803.png
20191104-104712-006.png
20191104-104712-220.png
20191104-104712-427.png

@skshetry skshetry requested a review from dpakach November 5, 2019 07:00
@skshetry skshetry added Status:Needs-Review Needs review from a maintainer and removed Status:In-Progress labels Nov 5, 2019
Copy link
Contributor

@dpakach dpakach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. After merging, please give some instructions in the Phoenix chat channels so that developers have some clue about how to run upload tests now.

@phil-davis phil-davis added Status:Needs-release and removed Status:Needs-Review Needs review from a maintainer labels Nov 5, 2019
Copy link
Contributor

@haribhandari07 haribhandari07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@phil-davis
Copy link
Contributor

Let's wait until tomorrow morning to merge this, so that we are online if others need help with how to run upload tests.

@skshetry
Copy link
Member Author

skshetry commented Nov 5, 2019

@phil-davis, I left a message in the chat, and also have adjusted documentation in the README. So, it should be fine to merge this.

@phil-davis
Copy link
Contributor

Merging - it is after office hours in Europe

@phil-davis phil-davis merged commit fcb7d06 into master Nov 5, 2019
@delete-merged-branch delete-merged-branch bot deleted the poc-selenium-mount branch November 5, 2019 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants