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] add tests for sharing the shares_folder #5156

Merged
merged 1 commit into from
May 31, 2021

Conversation

dpakach
Copy link
Contributor

@dpakach dpakach commented May 27, 2021

Description

Add test for sharing share_folder

Related Issue

Motivation and Context

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 force-pushed the share-shares-folder branch from ae49c6d to a546051 Compare May 27, 2021 07:51
@dpakach dpakach requested review from SwikritiT and LukasHirt May 27, 2021 07:52
Then(
'the share permission denied message should be displayed in the sharing dialog on the webUI',
async function() {
const permissionDeniedMessage = "You don't have permission to share this folder."
Copy link
Contributor

Choose a reason for hiding this comment

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

why not getting this from feature?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that part of the ui doens't shows any other type of message. Its only for the permission denied (as far as I have seen) so it makes more sense to make specific step for that.

@dpakach dpakach requested a review from kiranparajuli589 May 28, 2021 06:32
Copy link
Contributor

@SwikritiT SwikritiT left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@dpakach dpakach requested a review from individual-it May 28, 2021 08:19
@phil-davis phil-davis requested a review from kulmann May 31, 2021 05:40
@phil-davis
Copy link
Contributor

@LukasHirt @kulmann this is ready. Please merge it if you like, or wait until after #5018

Copy link
Collaborator

@LukasHirt LukasHirt left a comment

Choose a reason for hiding this comment

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

IMHO fine to merge this 👍

@phil-davis phil-davis merged commit 5f43a58 into master May 31, 2021
@phil-davis phil-davis deleted the share-shares-folder branch May 31, 2021 09:12
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.

6 participants