From 287c6df29fb56ef180594d4f7182ebe1b034e5b5 Mon Sep 17 00:00:00 2001 From: Theresa Gresch Date: Tue, 2 Jul 2019 22:05:48 +0200 Subject: [PATCH] Add selector timeout (shorter than the default one) to test commands --- frontend/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index a7b5aef29..e7f73f8d5 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,8 +10,8 @@ "lint": "eslint --cache src/ *.js", "fmt": "eslint --cache --fix src/ *.js", "test": "karma start", - "test-chromium": "testcafe \"chromium:headless --disable-dev-shm-usage\" -S -s tests/screenshots tests/acceptance", - "test-firefox": "testcafe firefox:headless -S -s tests/screenshots tests/acceptance" + "test-chromium": "testcafe \"chromium:headless --disable-dev-shm-usage\" --selector-timeout 5000 -S -s tests/screenshots tests/acceptance", + "test-firefox": "testcafe firefox:headless --selector-timeout 5000 -S -s tests/screenshots tests/acceptance" }, "babel": { "presets": [