Skip to content

Commit

Permalink
[SHIBUI-922]
Browse files Browse the repository at this point in the history
First pass at rewriting tests with Mary, converting from JSON to SIDE.
There are many test failures and a couple are incomplete. This is a WIP.
  • Loading branch information
Bill Smith committed Dec 6, 2018
1 parent 2a52b89 commit 442bfad
Show file tree
Hide file tree
Showing 27 changed files with 10,633 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,16 @@ class SeleniumSIDETest extends Specification {
where:
name | file
'Create Dynamic HTTP Metadata Resolver' | '/dhmr.side'
'Metadata Source Happy Path Save' | '/MetadataSourceHappyPathSAVE.side'
'Metadata Provider Happy Path Save' | '/MetadataProviderHappyPathSAVE.side'
'Create Filter Entity ID' | '/CreateFilterEntityID.side'
'Create Filter REGEX' | '/CreateFilterREGEX.side'
'Create Filter Script' | '/CreateFilterScript.side'
'Create Metadata Source From XML' | '/CreateMetadataSourceFromXML.side'
'Create Metadata Source From Copy' | '/CreatemetaSourceFromCopy.side'
'Delete Entity ID Filter' | '/DeleteEntityIDFilter.side'
'Delete REGEX Filter' | '/DeleteREGEXFilter_Incomplete.side' // incomplete
'Create Metadata Source from URL' | '/CreateMetadataSourceFromURL.side'
'Delete Incomplete Source' | '/DeleteIncompleteSource_Incomplete.side' // incomplete
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import com.sebuilder.interpreter.Script
import com.sebuilder.interpreter.factory.ScriptFactory
import com.sebuilder.interpreter.factory.StepTypeFactory
import com.sebuilder.interpreter.factory.TestRunFactory
import spock.lang.Ignore
import spock.lang.Specification
import spock.lang.Unroll

class SeleniumTest extends Specification {
@Unroll
@Ignore
def "#name"() {
expect:
ScriptFactory scriptFactory = new ScriptFactory().with {
Expand All @@ -26,5 +28,6 @@ class SeleniumTest extends Specification {
where:
name | file
'Create metadata source from url' | '/CreateMetaDataSourceFromURL.json'
'Create filter entity ID' | '/CreateFilterEntityID.json'
}
}
Loading

0 comments on commit 442bfad

Please sign in to comment.