-
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
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...stApp/test/functional/org/modelcatalogue/core/datamodel/CheckDataModelPoliciesSpec.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,19 @@ | ||
package org.modelcatalogue.core.datamodel | ||
|
||
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-1604') | ||
@Title('Data Model is created with selected policies') | ||
@Narrative(''' | ||
- Login to Metadata Exchange As curator | Login successful | ||
- Click on the 'Create Data Model' button (plus sign) from top-right hand menu | Redirected to 'Create Data Model' page | ||
- Fill the form with Name, Catalogue ID, Description and select from multiple choice list of data policies either Unique of Kind or Default Checks. Click Save button | Data Model is created. Redirected to new data model main page | ||
- Examine that in the Display panel on the right side, that underneath the Data Model name, in the Policies section, the data model policy that was chosen is present. | Confirm that the Data Model has been created with the Data Model Policies | ||
''') | ||
|
||
class CheckDataModelPoliciesSpec extends GebSpec { | ||
} |