-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
...st/functional/org/modelcatalogue/core/rolevisibility/VerifyRegularUserCanSeeApiKey.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package org.modelcatalogue.core.rolevisibility | ||
|
||
import geb.spock.GebSpec | ||
import spock.lang.Issue | ||
import spock.lang.Narrative | ||
import spock.lang.Specification | ||
import spock.lang.Title | ||
|
||
@Issue('https://metadata.atlassian.net/browse/MET-1563') | ||
@Title('Verify that regular user can see api key') | ||
@Narrative(''' | ||
- Login to Metadata Exchange as supervisor | Login successful | ||
- Navigate to the top right hand menu and select the User profile menu button | Profile menu drop-down appears | ||
- Select the 'API Key' option visible on the drop down list | Redirected to API key page. 'Api Key' is visible as title. | ||
- On the API key page, Press the 'Regenerate API Key' button and check that the API key either changes or is generated | API changes | ||
- Logout of the Metadata Exchange | Logout successful | ||
- Login to Metadata Exchange as curator | Login successful | ||
- Navigate to the top right hand menu and select the User profile menu button | Profile menu drop-down appears | ||
- Select the 'API Key' option visible on the drop down list | Redirected to API key page. 'Api Key' is visible as title. | ||
- On the API key page, Press the 'Regenerate API Key' button and check that the API key either changes or is generated | API changes | ||
- Log out of the Metadata Exchange | Logout successful | ||
- Login to Metadata Exchange as viewer | Login successful | ||
- Navigate to the top right hand menu and select the User profile menu button | Profile menu drop-down appears | ||
- Select the 'API Key' option visible on the drop down list | Redirected to API key page. 'Api Key' is visible as title. | ||
- On the API key page, Press the 'Regenerate API Key' button and check that the API key either changes or is generated | API changes | ||
- Logout of Metadata Exchange | Logout successful. | ||
- Login to Metadata Exchange as user | Login successful | ||
- Navigate to the top right hand menu and select the User profile menu button | Profile menu drop-down appears | ||
- Select the 'API Key' option visible on the drop down list | Redirected to API key page. 'Api Key' is visible as title. | ||
- On the API key page, Press the 'Regenerate API Key' button and check that the API key either changes or is generated | API changes | ||
''') | ||
|
||
class VerifyRegularUserCanSeeApiKey extends GebSpec { | ||
} |