-
Notifications
You must be signed in to change notification settings - Fork 0
(Manually) released build still failing on Travis (Cypress) #74
Comments
After deploying the plugin and re-running the failed Travis build, the Travis build still fails. Re-running the build on local.. |
Build was failing due to images being slightly narrower on live, for some reason. Build now runs ok on local, but still fails on live. Waiting for Cypress to finish running test so can see the video (known Cypress bug where dashboard doesn't update immediately) |
Exposed errors by switching to
Error is caused by a missing dependency: |
* development: (34 commits) Update wpdtrt-plugin-boilerplate, from 1.6.14 to 1.6.17 Add cypress-plugin-retries (workaround for #80), add execa Add missing Cypress dependency libgconf-2.so.4 (fixes #74) Update wpdtrt-plugin-boilerplate, from 1.6.12 to 1.6.14 Update dependencies Update wpdtrt-plugin-boilerplate, from 1.6.12 to 1.6.14 Fix Bash conditionals Don't install Mono on CI on dev branch (dotherightthing/wpdtrt-plugin-boilerplate#173) Lint fixes Exclude PHPDoc sniffs TODO Ignore backup files Reinstate live website URL for Cypress tests Reinstate failing test (see #67) Fix variable name Ignore VS Code plugin configuration files (e.g. for XDebug launch) Use correct variable types (fixes #77) Revert to original filename for PHPUnit XML config file Ignore test images Use existing syntax to disable admin test ...
This appears to be due to a mismatch between http://dontbelievethehype2.dan (local) and https://dontbelievethehype.co.nz/ (live), because the
beforeEach()
#itchy-feet .wpdtrt-gallery-viewer
hook only exists on local. This is to be expected given that the tests will only pass once the new code has been deployed..This reinforces the need for #72, or a staging site.
As it stands, I'll need to:
release.zip
referenced bywpdtrt-dbth
(once updated) won't be updatedcypress.json
baseUrl
tohttp://dontbelievethehype2.dan
on local devexport TRAVIS="true"
to fake the CIyarn run build
release.zip
plugin to the live siterelease.zip
The text was updated successfully, but these errors were encountered: