mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Don't wait forever in CIRCLECI!
This commit is contained in:
@ -120,7 +120,11 @@ public class QSeleniumLib
|
||||
*******************************************************************************/
|
||||
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...");
|
||||
new WebDriverWait(driver, Duration.ofHours(1))
|
||||
|
Reference in New Issue
Block a user