From cea4dc1a0d8a03e0c2a539545914875bb336c33f Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Mon, 27 Jun 2022 18:28:46 -0400 Subject: [PATCH] SHIBUI-2264 Added Charles's port fix from the @ignore'd method to the multi-test method. --- .../tier/shibboleth/admin/ui/SeleniumSIDETest.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/src/integration/groovy/edu/internet2/tier/shibboleth/admin/ui/SeleniumSIDETest.groovy b/backend/src/integration/groovy/edu/internet2/tier/shibboleth/admin/ui/SeleniumSIDETest.groovy index e1adfcc31..a9c2666b8 100644 --- a/backend/src/integration/groovy/edu/internet2/tier/shibboleth/admin/ui/SeleniumSIDETest.groovy +++ b/backend/src/integration/groovy/edu/internet2/tier/shibboleth/admin/ui/SeleniumSIDETest.groovy @@ -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 { @@ -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). } -} \ No newline at end of file +}