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

Add Comments to Clarify the Store Visibility Test Cases #13556

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading