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][full-ci]added test to list shares sharedWithMe after the share role has been disabled #10744

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

PrajwolAmatya
Copy link
Contributor

Description

This PR adds the test to list shares sharedWithMe after the share role has been disabled, with precondition
enable role -> share -> disable role

Related Issue

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 only (no source changes)

Checklist:

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

@PrajwolAmatya PrajwolAmatya force-pushed the enable-disable-share-roles branch from 4c4acae to 992e2c4 Compare December 24, 2024 04:10
@PrajwolAmatya PrajwolAmatya force-pushed the enable-disable-share-roles branch from 992e2c4 to d91dff6 Compare December 27, 2024 03:50
@PrajwolAmatya PrajwolAmatya changed the title [tests-only][full-ci]added test to list shares shredWithMe after the share role has been disabled [tests-only][full-ci]added test to list shares sharedWithMe after the share role has been disabled Dec 27, 2024
@PrajwolAmatya PrajwolAmatya force-pushed the enable-disable-share-roles branch from 9e9671e to 0345f21 Compare December 30, 2024 06:07
Comment on lines +14 to +16
Scenario Outline: users list the shares shared with Secure Viewer after the role is disabled (Personal Space)
Given the administrator has enabled the permissions role "Secure Viewer"
And user "Alice" has uploaded file with content "some content" to "textfile.txt"
Copy link
Member

Choose a reason for hiding this comment

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

maybe we should assert these in a single scenario for these kinds of tests (edge-cases):

  • sharedByMe (sharer)
  • sharedWithMe (sharee)
  • list me/drives (sharee)
  • PROPFIND Shares space (sharee)
  • some action by sharee (e.g.: download file)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have updated the changes in the follow up PR #10756. We can merge this PR and add these changes in other PR.

Copy link
Contributor

@amrita-shrestha amrita-shrestha left a comment

Choose a reason for hiding this comment

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

lgtm

@saw-jan saw-jan merged commit 3011eaa into master Dec 31, 2024
4 checks passed
@PrajwolAmatya PrajwolAmatya deleted the enable-disable-share-roles branch December 31, 2024 09:11
ownclouders pushed a commit that referenced this pull request Dec 31, 2024
[tests-only][full-ci]added test to list shares sharedWithMe after the share role has been disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants