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] Refactoring unshare step definition code #6608

Merged
merged 4 commits into from
Jun 30, 2023
Merged

[tests-only] [full-ci] Refactoring unshare step definition code #6608

merged 4 commits into from
Jun 30, 2023

Conversation

S-Panta
Copy link
Contributor

@S-Panta S-Panta commented Jun 23, 2023

Description

This PR refactors the step definition code relating to unshare scenerio.

Related Issue

How Has This Been Tested?

  • test environment:
  • locally
  • ci

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

Checklist:

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

@ownclouders
Copy link
Contributor

💥 Acceptance test Core-API-Tests-ocis-storage-2 failed. Further test are cancelled...

@S-Panta S-Panta changed the title [tests-only] Refactoring unshare step definition code [tests-only] [full-ci] Refactoring unshare step definition code Jun 23, 2023
@SwikritiT SwikritiT marked this pull request as ready for review June 23, 2023 10:58
@SwikritiT SwikritiT requested a review from SagarGi June 23, 2023 11:01
@S-Panta S-Panta requested review from SagarGi and SwikritiT June 28, 2023 04:09
@@ -421,7 +421,7 @@ Feature: dav-versions
| new | Brian | /testshare |


Scenario: receiver tries to get file versions of unshared file from the sharer
Scenario: sharee tries to get file versions of file not shared by the sharer
Copy link
Member

Choose a reason for hiding this comment

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

IMO, should be fine there. This scenario tests the edge case that when textfile0 is shared with Brian, he cannot view the versions of another unshared file of Alice.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Member

@saw-jan saw-jan 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
Member

@SagarGi SagarGi 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 9b4244b into owncloud:master Jun 30, 2023
ownclouders pushed a commit that referenced this pull request Jun 30, 2023
* added unshare scenerio

* remove unshare keyword from step definition

* refactoring of step definition codes

* refactor
S-Panta added a commit that referenced this pull request Jun 30, 2023
*added unshare scenerio

* remove unshare keyword from step definition

* refactoring of step definition codes

* refactor
saw-jan pushed a commit that referenced this pull request Jul 3, 2023
… (#6679)

*added unshare scenerio

* remove unshare keyword from step definition

* refactoring of step definition codes

* refactor
@saw-jan saw-jan mentioned this pull request Jul 3, 2023
ownclouders pushed a commit that referenced this pull request Jul 3, 2023
… (#6679)

*added unshare scenerio

* remove unshare keyword from step definition

* refactoring of step definition codes

* refactor
fschade pushed a commit that referenced this pull request Jul 10, 2023
* added unshare scenerio

* remove unshare keyword from step definition

* refactoring of step definition codes

* refactor
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.

7 participants