Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Cypress fails to run via Gulp task #170

Closed
dotherightthing opened this issue Sep 17, 2019 · 3 comments
Closed

Cypress fails to run via Gulp task #170

dotherightthing opened this issue Sep 17, 2019 · 3 comments
Assignees
Labels

Comments

@dotherightthing
Copy link
Owner

dotherightthing commented Sep 17, 2019

Runs locally via

./node_modules/.bin/cypress run --record --key xxx  

Fails locally & on Travis via

yarn run tests

Local:

[23:23:02] ========================================
[23:23:02] QA step 1/2:
[23:23:02] => Tests: Cypress
[23:23:02] ----------------------------------------
[23:23:02]  
[23:27:09] 'cypressIo' errored after 4.12 min
[23:27:09] Error: Command failed: ./node_modules/.bin/cypress run --record --key THEKEY

    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:198:13)
    at ChildProcess.EventEmitter.emit (domain.js:466:23)
    at maybeClose (internal/child_process.js:982:16)
    at Socket.stream.socket.on (internal/child_process.js:389:11)
    at Socket.emit (events.js:198:13)
    at Socket.EventEmitter.emit (domain.js:466:23)
    at Pipe._handle.close (net.js:606:12)
[23:27:09] 'test' errored after 4.12 min
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[wpdtrt-gallery]  

Travis:

[11:34:47] ========================================
[11:34:47] QA step 1/2:
[11:34:47] => Tests: Cypress
[11:34:47] ----------------------------------------
[11:34:47]  
[11:34:48] 'cypressIo' errored after 909 ms
[11:34:48] Error: Command failed: ./node_modules/.bin/cypress run --record --key [secure]
    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:198:13)
    at ChildProcess.EventEmitter.emit (domain.js:466:23)
    at maybeClose (internal/child_process.js:982:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
[11:34:48] 'default' errored after 19 s
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The command "yarn run build" exited with 1.
@dotherightthing
Copy link
Owner Author

Fixed Cypress path as it is only comes packaged with the boilerplate.

Build now fails due to failing Cypress test. See #73

@dotherightthing
Copy link
Owner Author

Cypress now failing on Travis only (wpdtrt-gallery)

@dotherightthing
Copy link
Owner Author

Moved to dotherightthing/wpdtrt-gallery#74

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant