From f9bbbb2d70a7d73f001612b95cbc96c8ad7fd0a3 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Sun, 21 Jan 2018 22:50:36 +0200 Subject: [PATCH] chore: speed-up e2e test on apis.guru list --- tests/e2e/redoc.e2e.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/e2e/redoc.e2e.js b/tests/e2e/redoc.e2e.js index 53f995b7..73f08e53 100644 --- a/tests/e2e/redoc.e2e.js +++ b/tests/e2e/redoc.e2e.js @@ -110,11 +110,13 @@ if (process.env.JOB === 'e2e-guru') { //delete apisGuruList['pushpay.com']; // https://github.com/Rebilly/ReDoc/issues/30 delete apisGuruList['bbci.co.uk']; // too big delete apisGuruList['bbc.com']; // too big + delete apisGuruList['osisoft.com']; // too big + delete apisGuruList['magento.com']; // too big // run quick version of e2e test on all builds except releases if (process.env.TRAVIS && !process.env.TRAVIS_TAG) { - console.log('Running on short APIs guru list'); - apisGuruList = eachNth(apisGuruList, 10); + console.log('Running on a short APIs guru list'); + apisGuruList = eachNth(apisGuruList, 20); } else { console.log('Running on full APIs guru list') }