Skip to content

Commit

Permalink
SHIBUI-2264
Browse files Browse the repository at this point in the history
Added Charles's port fix from the @ignore'd method to the multi-test
method.
  • Loading branch information
Bill Smith committed Jun 27, 2022
1 parent e3830fd commit cea4dc1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ class SeleniumSIDETest extends Specification {
it.remoteUrl = 'http://selenium-hub:4444/wd/hub'
it.remoteBrowser = 'firefox'
}
if (System.properties.getProperty('selenium.port')) {
this.setRandomPort("${System.properties.getProperty('selenium.port')}" as int)
}
if (System.properties.getProperty('selenium.host')) {
it.baseurl = "http://${System.properties.getProperty('selenium.host')}:${this.randomPort}"
} else {
Expand Down Expand Up @@ -152,4 +155,4 @@ class SeleniumSIDETest extends Specification {
'SHIBUI-2116: Verify entity attribute bundle highlights' | '/SHIBUI-2116.side' // Note that this script WILL NOT PASS in the Selenium IDE due to ${driver} not being set (it is provided by this groovy script).

}
}
}

0 comments on commit cea4dc1

Please sign in to comment.