-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added Selenium IDE file support
- Loading branch information
Showing
4 changed files
with
1,214 additions
and
0 deletions.
There are no files selected for viewing
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
26 changes: 26 additions & 0 deletions
26
...end/src/integration/groovy/edu/internet2/tier/shibboleth/admin/ui/SeleniumSIDETest.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,26 @@ | ||
| package edu.internet2.tier.shibboleth.admin.ui | ||
|
|
||
| import jp.vmi.selenium.selenese.Main | ||
| import jp.vmi.selenium.selenese.Runner | ||
| import jp.vmi.selenium.selenese.config.DefaultConfig | ||
| import spock.lang.Specification | ||
| import spock.lang.Unroll | ||
|
|
||
| class SeleniumSIDETest extends Specification { | ||
| @Unroll | ||
| def "#name"() { | ||
| expect: | ||
| def main = new Main() | ||
| def config = new DefaultConfig([] as String[]) | ||
| def runner = new Runner() | ||
| main.setupRunner(runner, config, [] as String[]) | ||
|
|
||
| def result = runner.run(file, this.class.getResourceAsStream(file)) | ||
| runner.finish() | ||
| assert result.level.exitCode == 0 | ||
|
|
||
| where: | ||
| name | file | ||
| 'Create Dynamic HTTP Metadata Resolver' | '/dhmr.side' | ||
| } | ||
| } |
Oops, something went wrong.