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

[full-ci] [e2e] [tests-only] Steps added in e2e test for share decline - #8142

Merged
grgprarup merged 7 commits into
masterfrom
add-e2e-tests-story-ocis
Jan 16, 2023
Merged

grgprarup merged 7 commits into
masterfrom
add-e2e-tests-story-ocis

Conversation

@grgprarup

@grgprarup grgprarup commented Dec 22, 2022 •

Copy link
Copy Markdown
Contributor

Description

This PR extends the story of shares for declined shares.
Added steps:

  1. Before accept, checking that we cannot open file or folder
    Then "Brian" should not be able to open the folder "folder_to_shared"
    Then "Brian" should not be able to open the file "shareToBrian.txt"
  2. After accept, copying the quicklink
    And "Brian" copies quick link of the resource "decline_shared_folder" from the context menu
  3. Decline share from the status section for accepted share and pending share
    And "Brian" declines the following share
  4. Decline share from quick action
    And "Brian" declines the following share from the context menu
  5. Accept share from quick action
    When "Brian" accepts the following share from the context menu

Related Issue

How Has This Been Tested?

  • Locally
  • 🤖

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:
  • E2E tests added

@grgprarup

Copy link
Copy Markdown
Contributor Author

@ScharfViktor @kulmann I have added some steps related to share decline in share story for ocis, could you please check if it covers the declined share story? Only after approval of the story, I will implement them.

@v-scharf

Copy link
Copy Markdown
Contributor

Okay. What we have:

  • accepting
  • opening files or folder
  • downloading
  • resharing

what we can add:
before accepting

  • checking that we cannot open file or folder

after accepting:

  • creating link

Screenshot 2022-12-22 at 17 20 54

- decline file or folder

@grgprarup
grgprarup force-pushed the add-e2e-tests-story-ocis branch from f1c2845 to 796cf50 Compare December 27, 2022 05:34
@grgprarup grgprarup self-assigned this Dec 30, 2022
@v-scharf

v-scharf commented Jan 2, 2023

Copy link
Copy Markdown
Contributor

@grgprarup looks fine to me. You can continue implement steps

@grgprarup
grgprarup force-pushed the add-e2e-tests-story-ocis branch from 796cf50 to 6407cfe Compare January 5, 2023 03:26
@grgprarup grgprarup changed the title [e2e] [tests-only] Steps added in e2e test for share decline [full-ci] [e2e] [tests-only] Steps added in e2e test for share decline Jan 5, 2023
@grgprarup
grgprarup force-pushed the add-e2e-tests-story-ocis branch 2 times, most recently from a9aa6ee to 274cc50 Compare January 5, 2023 05:11
@grgprarup
grgprarup marked this pull request as ready for review January 5, 2023 05:16
@grgprarup
grgprarup force-pushed the add-e2e-tests-story-ocis branch from ed04867 to 625bbdc Compare January 5, 2023 05:17
@grgprarup
grgprarup changed the base branch from master to stable-6.0 January 5, 2023 06:02
@grgprarup
grgprarup changed the base branch from stable-6.0 to master January 5, 2023 06:04

@kiranparajuli589 kiranparajuli589 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm except the existing comments.

@grgprarup
grgprarup force-pushed the add-e2e-tests-story-ocis branch from 625bbdc to ffcf59e Compare January 5, 2023 09:26
Comment thread tests/e2e/cucumber/steps/ui/shares.ts Resolved
@grgprarup
grgprarup force-pushed the add-e2e-tests-story-ocis branch from 2248cc9 to 6cd7773 Compare January 12, 2023 10:13
@grgprarup
grgprarup requested a review from saw-jan January 12, 2023 10:14
@grgprarup
grgprarup force-pushed the add-e2e-tests-story-ocis branch from 6cd7773 to d4f6d5c Compare January 13, 2023 08:31
@grgprarup
grgprarup requested a review from v-scharf January 13, 2023 08:32

@saw-jan saw-jan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@grgprarup
grgprarup force-pushed the add-e2e-tests-story-ocis branch from d4f6d5c to 2bd2982 Compare January 13, 2023 10:46
@grgprarup
grgprarup force-pushed the add-e2e-tests-story-ocis branch from 2bd2982 to 1bc01c6 Compare January 13, 2023 10:57
@sonarqubecloud

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

@grgprarup
grgprarup merged commit 1e78806 into master Jan 16, 2023
@delete-merged-branch
delete-merged-branch Bot deleted the add-e2e-tests-story-ocis branch January 16, 2023 06:39
@SagarGi

SagarGi commented Jan 18, 2023 •

Copy link
Copy Markdown
Member

TODO:

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.

6 participants