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

[Tests-Only] Refactor restrict sharing and auto completion tests #4108

Merged
merged 2 commits into from
Sep 29, 2020

Conversation

dpakach
Copy link
Contributor

@dpakach dpakach commented Sep 25, 2020

Description

Refactor webui test scenarios for using the Shares folder and root folder for shares.

Related Issue

Motivation and Context

Shares in ocis are received in Shares folder by default. To test that we need this refactor.

How Has This Been Tested?

🤖

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:

  • ...

@dpakach dpakach mentioned this pull request Sep 25, 2020
2 tasks
@dpakach dpakach changed the title Refactor restrict sharing tests [Tests-Only] Refactor restrict sharing and auto completion tests Sep 25, 2020
@owncloud owncloud deleted a comment from update-docs bot Sep 25, 2020
@dpakach dpakach marked this pull request as draft September 25, 2020 08:39
@dpakach dpakach force-pushed the refactor-restrict-sharing-tests branch from 8361d9b to da4254c Compare September 25, 2020 11:02
@dpakach dpakach marked this pull request as ready for review September 29, 2020 10:55
@dpakach dpakach self-assigned this Sep 29, 2020
@dpakach dpakach force-pushed the refactor-restrict-sharing-tests branch from da4254c to 58e57a7 Compare September 29, 2020 11:09
Comment on lines +9 to 11
And the administrator has set the default folder for received shares to "Shares"
Given these users have been created with default attributes:
| username |
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
And the administrator has set the default folder for received shares to "Shares"
Given these users have been created with default attributes:
| username |
And the administrator has set the default folder for received shares to "Shares"
And these users have been created with default attributes:
| username |

Comment on lines +9 to 12
Given the setting "shareapi_auto_accept_share" of app "core" has been set to "no"
And the administrator has set the default folder for received shares to "Shares"
Given these users have been created with default attributes:
| username |
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Given the setting "shareapi_auto_accept_share" of app "core" has been set to "no"
And the administrator has set the default folder for received shares to "Shares"
Given these users have been created with default attributes:
| username |
Given the setting "shareapi_auto_accept_share" of app "core" has been set to "no"
And the administrator has set the default folder for received shares to "Shares"
And these users have been created with default attributes:
| username |

Comment on lines +8 to 10
Given the setting "shareapi_auto_accept_share" of app "core" has been set to "no"
And the administrator has set the default folder for received shares to "Shares"
Given user "user1" has been created with default attributes
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Given the setting "shareapi_auto_accept_share" of app "core" has been set to "no"
And the administrator has set the default folder for received shares to "Shares"
Given user "user1" has been created with default attributes
Given the setting "shareapi_auto_accept_share" of app "core" has been set to "no"
And the administrator has set the default folder for received shares to "Shares"
And user "user1" has been created with default attributes

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 OK. Just needs the Given/And sorted out that Talank noticed.

@dpakach dpakach merged commit 0e72ee6 into master Sep 29, 2020
@delete-merged-branch delete-merged-branch bot deleted the refactor-restrict-sharing-tests branch September 29, 2020 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA:team Status:Needs-Review Needs review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants