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] adding test for updating role of a share #8329

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

nirajacharya2
Copy link
Contributor

@nirajacharya2 nirajacharya2 commented Jan 31, 2024

Description

Scenarios added :

Scenario Outline: user updates role of a share

and moving permission related tests to updatePermission.feature from shareByMe.feature`

Related Issue

Motivation and Context

How Has This Been Tested?

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

@nirajacharya2 nirajacharya2 self-assigned this Jan 31, 2024
@nirajacharya2 nirajacharya2 force-pushed the test-share-by-me-update-role branch 4 times, most recently from 80d274d to bc5f8b0 Compare February 1, 2024 10:07
@nirajacharya2 nirajacharya2 changed the title [tests-only][full-ci] adding test for updating role of a share [tests-only] adding test for updating role of a share Feb 1, 2024
@nirajacharya2 nirajacharya2 force-pushed the test-share-by-me-update-role branch 5 times, most recently from 7c8b4d4 to 0733b2b Compare February 5, 2024 07:06
@nirajacharya2 nirajacharya2 marked this pull request as ready for review February 5, 2024 07:06
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.

others lgtm

tests/acceptance/features/apiSharingNg/sharedByMe.feature Outdated Show resolved Hide resolved
@grgprarup
Copy link
Contributor

The tests added in this PR and some scenarios in the file sharedByMe.feature are related to updating the share, so it will be better to put those in a separate file (updateShareInvitations).

@nirajacharya2 nirajacharya2 force-pushed the test-share-by-me-update-role branch 2 times, most recently from 3f55258 to 7102487 Compare February 6, 2024 09:59
@nirajacharya2 nirajacharya2 force-pushed the test-share-by-me-update-role branch 2 times, most recently from 2c944c3 to 42cc8a2 Compare February 7, 2024 04:26
@nirajacharya2 nirajacharya2 force-pushed the test-share-by-me-update-role branch 5 times, most recently from 4ef012c to 499450f Compare February 7, 2024 06:56
@@ -0,0 +1,160 @@
Feature: Update permission of a share
As a user
I want to update resources shared with me
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't the share updated by a sharer?

Copy link
Contributor

@grgprarup grgprarup left a comment

Choose a reason for hiding this comment

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

Other than some typos. LGTM 👍

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.

Please, do not squish with other commits

Copy link

sonarcloud bot commented Feb 8, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@saw-jan saw-jan merged commit d87f5b0 into master Feb 8, 2024
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the test-share-by-me-update-role branch February 8, 2024 09:07
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.

None yet

5 participants