Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

[tests-only][full-ci]Skip private link related tests on ocis - #8076

Merged
SwikritiT merged 2 commits into
masterfrom
refactor-expected-to-fail-for-closed-issue-part-3
Dec 8, 2022
Merged

SwikritiT merged 2 commits into
masterfrom
refactor-expected-to-fail-for-closed-issue-part-3

Conversation

@SwikritiT

Copy link
Copy Markdown
Contributor

Description

This PR skips the tests related to private-links

Related Issue

Motivation and Context

If I understand issue #6844 correctly then there won't be a separate copy-private-link button in ocis which is the case for oc10 right now. In the case of ocis

As a user I want to get a link to a resource as easily and quickly as possible. I don't want to decide whether I need a 'private' or a 'public' link in the first place. Still, I might want to decide (e.g., for security reasons) for whom the link is usable (link scope): for everybody (public) / only invited people (private).

So Private link tests might be obsolete in this case, thus they are skipped but in oc10 there is a copy-private-link button

How Has This Been Tested?

  • CI
  • 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:

  • ...

@SwikritiT SwikritiT self-assigned this Dec 7, 2022
@SwikritiT

Copy link
Copy Markdown
Contributor Author

If I understand issue #6844 correctly then there won't be a separate copy-private-link button in ocis which is the case for oc10 right now. In the case of ocis

As a user I want to get a link to a resource as easily and quickly as possible. I don't want to decide whether I need a 'private' or a 'public' link in the first place. Still, I might want to decide (e.g., for security reasons) for whom the link is usable (link scope): for everybody (public) / only invited people (private).

So Private link tests might be obsolete in this case, thus they are skipped but in oc10 there is a copy-private-link button

cc: @ScharfViktor @kulmann @phil-davis @individual-it

@SwikritiT
SwikritiT marked this pull request as ready for review December 7, 2022 08:14
@ownclouders

Copy link
Copy Markdown
Contributor

Results for oCISFiles5 https://drone.owncloud.com/owncloud/web/30478/60/1

💥 The acceptance tests failed on retry. Please find the screenshots inside ...

webUIFilesCopy-copyPrivateLinks_feature-L20.png

webUIFilesCopy-copyPrivateLinks_feature-L20.png

webUIFilesCopy-copyPrivateLinks_feature-L21.png

webUIFilesCopy-copyPrivateLinks_feature-L21.png

@SwikritiT
SwikritiT requested a review from saw-jan December 7, 2022 08:59
@sonarqubecloud

sonarqubecloud Bot commented Dec 7, 2022

Copy link
Copy Markdown

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

@v-scharf

v-scharf commented Dec 7, 2022

Copy link
Copy Markdown
Contributor

I agree with skiping test. ocis behavior is different and these tests don't work. we shouldn't run them

@v-scharf
v-scharf requested review from v-scharf December 7, 2022 22:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants