Skip to content

Commit

Permalink
Merge pull request #13556 from Avishka-Shamendra/issue-3152
Browse files Browse the repository at this point in the history
Add Comments to Clarify the Store Visibility Test Cases
  • Loading branch information
Avishka-Shamendra authored Nov 20, 2024
2 parents bc65d06 + ddae995 commit 504ce78
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,11 @@ public void initialize() throws Exception {
}


/**
* Although API visibility on the publisher portal is restricted (eg, to the 'admin' role), if a user has the
* 'internal/publisher' role, the API should still be visible to them.
* This ensures that publishers can view all APIs of the organization on the publisher portal
*/
@Test(groups = {"wso2.am"}, description = "Test the visibility of API in Publisher for API creator ")
public void testVisibilityForCreatorInPublisher()
throws APIManagerIntegrationTestException, MalformedURLException, XPathExpressionException, ApiException {
Expand Down Expand Up @@ -270,7 +275,11 @@ public void testVisibilityForCreatorInPublisher()
getAPIIdentifierString(apiIdentifierSubscriberVisibility));
}


/**
* Although API visibility on the devportal is restricted (eg, to the 'admin' role), if a user has the
* 'internal/publisher' role, the API should still be visible to them.
* This ensures that publishers can view all APIs of the organization on the devportal
*/
@Test(groups = {"wso2.am"}, description = "Test the visibility of API in Store for API creator",
dependsOnMethods = "testVisibilityForCreatorInPublisher")
public void testVisibilityForCreatorInStore()
Expand Down

0 comments on commit 504ce78

Please sign in to comment.