Skip to content

[tests-only][full-ci]Extend tests coverage for different role capability for spaces - #5853

Merged
amrita-shrestha merged 3 commits into
masterfrom
tests-coverage-for-different-user-to-manipulate-spaces
Mar 28, 2023
Merged

amrita-shrestha merged 3 commits into
masterfrom
tests-coverage-for-different-user-to-manipulate-spaces

Conversation

@amrita-shrestha

@amrita-shrestha amrita-shrestha commented Mar 16, 2023 •

Copy link
Copy Markdown
Contributor

Description

This PR adds tests coverage for different role users to manipulate space

Point to note

Related Issue

Motivation and Context

How Has This Been Tested?

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

Checklist:

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

@amrita-shrestha amrita-shrestha self-assigned this Mar 16, 2023
@amrita-shrestha
amrita-shrestha force-pushed the tests-coverage-for-different-user-to-manipulate-spaces branch from a0c891a to bb60a3f Compare March 20, 2023 06:39
@amrita-shrestha
amrita-shrestha marked this pull request as ready for review March 20, 2023 06:51
@amrita-shrestha
amrita-shrestha force-pushed the tests-coverage-for-different-user-to-manipulate-spaces branch 2 times, most recently from 31f6bf1 to 57a6538 Compare March 20, 2023 11:17

@SwikritiT SwikritiT 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.

@amrita-shrestha shouldn't we add this to stable first?

@amrita-shrestha

Copy link
Copy Markdown
Contributor Author

@amrita-shrestha shouldn't we add this to stable first?

@SwikritiT some features related to assigning roles are not implemented in stable so we may have to skip that on stable I create PR in master so we can cover a max number of scenarios and later skip on stable

@amrita-shrestha
amrita-shrestha force-pushed the tests-coverage-for-different-user-to-manipulate-spaces branch from 57a6538 to 62ae21d Compare March 21, 2023 08:44
@amrita-shrestha
amrita-shrestha force-pushed the tests-coverage-for-different-user-to-manipulate-spaces branch from 62ae21d to daf48df Compare March 21, 2023 11:20
@amrita-shrestha
amrita-shrestha force-pushed the tests-coverage-for-different-user-to-manipulate-spaces branch from 88092f8 to 56defd8 Compare March 23, 2023 08:40
@ownclouders

ownclouders commented Mar 23, 2023 •

Copy link
Copy Markdown
Contributor

@amrita-shrestha
amrita-shrestha force-pushed the tests-coverage-for-different-user-to-manipulate-spaces branch 2 times, most recently from a97aa15 to 278126d Compare March 23, 2023 10:39

@SwikritiT SwikritiT 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.

Changes look good to me

CI says the line needs to be updated somewhere

/**
     * @When user :arg1 tries to create a space :arg2 of type :arg3 with the default quota using the GraphApi
     */
    public function userTriesToCreateASpaceOfTypeWithTheDefaultQuotaUsingTheGraphapi($arg1, $arg2, $arg3)
    {
        throw new PendingException();
    }

@amrita-shrestha
amrita-shrestha force-pushed the tests-coverage-for-different-user-to-manipulate-spaces branch from 278126d to c56b807 Compare March 27, 2023 09:31
@amrita-shrestha
amrita-shrestha force-pushed the tests-coverage-for-different-user-to-manipulate-spaces branch from c56b807 to e57d62d Compare March 27, 2023 10:29
@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

@amrita-shrestha
amrita-shrestha merged commit 382aa58 into master Mar 28, 2023
@delete-merged-branch
delete-merged-branch Bot deleted the tests-coverage-for-different-user-to-manipulate-spaces branch March 28, 2023 03:25
ownclouders pushed a commit that referenced this pull request Mar 28, 2023
…ity for spaces (#5853)

* Add tests related to different user role manipulating space

* Review addressed

* Refactor existing scenario
amrita-shrestha added a commit that referenced this pull request Mar 28, 2023
…ity for spaces (#5853)

* Add tests related to different user role manipulating space

* Review addressed

* Refactor existing scenario
amrita-shrestha added a commit that referenced this pull request Mar 28, 2023
…ity for spaces (#5853)

* Add tests related to different user role manipulating space

* Review addressed

* Refactor existing scenario
amrita-shrestha added a commit that referenced this pull request Mar 29, 2023
…ity for spaces (#5853)

* Add tests related to different user role manipulating space

* Review addressed

* Refactor existing scenario
amrita-shrestha added a commit that referenced this pull request Mar 29, 2023
…ity for spaces (#5853)

* Add tests related to different user role manipulating space

* Review addressed

* Refactor existing scenario
amrita-shrestha added a commit that referenced this pull request Mar 29, 2023
…ity for spaces (#5853)

* Add tests related to different user role manipulating space

* Review addressed

* Refactor existing scenario
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