From 8142175e7557037e8c4ae1e41bf0075d38158c8c Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 29 Jul 2019 20:14:49 +0000
Subject: [PATCH] Fix automated tests (add check_process_delay to Nightwatch config)

---
 .travis.yml        |    2 +-
 nightwatch.conf.js |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 6186b3b..399c72f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,5 +16,5 @@
   - 'npm install nightwatch selenium-server chromedriver geckodriver'
 
 script:
-# - 'node_modules/.bin/nightwatch -e chrome-headless'
+  - 'node_modules/.bin/nightwatch -e chrome-headless'
   - 'node_modules/.bin/nightwatch -e firefox-headless'
diff --git a/nightwatch.conf.js b/nightwatch.conf.js
index 4fef425..695eba0 100644
--- a/nightwatch.conf.js
+++ b/nightwatch.conf.js
@@ -12,6 +12,7 @@
       'webdriver.chrome.driver': chromedriver.path,
       'webdriver.gecko.driver': geckodriver.path,
     },
+    check_process_delay: 1000,
   },
   test_settings: {
     'chrome': {

--
Gitblit v1.9.1