mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 13:20:43 +00:00
Don't wait forever in CIRCLECI!
This commit is contained in:
@ -120,7 +120,11 @@ public class QSeleniumLib
|
|||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
public void waitForever()
|
public void waitForever()
|
||||||
{
|
{
|
||||||
// todo - if env says we're in CIRCLECI, then... just do a hard fail (or just not wait forever?)
|
if(System.getenv("CIRCLECI") != null)
|
||||||
|
{
|
||||||
|
LOG.warn("A waitForever was found in CIRCLECI - so, we don't want to do that, so, returning immediately.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
LOG.warn("Going into a waitForever...");
|
LOG.warn("Going into a waitForever...");
|
||||||
new WebDriverWait(driver, Duration.ofHours(1))
|
new WebDriverWait(driver, Duration.ofHours(1))
|
||||||
|
Reference in New Issue
Block a user