1:19:14 PM: `cat src/iframeResizer.js`" > "$PROJECT_PATH"/dist/iframeResizer.js
1:19:14 PM: cp: cannot stat '/opt/build/repo/node_modules/iframe-resizer/js/iframeResizer.min.js': No such file or directory
1:19:15 PM: > [email protected] setup-robots /opt/build/repo/node_modules/interactive-landscape
1:19:15 PM: > babel-node tools/sitemap && babel-node tools/addRobots
1:19:19 PM: > [email protected] stop-old-ci /opt/build/repo/node_modules/interactive-landscape
1:19:19 PM: > (kill -9 `ps ux | grep ciServer | grep -v grep | awk -F ' ' '{print $2}'` 2>/dev/null || true)
1:19:20 PM: > [email protected] start-ci /opt/build/repo/node_modules/interactive-landscape
1:19:20 PM: > (babel-node tools/ciServer &) && sleep 10
1:19:22 PM: running a dist server on http://localhost:4000 ...
1:19:22 PM: [Browsersync] Access URLs:
1:19:22 PM: -------------------------------------
1:19:22 PM: Local: http://localhost:4000
1:19:22 PM: External: http://10.5.115.227:4000
1:19:22 PM: -------------------------------------
1:19:22 PM: UI: http://localhost:4001
1:19:22 PM: UI External: http://localhost:4001
1:19:22 PM: -------------------------------------
1:19:22 PM: [Browsersync] Serving files from: /opt/build/repo/dist
1:19:22 PM: [Browsersync] Watching files...
1:19:31 PM: > [email protected] integration-test /opt/build/repo/node_modules/interactive-landscape
1:19:31 PM: > jest
1:19:37 PM: PASS specs/tools/actualTwitter.spec.js
1:20:52 PM: FAIL specs/main.spec.js (77.372s)
1:20:52 PM: β Console
1:20:52 PM: console.info specs/main.spec.js:69
1:20:52 PM: about to open a page http://localhost:4000/format=card-mode
1:20:52 PM: console.info specs/main.spec.js:71
1:20:52 PM: page is open
1:20:52 PM: console.info specs/main.spec.js:97
1:20:52 PM: about to open a main landscape page
1:20:52 PM: console.info specs/main.spec.js:41
1:20:52 PM: about to open a page http://localhost:4000
1:20:52 PM: console.info specs/main.spec.js:43
1:20:52 PM: page is open
1:20:52 PM: console.log specs/main.spec.js:138
1:20:52 PM: Checking we see CircleCI when filtering by organization CircleCI
1:20:52 PM: console.log specs/main.spec.js:142
1:20:52 PM: Checking we don't see CircleCI when filtering by organization CloudBees
1:20:52 PM: console.info specs/main.spec.js:69
1:20:52 PM: about to open a page http://localhost:4000/format=card-mode
1:20:52 PM: console.info specs/main.spec.js:71
1:20:52 PM: page is open
1:20:52 PM: console.info specs/main.spec.js:97
1:20:52 PM: about to open a main landscape page
1:20:52 PM: β Normal browser βΊ Main test βΊ I visit a main page and have all required elements
1:20:52 PM: TimeoutError: waiting for XPath "//h1[text() = 'CDF Landscape']" failed: timeout 30000ms exceeded
1:20:52 PM: at new WaitTask (node_modules/puppeteer/lib/DOMWorld.js:561:28)
1:20:52 PM: at DOMWorld._waitForSelectorOrXPath (node_modules/puppeteer/lib/DOMWorld.js:490:22)
1:20:52 PM: at DOMWorld.waitForXPath (node_modules/puppeteer/lib/DOMWorld.js:453:17)
1:20:52 PM: at Frame.waitForXPath (node_modules/puppeteer/lib/FrameManager.js:643:47)
1:20:52 PM: at Frame.<anonymous> (node_modules/puppeteer/lib/helper.js:112:23)
1:20:52 PM: at Page.waitForXPath (node_modules/puppeteer/lib/Page.js:1098:29)
1:20:52 PM: at Object.waitForXPath (specs/main.spec.js:73:18)
1:20:52 PM: β iPhone simulator βΊ Main test βΊ I visit a main page and have all required elements
1:20:52 PM: TimeoutError: waiting for XPath "//h1[text() = 'CDF Landscape']" failed: timeout 30000ms exceeded
1:20:52 PM: at new WaitTask (node_modules/puppeteer/lib/DOMWorld.js:561:28)
1:20:52 PM: at DOMWorld._waitForSelectorOrXPath (node_modules/puppeteer/lib/DOMWorld.js:490:22)
1:20:52 PM: at DOMWorld.waitForXPath (node_modules/puppeteer/lib/DOMWorld.js:453:17)
1:20:52 PM: at Frame.waitForXPath (node_modules/puppeteer/lib/FrameManager.js:643:47)
1:20:52 PM: at Frame.<anonymous> (node_modules/puppeteer/lib/helper.js:112:23)
1:20:52 PM: at Page.waitForXPath (node_modules/puppeteer/lib/Page.js:1098:29)
1:20:52 PM: at Object.waitForXPath (specs/main.spec.js:73:18)
1:20:52 PM: Test Suites: 1 failed, 1 passed, 2 total
1:20:52 PM: Tests: 2 failed, 12 passed, 14 total
1:20:52 PM: Snapshots: 0 total
1:20:52 PM: Time: 79.269s
1:20:52 PM: Ran all test suites.
1:20:53 PM: npm ERR! code ELIFECYCLE
1:20:53 PM: npm ERR! errno 1
1:20:53 PM: npm ERR!
1:20:53 PM: [email protected] integration-test: `jest`
1:20:53 PM: npm
1:20:53 PM: ERR! Exit status 1
1:20:53 PM: npm ERR!
1:20:53 PM: npm ERR!
1:20:53 PM: Failed at the [email protected] integration-test script.
1:20:53 PM: npm
1:20:53 PM: ERR! This is probably not a problem with npm. There is likely additional logging output above.
1:20:53 PM: npm
1:20:53 PM: ERR! A complete log of this run can be found in:
1:20:53 PM: npm ERR! /opt/buildhome/.npm/_logs/2019-09-23T20_20_53_092Z-debug.log
1:20:53 PM: > [email protected] stop-old-ci /opt/build/repo/node_modules/interactive-landscape
1:20:53 PM: > (kill -9 `ps ux | grep ciServer | grep -v grep | awk -F ' ' '{print $2}'` 2>/dev/null || true)
1:20:53 PM: npm
1:20:53 PM: ERR! code ELIFECYCLE
1:20:53 PM: npm ERR!
1:20:53 PM: errno 1
1:20:53 PM: npm ERR!